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.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user