python313Packages.pysnooz: migrate to pytest-cov-stub

This commit is contained in:
Peder Bergebakken Sundt 2025-06-02 05:56:37 +02:00
parent 726208fdca
commit 54e4cd642e

View file

@ -10,6 +10,7 @@
home-assistant-bluetooth, home-assistant-bluetooth,
poetry-core, poetry-core,
pytest-asyncio, pytest-asyncio,
pytest-cov-stub,
pytest-mock, pytest-mock,
pytestCheckHook, pytestCheckHook,
pythonOlder, pythonOlder,
@ -33,8 +34,7 @@ buildPythonPackage rec {
postPatch = '' postPatch = ''
substituteInPlace pyproject.toml \ substituteInPlace pyproject.toml \
--replace 'transitions = "^0.8.11"' 'transitions = ">=0.8.11"' \ --replace 'transitions = "^0.8.11"' 'transitions = ">=0.8.11"' \
--replace 'Events = "^0.4"' 'Events = ">=0.4"' \ --replace 'Events = "^0.4"' 'Events = ">=0.4"'
--replace " --cov=pysnooz --cov-report=term-missing:skip-covered" ""
''; '';
nativeBuildInputs = [ poetry-core ]; nativeBuildInputs = [ poetry-core ];
@ -51,6 +51,7 @@ buildPythonPackage rec {
nativeCheckInputs = [ nativeCheckInputs = [
freezegun freezegun
pytest-asyncio pytest-asyncio
pytest-cov-stub
pytest-mock pytest-mock
pytestCheckHook pytestCheckHook
]; ];