about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pytest
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2021-08-27 01:28:43 +0200
committerMartin Weinelt <hexa@darmstadt.ccc.de>2021-09-05 15:00:10 +0200
commit26f55ce2b756bfb6a8c3c53bb984e5ff9ea64ee4 (patch)
treedf2a5c899467cf71370e4db01608dafccfccc827 /pkgs/development/python-modules/pytest
parent2a7260989f343573cc6c29815d4ed6cb6fe6d195 (diff)
python3Packages.pytest_4: relax pluggy constraints
Following 7e27631e46c8121e5b906083e1de74ec53de2730
Diffstat (limited to 'pkgs/development/python-modules/pytest')
-rw-r--r--pkgs/development/python-modules/pytest/4.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pytest/4.nix b/pkgs/development/python-modules/pytest/4.nix
index c764b55d1f104..fd6d3507afb85 100644
--- a/pkgs/development/python-modules/pytest/4.nix
+++ b/pkgs/development/python-modules/pytest/4.nix
@@ -11,6 +11,11 @@ buildPythonPackage rec {
     sha256 = "50fa82392f2120cc3ec2ca0a75ee615be4c479e66669789771f1758332be4353";
   };
 
+  postPatch = ''
+    substituteInPlace setup.py \
+      --replace "pluggy>=0.12,<1.0" "pluggy>=0.12,<2.0"
+  '';
+
   checkInputs = [ hypothesis mock ];
   buildInputs = [ setuptools-scm ];
   propagatedBuildInputs = [ attrs py setuptools six pluggy more-itertools atomicwrites wcwidth packaging ]