guix_mirror_bot pushed a commit to branch astro-updates
in repository guix.

commit a51b9924296d67c7abc70830598d7828b6824b70
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sat Oct 18 10:00:01 2025 +0100

    gnu: python-astropy: Update to 7.1.1.
    
    * gnu/packages/astronomy.scm (python-astropy, python-astropy-minimal):
    Update to 7.1.1.
    [native-inputs]: Remove python-cython-3; add python-cython.
    
    Change-Id: I802aee560b66c8d92375cf5df1b0f927f0db2fd1
---
 gnu/packages/astronomy.scm | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 4edcbd7c0f..c84c2c1259 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2829,13 +2829,13 @@ constraints (i.e., altitude, airmass, moon 
separation/illumination, etc.)
 (define-public python-astropy
   (package
     (name "python-astropy")
-    (version "7.1.0")
+    (version "7.1.1")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "astropy" version))
        (sha256
-        (base32 "1iakikzhw173djb2p24229ndpvzpbcanyg9h4k7viccm48r59wn8"))
+        (base32 "1y5hip9pkndx13yrq9ssw4gcmr6hz65ld11l25q4zhz20l08y4kd"))
        (modules '((guix build utils)))
        (snippet
         '(begin
@@ -2872,7 +2872,7 @@ constraints (i.e., altitude, airmass, moon 
separation/illumination, etc.)
               (substitute* "pyproject.toml"
                 (("xfail_strict = true") "xfail_strict = false"))
               ;; Replace reference to external ply.
-              (substitute* "astropy/utils/parsing.py"
+              (substitute* (find-files "." "\\.py$")
                 (("astropy.extern.ply") "ply"))
               ;; Replace reference to external configobj.
               (substitute* "astropy/config/configuration.py"
@@ -2893,7 +2893,7 @@ constraints (i.e., altitude, airmass, moon 
separation/illumination, etc.)
     (native-inputs
      (list nss-certs-for-test
            pkg-config
-           python-cython-3
+           python-cython
            python-extension-helpers
            python-objgraph
            python-pytest
@@ -2916,17 +2916,15 @@ constraints (i.e., altitude, airmass, moon 
separation/illumination, etc.)
            python-ply            ;to replace custom module
            python-pyerfa
            python-pyyaml
-           ;; [recommended]
+           ;; [optional]
            python-matplotlib
            python-scipy
-           ;; [jupyter]
            ;; python-ipydatagrid         ;no packaged
            python-ipykernel
            python-ipython
            python-ipywidgets
            python-jupyter-core
            python-pandas
-           ;; [optional]
            python-asdf
            python-asdf-astropy
            python-beautifulsoup4
@@ -3051,7 +3049,7 @@ celestial-to-terrestrial coordinate transformations.")
     (native-inputs
      (list nss-certs-for-test
            pkg-config
-           python-cython-3
+           python-cython
            python-extension-helpers
            python-setuptools-scm))
     (propagated-inputs

Reply via email to