From 809be969788729a12f6765e41e2a43807e8d652d Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Mon, 2 Jun 2025 05:56:26 +0200 Subject: [PATCH] python313Packages.gridnet: migrate to pytest-cov-stub --- pkgs/development/python-modules/gridnet/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/gridnet/default.nix b/pkgs/development/python-modules/gridnet/default.nix index 6763a42291a6..6b89ae50b019 100644 --- a/pkgs/development/python-modules/gridnet/default.nix +++ b/pkgs/development/python-modules/gridnet/default.nix @@ -6,6 +6,7 @@ fetchFromGitHub, poetry-core, pytest-asyncio, + pytest-cov-stub, pytestCheckHook, pythonOlder, yarl, @@ -27,8 +28,7 @@ buildPythonPackage rec { postPatch = '' substituteInPlace pyproject.toml \ - --replace "0.0.0" "${version}" \ - --replace "--cov" "" + --replace "0.0.0" "${version}" ''; nativeBuildInputs = [ poetry-core ]; @@ -41,6 +41,7 @@ buildPythonPackage rec { nativeCheckInputs = [ aresponses pytest-asyncio + pytest-cov-stub pytestCheckHook ];