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