From ff1a26a43dadb38cdb25b97b3ddef9e4c52d326b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Thu, 20 Nov 2025 17:56:53 -0800 Subject: [PATCH] python3Packages.frictionless: don't test coverage --- .../python-modules/frictionless/default.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/frictionless/default.nix b/pkgs/development/python-modules/frictionless/default.nix index 95962afd69f0..875d88119ace 100644 --- a/pkgs/development/python-modules/frictionless/default.nix +++ b/pkgs/development/python-modules/frictionless/default.nix @@ -47,8 +47,6 @@ # Tests pytestCheckHook, - pytest-cov, - pytest-dotenv, pytest-lazy-fixtures, pytest-mock, pytest-timeout, @@ -73,6 +71,12 @@ buildPythonPackage rec { hash = "sha256-svspEHcEw994pEjnuzWf0FFaYeFZuqriK96yFAB6/gI="; }; + postPatch = '' + substituteInPlace frictionless/conftest.py \ + --replace-fail "from pytest_cov.embed import cleanup_on_sigterm" "" \ + --replace-fail "cleanup_on_sigterm()" "" + ''; + build-system = [ hatchling ]; @@ -179,8 +183,6 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook - pytest-cov - pytest-dotenv pytest-lazy-fixtures pytest-mock pytest-timeout