python313Packages.sure: migrate to pytest-cov-stub

This commit is contained in:
Peder Bergebakken Sundt 2025-06-02 05:56:43 +02:00
parent d294fbfd67
commit 6d7a904a13

View File

@ -4,6 +4,7 @@
fetchPypi, fetchPypi,
setuptools, setuptools,
pytestCheckHook, pytestCheckHook,
pytest-cov-stub,
mock, mock,
six, six,
isPyPy, isPyPy,
@ -21,8 +22,7 @@ buildPythonPackage rec {
postPatch = '' postPatch = ''
substituteInPlace setup.cfg \ substituteInPlace setup.cfg \
--replace "rednose = 1" "" \ --replace "rednose = 1" ""
--replace-fail "--cov=sure" ""
''; '';
build-system = [ setuptools ]; build-system = [ setuptools ];
@ -34,6 +34,7 @@ buildPythonPackage rec {
nativeCheckInputs = [ nativeCheckInputs = [
pytestCheckHook pytestCheckHook
pytest-cov-stub
mock mock
]; ];