From 99be8cc32d79425550775ead29bd4f1162f25061 Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Sat, 9 Apr 2022 17:30:00 +0100 Subject: [PATCH] python3Packages.gremlinpython: 3.5.1 -> 3.6.0 --- .../python-modules/gremlinpython/default.nix | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/gremlinpython/default.nix b/pkgs/development/python-modules/gremlinpython/default.nix index c9ab433d9816..3f7ca1011b52 100644 --- a/pkgs/development/python-modules/gremlinpython/default.nix +++ b/pkgs/development/python-modules/gremlinpython/default.nix @@ -15,25 +15,18 @@ buildPythonPackage rec { pname = "gremlinpython"; - version = "3.5.1"; + version = "3.6.0"; # pypi tarball doesn't include tests src = fetchFromGitHub { owner = "apache"; repo = "tinkerpop"; rev = version; - sha256 = "1vlhxq0f2hanhkv6f17dxgbwr7gnbnh1kkkq0lxcwkbm2l0rdrlr"; + sha256 = "0gyf3a0zbh1grc1vr9zzpqm5yfcjvn0f1akw9l1arq36isqwvydn"; }; sourceRoot = "source/gremlin-python/src/main/python"; postPatch = '' substituteInPlace setup.py \ - --replace 'aenum>=1.4.5,<3.0.0' 'aenum' \ - --replace 'aiohttp>=3.7.0,<=3.7.4' 'aiohttp' \ - --replace 'PyHamcrest>=1.9.0,<2.0.0' 'PyHamcrest' \ - --replace 'radish-bdd==0.8.6' 'radish-bdd' \ - --replace 'mock>=3.0.5,<4.0.0' 'mock' \ - --replace 'pytest>=4.6.4,<5.0.0' 'pytest' \ - --replace 'importlib-metadata<3.0.0' 'importlib-metadata' \ --replace 'pytest-runner==5.2' ' ' ''; @@ -59,6 +52,7 @@ buildPythonPackage rec { # disable custom pytest report generation preCheck = '' substituteInPlace setup.cfg --replace 'addopts' '#addopts' + export TEST_TRANSACTIONS='false' ''; # many tests expect a running tinkerpop server