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