From 05df847901c6e7fc221602c6ce177ef50ca33143 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Mon, 2 Jun 2025 05:56:33 +0200 Subject: [PATCH] python313Packages.pastedeploy: migrate to pytest-cov-stub --- .../python-modules/pastedeploy/default.nix | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/pastedeploy/default.nix b/pkgs/development/python-modules/pastedeploy/default.nix index 945a07d525dd..722ff6f8b4be 100644 --- a/pkgs/development/python-modules/pastedeploy/default.nix +++ b/pkgs/development/python-modules/pastedeploy/default.nix @@ -3,6 +3,7 @@ buildPythonPackage, fetchFromGitHub, pytestCheckHook, + pytest-cov-stub, pythonOlder, setuptools, }: @@ -21,14 +22,12 @@ buildPythonPackage rec { hash = "sha256-yR7UxAeF0fQrbU7tl29GpPeEAc4YcxHdNQWMD67pP3g="; }; - postPatch = '' - substituteInPlace pytest.ini \ - --replace-fail " --cov" "" - ''; - build-system = [ setuptools ]; - nativeCheckInputs = [ pytestCheckHook ]; + nativeCheckInputs = [ + pytestCheckHook + pytest-cov-stub + ]; pythonImportsCheck = [ "paste.deploy" ];