about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pytest
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2021-08-27 03:33:18 +0200
committerMartin Weinelt <hexa@darmstadt.ccc.de>2021-09-01 21:23:19 +0200
commite0ef8da1283fa551fb6fce76aff0f8cbc47df3bb (patch)
tree548a97af0839139a62333a61c86f4133231c1e01 /pkgs/development/python-modules/pytest
parent9409588dd6517626420ada379b4e29550974891b (diff)
python3Packages.pytest_5: relax pluggy constraints
Diffstat (limited to 'pkgs/development/python-modules/pytest')
-rw-r--r--pkgs/development/python-modules/pytest/5.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pytest/5.nix b/pkgs/development/python-modules/pytest/5.nix
index b3e69578d7eb9..b38c1a759fe37 100644
--- a/pkgs/development/python-modules/pytest/5.nix
+++ b/pkgs/development/python-modules/pytest/5.nix
@@ -30,6 +30,11 @@ buildPythonPackage rec {
     sha256 = "1n67lk8iwlsmfdm8663k8l7isllg1xd3n9p1yla7885szhdk6ybr";
   };
 
+  postPatch = ''
+    substituteInPlace setup.py \
+      --replace "pluggy>=0.12,<1.0" "pluggy>=0.12,<2.0"
+  '';
+
   checkInputs = [ hypothesis pygments ];
   nativeBuildInputs = [ setuptools-scm ];
   propagatedBuildInputs = [