mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-15 22:19:17 +03:00
python313Packages.httpx-ws: migrate to pytest-cov-stub
This commit is contained in:
parent
4d6b739c7b
commit
ec2d7b1e3c
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue