pants: fix build (#46545)
See https://hydra.nixos.org/build/80727495 `pants' works with requests==2.19 to build successfully and `nixpkgs' currently uses `requests==2.19.1`. Patching the version constraint in `setup.py' accordingly fixes the problem. Addresses #45960
This commit is contained in:
parent
53c5d4f8dd
commit
46d1166b80
1 changed files with 1 additions and 0 deletions
|
@ -17,6 +17,7 @@ in buildPythonApplication rec {
|
|||
|
||||
prePatch = ''
|
||||
sed -E -i "s/'([[:alnum:].-]+)[=><][[:digit:]=><.,]*'/'\\1'/g" setup.py
|
||||
substituteInPlace setup.py --replace "requests[security]<2.19,>=2.5.0" "requests[security]<2.20,>=2.5.0"
|
||||
'';
|
||||
|
||||
# Unnecessary, and causes some really weird behavior around .class files, which
|
||||
|
|
Loading…
Reference in a new issue