0
0
Fork 0
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:
Fabian Affolter 2025-04-01 08:47:48 +02:00 committed by GitHub
parent 23cb03035e
commit 9f02d65aad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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
];