0
0
Fork 0
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:
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, 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
]; ];