python3Packages.openevsewifi: migrate to pytest-cov-stub

This commit is contained in:
Peder Bergebakken Sundt
2026-04-14 20:35:37 +02:00
parent 6e49b829d5
commit 4304633ac0
@@ -6,6 +6,7 @@
fetchpatch,
poetry-core,
pytestCheckHook,
pytest-cov-stub,
requests,
requests-mock,
}:
@@ -32,6 +33,7 @@ buildPythonPackage rec {
nativeCheckInputs = [
requests-mock
pytestCheckHook
pytest-cov-stub
];
patches = [
@@ -43,11 +45,6 @@ buildPythonPackage rec {
})
];
postPatch = ''
substituteInPlace pyproject.toml \
--replace 'pytest-cov = "^2.8.1"' ""
'';
pythonImportsCheck = [ "openevsewifi" ];
meta = {