From ec2d7b1e3c47384df474ecbbfcdfcb8f94d53829 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Mon, 2 Jun 2025 05:56:27 +0200 Subject: [PATCH] python313Packages.httpx-ws: migrate to pytest-cov-stub --- pkgs/development/python-modules/httpx-ws/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/httpx-ws/default.nix b/pkgs/development/python-modules/httpx-ws/default.nix index d2277484781e..226bf83b4940 100644 --- a/pkgs/development/python-modules/httpx-ws/default.nix +++ b/pkgs/development/python-modules/httpx-ws/default.nix @@ -7,6 +7,7 @@ httpcore, httpx, pytestCheckHook, + pytest-cov-stub, pythonOlder, starlette, trio, @@ -33,8 +34,7 @@ buildPythonPackage rec { substituteInPlace pyproject.toml \ --replace-fail 'source = "regex_commit"' "" \ --replace-fail 'commit_extra_args = ["-e"]' "" \ - --replace-fail '"hatch-regex-commit"' "" \ - --replace-fail 'addopts = "--cov=httpx_ws/ --cov-report=term-missing"' "" + --replace-fail '"hatch-regex-commit"' "" ''; build-system = [ hatchling ]; @@ -48,6 +48,7 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook + pytest-cov-stub starlette trio uvicorn