From f9a94fee729aee3bb9751b394fb4e281578283c7 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Thu, 27 Jul 2023 00:15:34 +0100 Subject: [PATCH] gnu: python-astropy: Update to 5.3.1. * gnu/packages/astronomy.scm (python-astropy): Update to 5.3.1. [snippet]: Remove trailing #t. Prevent cfitsio from deletion. [inputs]: Remove cfitsio. Signed-off-by: Andreas Enge --- gnu/packages/astronomy.scm | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 1c6ccc3a92..1ae9488161 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -1347,13 +1347,13 @@ accurately in real time at any rate desired.") (define-public python-astropy (package (name "python-astropy") - (version "5.2.2") + (version "5.3.1") (source (origin (method url-fetch) (uri (pypi-uri "astropy" version)) (sha256 - (base32 "170ddflli35mvhf6pla7aizfw8a7ckq66g1mi1br99dx2r3y7ag6")) + (base32 "0x4dh7wx9sn1gy6sl2d54zsd24cgfjwrlk6kfrwpzzrmbsv22lwv")) (modules '((guix build utils))) (snippet '(begin @@ -1362,9 +1362,10 @@ accurately in real time at any rate desired.") (for-each delete-file-recursively '("ply" "configobj"))) ;; Remove cextern bundles. Check bundled versions against available ;; in Guix in the future update of astropy. + ;; Linking against an external cfitsio version has been removed, + ;; see https://github.com/astropy/astropy/pull/14311 (with-directory-excursion "cextern" - (for-each delete-file-recursively '("cfitsio" "expat" "wcslib"))) - #t)))) + (for-each delete-file-recursively '("expat" "wcslib"))))))) (build-system python-build-system) (arguments `(#:phases @@ -1431,7 +1432,7 @@ accurately in real time at any rate desired.") python-skyfield python-timezonefinder)) (inputs - (list cfitsio expat wcslib)) + (list expat wcslib)) (propagated-inputs (list python-configobj python-numpy