Skip to content

Commit

Permalink
python3Packages.pytest: relax pluggy constraints
Browse files Browse the repository at this point in the history
Apparently possible without further changes:
pytest-dev/pytest#9040
  • Loading branch information
mweinelt committed Sep 1, 2021
1 parent 28a7e0c commit 6593133
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkgs/development/python-modules/pytest/default.nix
Expand Up @@ -27,6 +27,11 @@ buildPythonPackage rec {
sha256 = "50bcad0a0b9c5a72c8e4e7c9855a3ad496ca6a881a3641b4260605450772c54b";
};

postPatch = ''
substituteInPlace setup.cfg \
--replace "pluggy>=0.12,<1.0.0a1" "pluggy>=0.23,<2.0"
'';

nativeBuildInputs = [ setuptools-scm ];

propagatedBuildInputs = [
Expand Down

0 comments on commit 6593133

Please sign in to comment.