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 Aug 30, 2021
1 parent 2a29cd3 commit 3221d4b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkgs/development/python-modules/pytest/default.nix
Original file line number Diff line number Diff line change
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 3221d4b

Please sign in to comment.