From f1afb677daec2d5b1fc2b69b341d3d0941197076 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sun, 22 Mar 2026 18:21:00 -0700 Subject: [PATCH] python3Packages.thinc: reduce test dependencies --- pkgs/development/python-modules/thinc/default.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/thinc/default.nix b/pkgs/development/python-modules/thinc/default.nix index 0663dd68023d..0bbdac74a222 100644 --- a/pkgs/development/python-modules/thinc/default.nix +++ b/pkgs/development/python-modules/thinc/default.nix @@ -23,9 +23,7 @@ wasabi, # tests - coverage, hypothesis, - mock, pytestCheckHook, }: @@ -41,6 +39,11 @@ buildPythonPackage (finalAttrs: { hash = "sha256-8nf+AWAD7Fy50XRJDINmyk42F7KMDhGgATwqbln3r04="; }; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace-fail coverage.exceptions.CoverageWarning "" + ''; + build-system = [ blis cymem @@ -71,9 +74,7 @@ buildPythonPackage (finalAttrs: { pythonImportsCheck = [ "thinc" ]; nativeCheckInputs = [ - coverage hypothesis - mock pytestCheckHook ];