From 923eac67e6a07733f7a6d43f0d7e6f08d8f3b30b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Fri, 20 Mar 2026 09:20:45 -0700 Subject: [PATCH] python3Packages.autograd: don't test coverage --- pkgs/development/python-modules/autograd/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/autograd/default.nix b/pkgs/development/python-modules/autograd/default.nix index 9a86fb665e81..94308d30387f 100644 --- a/pkgs/development/python-modules/autograd/default.nix +++ b/pkgs/development/python-modules/autograd/default.nix @@ -10,7 +10,7 @@ numpy, # tests - pytest-cov, + pytest-cov-stub, pytest-xdist, pytestCheckHook, }: @@ -27,12 +27,17 @@ buildPythonPackage rec { hash = "sha256-k4rcalwznKS2QvmyTLra+ciWFifnILW/DDdB8D+clxQ="; }; + postPatch = '' + # don't require pytest-cov + sed -i "/required_plugins/d" pyproject.toml + ''; + build-system = [ hatchling ]; dependencies = [ numpy ]; nativeCheckInputs = [ - pytest-cov + pytest-cov-stub pytest-xdist pytestCheckHook ];