From 2401040ce91296e2cf2f9a5fab08a995ee72af0e Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Tue, 30 Jul 2024 19:48:57 +0200 Subject: [PATCH] python312Packages.birch: migrate to pytest-cov-stub --- pkgs/development/python-modules/birch/default.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/birch/default.nix b/pkgs/development/python-modules/birch/default.nix index f91bfea02733..772ab25109e4 100644 --- a/pkgs/development/python-modules/birch/default.nix +++ b/pkgs/development/python-modules/birch/default.nix @@ -6,6 +6,7 @@ setuptools, strct, pytestCheckHook, + pytest-cov-stub, pyyaml, }: @@ -31,11 +32,6 @@ buildPythonPackage rec { ]; postPatch = '' - substituteInPlace pytest.ini \ - --replace-fail \ - "--cov" \ - "#--cov" - # configure correct version, which fails due to missing .git substituteInPlace versioneer.py birch/_version.py \ --replace-fail '"0+unknown"' '"${version}"' @@ -54,6 +50,7 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook + pytest-cov-stub pyyaml ];