python311Packages.entry-points-txt: migate to pytest-cov-stub

This commit is contained in:
Peder Bergebakken Sundt
2024-08-06 23:36:26 +02:00
parent 205a59a9df
commit 2246da96f4
@@ -3,6 +3,7 @@
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
pytest-cov-stub,
pythonOlder,
setuptools,
}:
@@ -23,12 +24,10 @@ buildPythonPackage rec {
nativeBuildInputs = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
postPatch = ''
substituteInPlace tox.ini \
--replace " --cov=entry_points_txt --no-cov-on-fail" ""
'';
nativeCheckInputs = [
pytestCheckHook
pytest-cov-stub
];
pythonImportsCheck = [ "entry_points_txt" ];