From 6b052fee2f14f196cea7cfa0ffbf66d857720bf1 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Fri, 11 Mar 2022 21:13:57 +0100 Subject: [PATCH] python3Packages.pytest-cid: relax pytest constraint --- pkgs/development/python-modules/pytest-cid/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/pytest-cid/default.nix b/pkgs/development/python-modules/pytest-cid/default.nix index c1c918c4d60c..767d300f7dd9 100644 --- a/pkgs/development/python-modules/pytest-cid/default.nix +++ b/pkgs/development/python-modules/pytest-cid/default.nix @@ -20,6 +20,11 @@ buildPythonPackage rec { sha256 = "sha256-H2RtMGYWukowTTfqZSx+hikxzkqw1v5bA4AfZfiVl8U="; }; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace "pytest >= 5.0, < 7.0" "pytest >= 5.0" + ''; + propagatedBuildInputs = [ py-cid ];