Unverified Commit 5a25b7c8 authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

python3Packages.thinc: reduce test dependencies (#502372)

parents 813ef34f f1afb677
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -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
  ];