Unverified Commit 3f26f97d authored by dotlambda's avatar dotlambda Committed by GitHub
Browse files

python3Packages.autograd: don't test coverage (#501669)

parents db36e447 923eac67
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@
  numpy,

  # tests
  pytest-cov,
  pytest-cov-stub,
  pytest-xdist,
  pytestCheckHook,
}:
@@ -27,12 +27,17 @@ buildPythonPackage rec {
    hash = "sha256-k4rcalwznKS2QvmyTLra+ciWFifnILW/DDdB8D+clxQ=";
  };

  postPatch = ''
    # don't require pytest-cov
    sed -i "/required_plugins/d" pyproject.toml
  '';

  build-system = [ hatchling ];

  dependencies = [ numpy ];

  nativeCheckInputs = [
    pytest-cov
    pytest-cov-stub
    pytest-xdist
    pytestCheckHook
  ];