mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-13 05:05:29 +03:00
python313Packages.pysnooz: migrate to pytest-cov-stub
This commit is contained in:
parent
726208fdca
commit
54e4cd642e
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||||
];
|
];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue