python3Packages.thinc: reduce test dependencies
This commit is contained in:
@@ -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
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user