mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 13:40:28 +03:00
python312Packages.pvo: migrate to pytest-cov-stub
This commit is contained in:
parent
23cb03035e
commit
9f02d65aad
1 changed files with 3 additions and 2 deletions
|
@ -7,6 +7,7 @@
|
|||
poetry-core,
|
||||
mashumaro,
|
||||
pytest-asyncio,
|
||||
pytest-cov-stub,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
syrupy,
|
||||
|
@ -30,8 +31,7 @@ buildPythonPackage rec {
|
|||
postPatch = ''
|
||||
# Upstream doesn't set a version for the pyproject.toml
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace "0.0.0" "${version}" \
|
||||
--replace "--cov" ""
|
||||
--replace "0.0.0" "${version}"
|
||||
'';
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
|
@ -45,6 +45,7 @@ buildPythonPackage rec {
|
|||
nativeCheckInputs = [
|
||||
aresponses
|
||||
pytest-asyncio
|
||||
pytest-cov-stub
|
||||
pytestCheckHook
|
||||
syrupy
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue