From 6a9da8d2e38f112ac7eacc38a11625d3479b163f Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 3 Mar 2025 16:40:39 +0100 Subject: [PATCH] python312Packages.wled: migrate to pytest-cov-stub --- pkgs/development/python-modules/wled/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/wled/default.nix b/pkgs/development/python-modules/wled/default.nix index 2b81d25d30a8..d950cc72d0a2 100644 --- a/pkgs/development/python-modules/wled/default.nix +++ b/pkgs/development/python-modules/wled/default.nix @@ -11,6 +11,7 @@ orjson, poetry-core, pytest-asyncio, + pytest-cov-stub, pytest-xdist, pytestCheckHook, pythonOlder, @@ -37,7 +38,6 @@ buildPythonPackage rec { # Upstream doesn't set a version for the pyproject.toml substituteInPlace pyproject.toml \ --replace-fail "0.0.0" "${version}" \ - --replace-fail "--cov" "" ''; build-system = [ poetry-core ]; @@ -62,6 +62,7 @@ buildPythonPackage rec { nativeCheckInputs = [ aresponses pytest-asyncio + pytest-cov-stub pytest-xdist pytestCheckHook ];