python3Packages.astroquery: unbreak

This commit is contained in:
Robert T. McGibbon 2020-12-28 13:08:50 -05:00
parent 8df2e76984
commit 545350f147

View file

@ -15,6 +15,7 @@
buildPythonPackage rec {
pname = "astroquery";
version = "0.4.1";
format = "pyproject";
src = fetchPypi {
inherit pname version;
@ -31,11 +32,6 @@ buildPythonPackage rec {
doCheck = false;
checkInputs = [ pytest pytest-astropy ];
# Disable automatic update of the astropy-helper module
postPatch = ''
substituteInPlace setup.cfg --replace "auto_use = True" "auto_use = False"
'';
# Tests must be run in the build directory. The tests create files
# in $HOME/.astropy so we need to set HOME to $TMPDIR.
checkPhase = ''