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,
|
uncompresspy,
|
||||||
|
|
||||||
# testing
|
# testing
|
||||||
|
hypothesis,
|
||||||
pytestCheckHook,
|
pytestCheckHook,
|
||||||
pytest-xdist,
|
pytest-xdist,
|
||||||
pytest-astropy-header,
|
pytest-astropy-header,
|
||||||
pytest-astropy,
|
pytest-doctestplus,
|
||||||
|
pytest-remotedata,
|
||||||
threadpoolctl,
|
threadpoolctl,
|
||||||
|
|
||||||
}:
|
}:
|
||||||
@@ -123,11 +125,16 @@ buildPythonPackage rec {
|
|||||||
});
|
});
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
|
hypothesis
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
pytest-xdist
|
pytest-xdist
|
||||||
pytest-astropy-header
|
pytest-astropy-header
|
||||||
pytest-astropy
|
pytest-doctestplus
|
||||||
|
pytest-remotedata
|
||||||
threadpoolctl
|
threadpoolctl
|
||||||
|
# FIXME remove in 7.2.0
|
||||||
|
# see https://github.com/astropy/astropy/pull/18882
|
||||||
|
uncompresspy
|
||||||
]
|
]
|
||||||
++ optional-dependencies.recommended;
|
++ optional-dependencies.recommended;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user