From a5e82af9d811847750ffef19cfe9cf46b13180f5 Mon Sep 17 00:00:00 2001 From: xbreak Date: Tue, 25 Feb 2020 12:13:10 +0000 Subject: [PATCH] pythonPackages.astroquery 0.3.10 -> 0.4 Tests are disabled until pytest-astropy is updated with pytest-astropy-header. --- pkgs/development/python-modules/astroquery/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/astroquery/default.nix b/pkgs/development/python-modules/astroquery/default.nix index 461d8801e608..c6620de3d0c3 100644 --- a/pkgs/development/python-modules/astroquery/default.nix +++ b/pkgs/development/python-modules/astroquery/default.nix @@ -9,21 +9,26 @@ , pytest , pytest-astropy , astropy-helpers +, isPy3k }: buildPythonPackage rec { pname = "astroquery"; - version = "0.3.10"; + version = "0.4"; src = fetchPypi { inherit pname version; - sha256 = "1ce57a8792c7d5d74206d797d379de6da35d56be433ea5840c41a49f202e2fab"; + sha256 = "1ddwnj9vpvxkrfb45c4pwv5f5za9kn2q0040dpw2ymj2bwlpl61h"; }; + disabled = !isPy3k; + propagatedBuildInputs = [ astropy requests keyring beautifulsoup4 html5lib ]; nativeBuildInputs = [ astropy-helpers ]; + # Tests disabled until pytest-astropy has been updated to include pytest-astropy-header + doCheck = false; checkInputs = [ pytest pytest-astropy ]; # Disable automatic update of the astropy-helper module