Merge pull request #300988 from fabaff/neo4j-bump

python312Packages.neo4j: 5.18.0 -> 5.19.0
This commit is contained in:
Fabian Affolter 2024-04-03 09:07:36 +02:00 committed by GitHub
commit d4f37b2f31
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -12,7 +12,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "neo4j"; pname = "neo4j";
version = "5.18.0"; version = "5.19.0";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -21,22 +21,22 @@ buildPythonPackage rec {
owner = "neo4j"; owner = "neo4j";
repo = "neo4j-python-driver"; repo = "neo4j-python-driver";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-rp0N2k23WZ86hqqz4ByW5gdyU2eYLVppyEJEdY/Yk8w="; hash = "sha256-bI6LIzh2+Kf6IIWEt1vT0E821lAPy/Nj2hkeAnRfV4M=";
}; };
postPatch = '' postPatch = ''
# The dynamic versioning adds a postfix (.dev0) to the version # The dynamic versioning adds a postfix (.dev0) to the version
substituteInPlace pyproject.toml \ substituteInPlace pyproject.toml \
--replace '"tomlkit ~= 0.11.6"' '"tomlkit >= 0.11.6"' \ --replace-fail '"tomlkit ~= 0.11.6"' '"tomlkit >= 0.11.6"' \
--replace 'dynamic = ["version", "readme"]' 'dynamic = ["readme"]' \ --replace-fail 'dynamic = ["version", "readme"]' 'dynamic = ["readme"]' \
--replace '#readme = "README.rst"' 'version = "${version}"' --replace-fail '#readme = "README.rst"' 'version = "${version}"'
''; '';
nativeBuildInputs = [ build-system = [
setuptools setuptools
]; ];
propagatedBuildInputs = [ dependencies = [
pytz pytz
tomlkit tomlkit
]; ];