From 63547d821fae7ea23fd17e496fa2720fc2d9f535 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Fri, 21 Feb 2025 19:20:17 +0100 Subject: [PATCH] python313Packages.cherrypy: migrate to pytest-cov-stub --- pkgs/development/python-modules/cherrypy/default.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/cherrypy/default.nix b/pkgs/development/python-modules/cherrypy/default.nix index 7f3bd134f29f..fbef13be43ad 100644 --- a/pkgs/development/python-modules/cherrypy/default.nix +++ b/pkgs/development/python-modules/cherrypy/default.nix @@ -10,6 +10,7 @@ path, portend, pyopenssl, + pytest-cov-stub, pytest-forked, pytest-services, pytestCheckHook, @@ -38,10 +39,7 @@ buildPythonPackage rec { postPatch = '' # Disable doctest plugin because times out substituteInPlace pytest.ini \ - --replace-fail "--doctest-modules" "-vvv" \ - --replace-fail "-p pytest_cov" "" \ - --replace-fail "--no-cov-on-fail" "" - sed -i "/--cov/d" pytest.ini + --replace-fail "--doctest-modules" "-vvv" ''; build-system = [ setuptools-scm ]; @@ -57,6 +55,7 @@ buildPythonPackage rec { nativeCheckInputs = [ objgraph path + pytest-cov-stub pytest-forked pytest-services pytestCheckHook