Merge pull request #231730 from fabaff/gremlinpython-bump
python311Packages.gremlinpython: 3.6.1 -> 3.6.3
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
, isodate
|
||||
, nest-asyncio
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, mock
|
||||
, pyhamcrest
|
||||
, radish-bdd
|
||||
@@ -14,14 +15,16 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "gremlinpython";
|
||||
version = "3.6.1";
|
||||
version = "3.6.3";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
# pypi tarball doesn't include tests
|
||||
src = fetchFromGitHub {
|
||||
owner = "apache";
|
||||
repo = "tinkerpop";
|
||||
rev = version;
|
||||
hash = "sha256-FMA9hJdq7gYkDtQO04Bwpjq2Q7nXGuN9wrBD4b9GgwY=";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-CmVWaRebJaZHJGzhaBdYXPF3BZ8+Cvc5P/KOpsG+dX4=";
|
||||
};
|
||||
|
||||
sourceRoot = "source/gremlin-python/src/main/python";
|
||||
@@ -30,7 +33,6 @@ buildPythonPackage rec {
|
||||
sed -i '/pytest-runner/d' setup.py
|
||||
|
||||
substituteInPlace setup.py \
|
||||
--replace 'aiohttp>=3.8.0,<=3.8.1' 'aiohttp' \
|
||||
--replace 'importlib-metadata<5.0.0' 'importlib-metadata' \
|
||||
--replace "os.getenv('VERSION', '?').replace('-SNAPSHOT', '.dev-%d' % timestamp)" '"${version}"'
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user