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 ];