python312Packages.pymodbus: migrate to pytest-cov-stub

This commit is contained in:
Fabian Affolter
2025-01-06 12:56:47 +01:00
parent 0fd3829ae5
commit 28c826e18d
@@ -8,6 +8,7 @@
pygments,
pyserial,
pytest-asyncio,
pytest-cov-stub,
pytest-xdist,
pytestCheckHook,
pythonOlder,
@@ -32,11 +33,6 @@ buildPythonPackage rec {
hash = "sha256-WuQddane7NPqGo6EHBPlFAZDmkcksDdWmHKdVSsSf+o=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail "--cov-report html " ""
'';
build-system = [ setuptools ];
optional-dependencies = {
@@ -52,6 +48,7 @@ buildPythonPackage rec {
nativeCheckInputs = [
pytest-asyncio
pytest-cov-stub
pytest-xdist
pytestCheckHook
redis