mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +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,
|
||||
poetry-core,
|
||||
pytest-asyncio,
|
||||
pytest-cov-stub,
|
||||
pytest-mock,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
|
@ -33,8 +34,7 @@ buildPythonPackage rec {
|
|||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace 'transitions = "^0.8.11"' 'transitions = ">=0.8.11"' \
|
||||
--replace 'Events = "^0.4"' 'Events = ">=0.4"' \
|
||||
--replace " --cov=pysnooz --cov-report=term-missing:skip-covered" ""
|
||||
--replace 'Events = "^0.4"' 'Events = ">=0.4"'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
|
@ -51,6 +51,7 @@ buildPythonPackage rec {
|
|||
nativeCheckInputs = [
|
||||
freezegun
|
||||
pytest-asyncio
|
||||
pytest-cov-stub
|
||||
pytest-mock
|
||||
pytestCheckHook
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue