From c2a77dd958235cf508d63e668f295f145c4fd0ed Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Tue, 6 Aug 2024 23:36:27 +0200 Subject: [PATCH] python311Packages.proxy-py: migate to pytest-cov-stub --- pkgs/development/python-modules/proxy-py/default.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/proxy-py/default.nix b/pkgs/development/python-modules/proxy-py/default.nix index aa940d50ed01..a2ef3d276cbc 100644 --- a/pkgs/development/python-modules/proxy-py/default.nix +++ b/pkgs/development/python-modules/proxy-py/default.nix @@ -11,6 +11,7 @@ openssl, paramiko, pytest-asyncio, + pytest-cov-stub, pytest-mock, pytest-xdist, pytestCheckHook, @@ -37,10 +38,6 @@ buildPythonPackage rec { postPatch = '' substituteInPlace Makefile \ --replace "SHELL := /bin/bash" "SHELL := ${bash}/bin/bash" - substituteInPlace pytest.ini \ - --replace-fail "-p pytest_cov" "" \ - --replace-fail "--no-cov-on-fail" "" - sed -i "/--cov/d" pytest.ini ''; build-system = [ setuptools-scm ]; @@ -58,6 +55,7 @@ buildPythonPackage rec { hyperframe openssl pytest-asyncio + pytest-cov-stub pytest-mock pytest-xdist pytestCheckHook