From 1a2816a200d17e7a43a4c98916f71f63428baaf6 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 26 Aug 2021 23:07:15 +0200 Subject: [PATCH] python3Packages.pytest: relax pluggy constraints Apparently possible without further changes: https://github.com/pytest-dev/pytest/pull/9040 --- pkgs/development/python-modules/pytest/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/pytest/default.nix b/pkgs/development/python-modules/pytest/default.nix index 19289426d71aac..d5b1d14937a082 100644 --- a/pkgs/development/python-modules/pytest/default.nix +++ b/pkgs/development/python-modules/pytest/default.nix @@ -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 = [