Commit 8bc5341b authored by Robert Schütz's avatar Robert Schütz
Browse files

python3Packages.astropy: reduce test dependencies

In particular I don't want it to use pytest-cov. Since pytest-astropy
depends on that, we remove pytest-astropy and pick all dependencies of
pytest-astropy that are actually required.
parent 2cdf5e15
Loading
Loading
Loading
Loading
+9 −2
Original line number Diff line number Diff line
@@ -43,10 +43,12 @@
  uncompresspy,

  # testing
  hypothesis,
  pytestCheckHook,
  pytest-xdist,
  pytest-astropy-header,
  pytest-astropy,
  pytest-doctestplus,
  pytest-remotedata,
  threadpoolctl,

}:
@@ -123,11 +125,16 @@ buildPythonPackage rec {
  });

  nativeCheckInputs = [
    hypothesis
    pytestCheckHook
    pytest-xdist
    pytest-astropy-header
    pytest-astropy
    pytest-doctestplus
    pytest-remotedata
    threadpoolctl
    # FIXME remove in 7.2.0
    # see https://github.com/astropy/astropy/pull/18882
    uncompresspy
  ]
  ++ optional-dependencies.recommended;