From bc11aee7611ed437de3442fe414b815dc875f621 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Mon, 2 Jun 2025 05:56:22 +0200 Subject: [PATCH] python313Packages.csvw: migrate to pytest-cov-stub --- pkgs/development/python-modules/csvw/default.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/csvw/default.nix b/pkgs/development/python-modules/csvw/default.nix index be429844d13d..a85c9d4f0fd4 100644 --- a/pkgs/development/python-modules/csvw/default.nix +++ b/pkgs/development/python-modules/csvw/default.nix @@ -10,6 +10,7 @@ rfc3986, uritemplate, pytestCheckHook, + pytest-cov-stub, pytest-mock, }: @@ -37,14 +38,10 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook + pytest-cov-stub pytest-mock ]; - patchPhase = '' - substituteInPlace setup.cfg \ - --replace "--cov" "" - ''; - disabledTests = [ # this test is flaky on darwin because it depends on the resolution of filesystem mtimes