From 7a89c7c121a499e4db3946eb15d876b38f31a41b Mon Sep 17 00:00:00 2001 From: Grimmauld Date: Tue, 7 Jul 2026 19:24:16 +0200 Subject: [PATCH] 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. --- pkgs/development/python-modules/zodb/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/python-modules/zodb/default.nix b/pkgs/development/python-modules/zodb/default.nix index a5057f5b0245..a35d8ed7f009 100644 --- a/pkgs/development/python-modules/zodb/default.nix +++ b/pkgs/development/python-modules/zodb/default.nix @@ -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