summary refs log tree commit diff
path: root/pkgs/top-level
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2019-02-14 11:07:19 +0100
committerFrederik Rietdijk <fridh@fridh.nl>2019-02-17 14:40:48 +0100
commitb3febfb8505e4d1c990c85b41b288b4cc0feba55 (patch)
treeb4242cbbe05b6f55a3d49b6063205e3d1a1a723c /pkgs/top-level
parentb4acd9772975d549f491d48debb679cf4ec78133 (diff)
downloadnixpkgs-b3febfb8505e4d1c990c85b41b288b4cc0feba55.tar
nixpkgs-b3febfb8505e4d1c990c85b41b288b4cc0feba55.tar.gz
nixpkgs-b3febfb8505e4d1c990c85b41b288b4cc0feba55.tar.bz2
nixpkgs-b3febfb8505e4d1c990c85b41b288b4cc0feba55.tar.lz
nixpkgs-b3febfb8505e4d1c990c85b41b288b4cc0feba55.tar.xz
nixpkgs-b3febfb8505e4d1c990c85b41b288b4cc0feba55.tar.zst
nixpkgs-b3febfb8505e4d1c990c85b41b288b4cc0feba55.zip
python.pkgs.pytest_3: keep older version
because not all test suites are compatible with 4 yet.
Diffstat (limited to 'pkgs/top-level')
-rw-r--r--pkgs/top-level/python-packages.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index e00567e8020..30eba87155e 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -1500,6 +1500,12 @@ in {
     hypothesis = self.hypothesis.override { doCheck = false; };
   };
 
+  # Keep 3 because many test suites are not yet compatible with Pytest 4.
+  pytest_3 = callPackage ../development/python-modules/pytest/3.10.nix {
+    # hypothesis tests require pytest that causes dependency cycle
+    hypothesis = self.hypothesis.override { doCheck = false; };
+  };
+
   pytest-httpbin = callPackage ../development/python-modules/pytest-httpbin { };
 
   pytest-asyncio = callPackage ../development/python-modules/pytest-asyncio { };