@@ -1138,13 +1138,13 @@ (define-public celestia-gtk
(define-public python-astropy
(package
(name "python-astropy")
- (version "5.2.2")
+ (version "5.3")
(source
(origin
(method url-fetch)
(uri (pypi-uri "astropy" version))
(sha256
- (base32 "170ddflli35mvhf6pla7aizfw8a7ckq66g1mi1br99dx2r3y7ag6"))
+ (base32 "1rg4i5w7mggfvi63j2aj2d2fjikml55bbxswl6n0j8xkqbhlns8z"))
(modules '((guix build utils)))
(snippet
'(begin
@@ -1153,9 +1153,12 @@ (define-public python-astropy
(for-each delete-file-recursively '("ply" "configobj")))
;; Remove cextern bundles. Check bundled versions against available
;; in Guix in the future update of astropy.
+ ;;
+ ;; cfitsio build is only available from non-publicly exposed
+ ;; bundled short version. 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
@@ -1222,7 +1225,7 @@ (define-public python-astropy
python-skyfield
python-timezonefinder))
(inputs
- (list cfitsio expat wcslib))
+ (list expat wcslib))
(propagated-inputs
(list python-configobj
python-numpy