From 9f02d65aad74fb15e1185edf18830788a38cde28 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 1 Apr 2025 08:47:48 +0200 Subject: [PATCH] python312Packages.pvo: migrate to pytest-cov-stub --- pkgs/development/python-modules/pvo/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pvo/default.nix b/pkgs/development/python-modules/pvo/default.nix index f75d81ed45f0..9da666746217 100644 --- a/pkgs/development/python-modules/pvo/default.nix +++ b/pkgs/development/python-modules/pvo/default.nix @@ -7,6 +7,7 @@ poetry-core, mashumaro, pytest-asyncio, + pytest-cov-stub, pytestCheckHook, pythonOlder, syrupy, @@ -30,8 +31,7 @@ buildPythonPackage rec { postPatch = '' # Upstream doesn't set a version for the pyproject.toml substituteInPlace pyproject.toml \ - --replace "0.0.0" "${version}" \ - --replace "--cov" "" + --replace "0.0.0" "${version}" ''; build-system = [ poetry-core ]; @@ -45,6 +45,7 @@ buildPythonPackage rec { nativeCheckInputs = [ aresponses pytest-asyncio + pytest-cov-stub pytestCheckHook syrupy ];