python312Packages.gotailwind: migrate to pytest-cov-stub (#371506)

This commit is contained in:
Fabian Affolter
2025-01-06 23:19:44 +01:00
committed by GitHub
@@ -10,6 +10,7 @@
orjson,
poetry-core,
pytest-asyncio,
pytest-cov-stub,
pytestCheckHook,
pythonOlder,
syrupy,
@@ -35,8 +36,7 @@ buildPythonPackage rec {
postPatch = ''
# Upstream doesn't set a version for the pyproject.toml
substituteInPlace pyproject.toml \
--replace-fail "0.0.0" "${version}" \
--replace-fail "--cov" ""
--replace-fail "0.0.0" "${version}"
'';
build-system = [ poetry-core ];
@@ -58,6 +58,7 @@ buildPythonPackage rec {
nativeCheckInputs = [
aresponses
pytest-asyncio
pytest-cov-stub
pytestCheckHook
syrupy
];