mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +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,
|
poetry-core,
|
||||||
mashumaro,
|
mashumaro,
|
||||||
pytest-asyncio,
|
pytest-asyncio,
|
||||||
|
pytest-cov-stub,
|
||||||
pytestCheckHook,
|
pytestCheckHook,
|
||||||
pythonOlder,
|
pythonOlder,
|
||||||
syrupy,
|
syrupy,
|
||||||
|
@ -30,8 +31,7 @@ buildPythonPackage rec {
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
# Upstream doesn't set a version for the pyproject.toml
|
# Upstream doesn't set a version for the pyproject.toml
|
||||||
substituteInPlace pyproject.toml \
|
substituteInPlace pyproject.toml \
|
||||||
--replace "0.0.0" "${version}" \
|
--replace "0.0.0" "${version}"
|
||||||
--replace "--cov" ""
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
build-system = [ poetry-core ];
|
build-system = [ poetry-core ];
|
||||||
|
@ -45,6 +45,7 @@ buildPythonPackage rec {
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
aresponses
|
aresponses
|
||||||
pytest-asyncio
|
pytest-asyncio
|
||||||
|
pytest-cov-stub
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
syrupy
|
syrupy
|
||||||
];
|
];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue