mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-21 11:34:13 +00:00
pythonModules.werkzeug: Forward-port PyPy fix.
Included a comment for the upstream commit where this was fixed
recently:
1cfdcf9824
This commit is contained in:
parent
3671657bfb
commit
9ca78d4a43
@ -14,6 +14,13 @@ buildPythonPackage rec {
|
||||
propagatedBuildInputs = [ itsdangerous ];
|
||||
checkInputs = [ pytest requests hypothesis ];
|
||||
|
||||
# Hi! New version of Werkzeug? Please double-check that this commit is
|
||||
# inclucded, and then remove the following patch.
|
||||
# https://github.com/pallets/werkzeug/commit/1cfdcf9824cb20e362979e8f7734012926492165
|
||||
patchPhase = ''
|
||||
substituteInPlace "tests/test_serving.py" --replace "'python'" "sys.executable"
|
||||
'';
|
||||
|
||||
checkPhase = ''
|
||||
pytest ${stdenv.lib.optionalString stdenv.isDarwin "-k 'not test_get_machine_id'"}
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user