python3Packages.thinc: reduce test dependencies (#502372)

This commit is contained in:
Gaétan Lepage
2026-03-23 11:16:00 +00:00
committed by GitHub
@@ -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
];