python312Packages.twentemilieu: migrate to pytest-cov-stub

This commit is contained in:
Fabian Affolter
2025-01-11 15:02:30 +01:00
parent 34310888b2
commit 88334fc9e8
@@ -1,14 +1,15 @@
{
lib,
buildPythonPackage,
pythonOlder,
fetchFromGitHub,
aiohttp,
yarl,
aresponses,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
pytest-asyncio,
pytest-cov-stub,
pytestCheckHook,
pythonOlder,
yarl,
}:
buildPythonPackage rec {
@@ -26,8 +27,8 @@ buildPythonPackage rec {
};
postPatch = ''
# Upstream is creating GitHub releases without version
substituteInPlace pyproject.toml \
--replace "--cov" "" \
--replace '"0.0.0"' '"${version}"'
'';
@@ -41,6 +42,7 @@ buildPythonPackage rec {
nativeCheckInputs = [
aresponses
pytest-asyncio
pytest-cov-stub
pytestCheckHook
];