python313Packages.httpx-ws: migrate to pytest-cov-stub

This commit is contained in:
Peder Bergebakken Sundt 2025-06-02 05:56:27 +02:00
parent 4d6b739c7b
commit ec2d7b1e3c

View file

@ -7,6 +7,7 @@
httpcore, httpcore,
httpx, httpx,
pytestCheckHook, pytestCheckHook,
pytest-cov-stub,
pythonOlder, pythonOlder,
starlette, starlette,
trio, trio,
@ -33,8 +34,7 @@ buildPythonPackage rec {
substituteInPlace pyproject.toml \ substituteInPlace pyproject.toml \
--replace-fail 'source = "regex_commit"' "" \ --replace-fail 'source = "regex_commit"' "" \
--replace-fail 'commit_extra_args = ["-e"]' "" \ --replace-fail 'commit_extra_args = ["-e"]' "" \
--replace-fail '"hatch-regex-commit"' "" \ --replace-fail '"hatch-regex-commit"' ""
--replace-fail 'addopts = "--cov=httpx_ws/ --cov-report=term-missing"' ""
''; '';
build-system = [ hatchling ]; build-system = [ hatchling ];
@ -48,6 +48,7 @@ buildPythonPackage rec {
nativeCheckInputs = [ nativeCheckInputs = [
pytestCheckHook pytestCheckHook
pytest-cov-stub
starlette starlette
trio trio
uvicorn uvicorn