From e9e3f2e7362aba3ef709173d1777f0b893fc0ebf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Forsman?= Date: Sat, 17 Jun 2023 20:52:12 +0200 Subject: [PATCH] python3.pkgs.jenkins-job-builder: fix build by relaxing setuptools requirement Now that python-jenkins builds (thanks to the parent commit), this change allows jenkins-job-builder to build again. --- .../python-modules/jenkins-job-builder/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/jenkins-job-builder/default.nix b/pkgs/development/python-modules/jenkins-job-builder/default.nix index 5e5cf339b74d..c926a8fffeb4 100644 --- a/pkgs/development/python-modules/jenkins-job-builder/default.nix +++ b/pkgs/development/python-modules/jenkins-job-builder/default.nix @@ -20,6 +20,10 @@ buildPythonPackage rec { # relax version constraint, https://storyboard.openstack.org/#!/story/2009723 substituteInPlace requirements.txt --replace 'PyYAML>=3.10.0,<6' 'PyYAML>=3.10.0' + # Allow building with setuptools from nixpkgs. + # Related: https://github.com/NixOS/nixpkgs/issues/238226. + substituteInPlace requirements.txt --replace 'setuptools<=65.7.0' 'setuptools' + export HOME=$TMPDIR '';