diff --git a/pkgs/development/python-modules/astroquery/default.nix b/pkgs/development/python-modules/astroquery/default.nix index e82dca3e9553..f7764149a663 100644 --- a/pkgs/development/python-modules/astroquery/default.nix +++ b/pkgs/development/python-modules/astroquery/default.nix @@ -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 = ''