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.
This commit is contained in:
Bjørn Forsman 2023-06-17 20:52:12 +02:00
parent e3d764a4e2
commit e9e3f2e736

View file

@ -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
'';