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 { buildPythonPackage rec {
pname = "astroquery"; pname = "astroquery";
version = "0.4.1"; version = "0.4.1";
format = "pyproject";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
@ -31,11 +32,6 @@ buildPythonPackage rec {
doCheck = false; doCheck = false;
checkInputs = [ pytest pytest-astropy ]; 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 # Tests must be run in the build directory. The tests create files
# in $HOME/.astropy so we need to set HOME to $TMPDIR. # in $HOME/.astropy so we need to set HOME to $TMPDIR.
checkPhase = '' checkPhase = ''