diff options
author | Chris Ostrouchov <chris.ostrouchov@gmail.com> | 2019-07-16 17:32:50 -0400 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2019-07-20 09:24:37 +0200 |
commit | d3915617681e9d1674992cb28dd9c4beaaf34398 (patch) | |
tree | e0f242522fe97f6dd1a92e7ee906f25ca4115554 /pkgs/development/python-modules | |
parent | 1ad86f9569663e111b819d8eaba0f633d8a561b5 (diff) | |
download | nixlib-d3915617681e9d1674992cb28dd9c4beaaf34398.tar nixlib-d3915617681e9d1674992cb28dd9c4beaaf34398.tar.gz nixlib-d3915617681e9d1674992cb28dd9c4beaaf34398.tar.bz2 nixlib-d3915617681e9d1674992cb28dd9c4beaaf34398.tar.lz nixlib-d3915617681e9d1674992cb28dd9c4beaaf34398.tar.xz nixlib-d3915617681e9d1674992cb28dd9c4beaaf34398.tar.zst nixlib-d3915617681e9d1674992cb28dd9c4beaaf34398.zip |
pythonPackages.pytest-annotate: refactor fix broken build relax constraint
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r-- | pkgs/development/python-modules/pytest-annotate/default.nix | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/pytest-annotate/default.nix b/pkgs/development/python-modules/pytest-annotate/default.nix index 581de7beeebc..86f344b0e949 100644 --- a/pkgs/development/python-modules/pytest-annotate/default.nix +++ b/pkgs/development/python-modules/pytest-annotate/default.nix @@ -14,9 +14,17 @@ buildPythonPackage rec { sha256 = "03e4dece2d1aa91666034f1b2e8bb7a7b8c6be11baf3cf2929b26eea5c6e86f3"; }; - propagatedBuildInputs = [ pyannotate pytest ]; + propagatedBuildInputs = [ + pyannotate + pytest + ]; - # not testing for a testing module... + postConfigure = '' + substituteInPlace setup.py \ + --replace "pytest>=3.2.0,<4.0.0" "pytest" + ''; + + # no testing in a testing module... doCheck = false; meta = with stdenv.lib; { |