python313Packages.warlock: migrate to pytest-cov-stub

This commit is contained in:
Peder Bergebakken Sundt 2025-06-02 05:56:45 +02:00
parent 7c68bf3169
commit 5e3906a892

View File

@ -7,6 +7,7 @@
jsonpatch,
jsonschema,
pytestCheckHook,
pytest-cov-stub,
}:
buildPythonPackage rec {
@ -23,10 +24,6 @@ buildPythonPackage rec {
hash = "sha256-HOCLzFYmOL/tCXT+NO/tCZuVXVowNEPP3g33ZYg4+6Q=";
};
postPatch = ''
sed -i '/--cov/d' pytest.ini
'';
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [
@ -34,7 +31,10 @@ buildPythonPackage rec {
jsonschema
];
nativeCheckInputs = [ pytestCheckHook ];
nativeCheckInputs = [
pytestCheckHook
pytest-cov-stub
];
disabledTests = [
# https://github.com/bcwaldon/warlock/issues/64