python3Packages.zodb: relax setuptools version requirement

This unblocks vulnix on staging-next.
`pythonRelaxDeps` does not seem to work here for
some reason, so use `substituteInPlace` instead.
`setuptools` is a pure build dependency, and the build succeeds.
This commit is contained in:
Grimmauld
2026-07-07 19:24:16 +02:00
parent 868bedc5ba
commit 7a89c7c121
@@ -38,6 +38,9 @@ buildPythonPackage (finalAttrs: {
postPatch = ''
# remove broken test
rm -vf src/ZODB/tests/testdocumentation.py
# remove setuptools version check
substituteInPlace pyproject.toml \
--replace-fail "setuptools >= 78.1.1,< 81" "setuptools"
''
+ lib.optionalString (pythonAtLeast "3.14") ''
# remove broken under python 3.14