unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Sharlatan Hellseher <sharlatanus@gmail.com>
To: 69295@debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus@gmail.com>,
	Andreas Enge <andreas@enge.fr>, Eric Bavier <bavier@posteo.net>,
	Sharlatan Hellseher <sharlatanus@gmail.com>
Subject: [bug#69295] [PATCH 10/46] gnu: python-astropy: Update to 6.0.0.
Date: Tue, 20 Feb 2024 23:43:08 +0000	[thread overview]
Message-ID: <22285c764730d55ebe16e60aebe5473c3ad803d3.1708471786.git.sharlatanus@gmail.com> (raw)
In-Reply-To: <cover.1708471786.git.sharlatanus@gmail.com>

* gnu/packages/astronomy.scm (python-astropy): Update to 6.0.0.
[arguments] <#:phases>: (preparations) Adjust to be compatible with the
new code layout. (check) Silent one more failing test.
[propagated-inputs]: Add python-astropy-iers-data.
[native-inputs]: Remove python-cython; add python-cython-3,
python-matplotlib and python-pytest-mpl.

Change-Id: Id48a7cf05c30c1a1f7799fdc162b910316743f7c
---
 gnu/packages/astronomy.scm | 28 ++++++++++++++--------------
 1 file changed, 14 insertions(+), 14 deletions(-)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 45394a7070..11cdd9e862 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -1478,13 +1478,13 @@ (define-public celestia-gtk
 (define-public python-astropy
   (package
     (name "python-astropy")
-    (version "5.3.4")
+    (version "6.0.0")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "astropy" version))
        (sha256
-        (base32 "1n7iwvjari4xv37094cpiapmjhhm57b04hi4r40wqb5czbigg46l"))
+        (base32 "1nbpqx7ibm8zsyyy17y5rmfjamwz6mv0sy4drlisap9hald81k83"))
        (modules '((guix build utils)))
        (snippet
         '(begin
@@ -1508,16 +1508,11 @@ (define-public python-astropy
              ;; Some tests require a writable home.
              (setenv "HOME" "/tmp")
              ;; Relax xfail tests.
-             (substitute* "setup.cfg"
+             (substitute* "pyproject.toml"
                (("xfail_strict = true") "xfail_strict = false"))
-             ;; Replace all references to external ply.
-             (let ((ply-files '("coordinates/angle_formats.py"
-                                "utils/parsing.py")))
-               (with-directory-excursion "astropy"
-                 (map (lambda (file)
-                        (substitute* file (("astropy.extern.ply")
-                                           "ply")))
-                      ply-files)))
+             ;; Replace reference to external ply.
+             (substitute* "astropy/utils/parsing.py"
+               (("astropy.extern.ply") "ply"))
              ;; Replace reference to external configobj.
              (with-directory-excursion "astropy/config"
                (substitute* "configuration.py"
@@ -1541,22 +1536,26 @@ (define-public python-astropy
                              " and not test_ignore_sigint"
                              " and not test_parquet_filter"
                              ;; See https://github.com/astropy/astropy/issues/15537
-                             " and not test_pvstar"))))))))
+                             " and not test_pvstar"
+                             ;; E ModuleNotFoundError: No module named 'wofz'
+                             " and not test_pickle_functional"))))))))
     (native-inputs
      (list pkg-config
            python-colorlog
            python-coverage
-           python-cython
+           python-cython-3
            python-extension-helpers
            python-h5py
            python-ipython
            python-jplephem
+           python-matplotlib
            python-objgraph
            python-pandas
            python-pyarrow
            python-pytest
            python-pytest-astropy
            python-pytest-astropy-header
+           python-pytest-mpl
            python-pytest-xdist
            python-scikit-image
            python-scipy
@@ -1567,7 +1566,8 @@ (define-public python-astropy
     (inputs
      (list expat wcslib))
     (propagated-inputs
-     (list python-configobj
+     (list python-astropy-iers-data
+           python-configobj
            python-numpy
            python-packaging
            python-ply
-- 
2.41.0





  parent reply	other threads:[~2024-02-20 23:46 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-20 23:41 [bug#69295] [PATCH 00/46] gnu: Astronomy 2024/02 updates Sharlatan Hellseher
2024-02-20 23:42 ` [bug#69295] [PATCH 01/46] gnu: calceph: Update to 3.5.5 Sharlatan Hellseher
2024-02-20 23:43 ` [bug#69295] [PATCH 02/46] gnu: giza: Update to 1.4.1 Sharlatan Hellseher
2024-02-20 23:43 ` [bug#69295] [PATCH 03/46] gnu: indi-2.0: Update to 2.0.6 Sharlatan Hellseher
2024-02-20 23:43 ` [bug#69295] [PATCH 04/46] gnu: phd2: Update to 2.6.13 Sharlatan Hellseher
2024-02-20 23:43 ` [bug#69295] [PATCH 05/46] gnu: parfive: Update to 2.0.2 Sharlatan Hellseher
2024-02-20 23:43 ` [bug#69295] [PATCH 06/46] gnu: parfive: Simplify package Sharlatan Hellseher
2024-02-20 23:43 ` [bug#69295] [PATCH 07/46] gnu: siril: Update to 1.2.1 Sharlatan Hellseher
2024-02-20 23:43 ` [bug#69295] [PATCH 08/46] gnu: python-aioftp: Update to 0.22.3 Sharlatan Hellseher
2024-02-20 23:43 ` [bug#69295] [PATCH 09/46] gnu: Add python-astropy-iers-data Sharlatan Hellseher
2024-02-20 23:43 ` Sharlatan Hellseher [this message]
2024-02-20 23:43 ` [bug#69295] [PATCH 11/46] gnu: python-astropy: Improve packages style Sharlatan Hellseher
2024-02-20 23:43 ` [bug#69295] [PATCH 12/46] gnu: python-asdf-2.15: Deprecate package Sharlatan Hellseher
2024-02-20 23:43 ` [bug#69295] [PATCH 13/46] gnu: python-asdf-fits-schemas: Update to 0.0.1-1.d1b5e7a Sharlatan Hellseher
2024-02-20 23:43 ` [bug#69295] [PATCH 14/46] gnu: python-asdf-time-schemas: Update to 0.0.1-3.a306206 Sharlatan Hellseher
2024-02-20 23:43 ` [bug#69295] [PATCH 15/46] gnu: python-asdf-transform-schemas: Update to 0.4.0 Sharlatan Hellseher
2024-02-20 23:43 ` [bug#69295] [PATCH 16/46] gnu: python-asdf-wcs-schemas: Update to 0.3.0 Sharlatan Hellseher
2024-02-20 23:43 ` [bug#69295] [PATCH 17/46] gnu: python-crds: Update to 11.17.16 Sharlatan Hellseher
2024-02-20 23:43 ` [bug#69295] [PATCH 18/46] gnu: python-h5netcdf: Update to 1.3.0 Sharlatan Hellseher
2024-02-20 23:43 ` [bug#69295] [PATCH 19/46] gnu: python-jwst: Update to 1.13.4 Sharlatan Hellseher
2024-02-20 23:43 ` [bug#69295] [PATCH 20/46] gnu: python-pysynphot: Update to 2.0.0-0.54e9e2a Sharlatan Hellseher
2024-02-20 23:43 ` [bug#69295] [PATCH 21/46] gnu: python-pysynphot: Improve package style Sharlatan Hellseher
2024-02-20 23:43 ` [bug#69295] [PATCH 22/46] gnu: python-roman-datamodels: Update to 0.19.0 Sharlatan Hellseher
2024-02-20 23:43 ` [bug#69295] [PATCH 23/46] gnu: python-rad: " Sharlatan Hellseher
2024-02-20 23:43 ` [bug#69295] [PATCH 24/46] gnu: python-rad: Enable tests Sharlatan Hellseher
2024-02-20 23:43 ` [bug#69295] [PATCH 25/46] gnu: python-skyfield: Update to 1.48 Sharlatan Hellseher
2024-02-20 23:43 ` [bug#69295] [PATCH 26/46] gnu: python-stdatamodels: Update to 1.9.1 Sharlatan Hellseher
2024-02-20 23:43 ` [bug#69295] [PATCH 27/46] gnu: libpasastro: Remove system constrains Sharlatan Hellseher
2024-02-20 23:43 ` [bug#69295] [PATCH 28/46] gnu: python-aplpy: Disable tests Sharlatan Hellseher
2024-02-20 23:43 ` [bug#69295] [PATCH 29/46] gnu: python-asdf: Speed up tests Sharlatan Hellseher
2024-02-20 23:43 ` [bug#69295] [PATCH 30/46] gnu: python-asdf-astropy: " Sharlatan Hellseher
2024-02-20 23:43 ` [bug#69295] [PATCH 31/46] gnu: python-asdf-coordinates-schemas: " Sharlatan Hellseher
2024-02-20 23:43 ` [bug#69295] [PATCH 32/46] gnu: python-photutils: " Sharlatan Hellseher
2024-02-20 23:43 ` [bug#69295] [PATCH 33/46] gnu: python-poppy: " Sharlatan Hellseher
2024-02-20 23:43 ` [bug#69295] [PATCH 34/46] gnu: python-regions: " Sharlatan Hellseher
2024-02-20 23:43 ` [bug#69295] [PATCH 35/46] gnu: python-roman-datamodels: " Sharlatan Hellseher
2024-02-20 23:43 ` [bug#69295] [PATCH 36/46] gnu: python-spectral-cube: " Sharlatan Hellseher
2024-02-20 23:43 ` [bug#69295] [PATCH 37/46] gnu: python-sunpy: Speed up tests and relax requirements Sharlatan Hellseher
2024-02-20 23:43 ` [bug#69295] [PATCH 38/46] gnu: python-astroml: Ignore some failing tests Sharlatan Hellseher
2024-02-20 23:43 ` [bug#69295] [PATCH 39/46] gnu: python-poliastro: Relax requirements Sharlatan Hellseher
2024-02-20 23:43 ` [bug#69295] [PATCH 40/46] gnu: Add python-extinction Sharlatan Hellseher
2024-02-20 23:43 ` [bug#69295] [PATCH 41/46] gnu: Add python-sunpy-soar Sharlatan Hellseher
2024-02-20 23:43 ` [bug#69295] [PATCH 42/46] gnu: Add python-radiospectra Sharlatan Hellseher
2024-02-20 23:43 ` [bug#69295] [PATCH 43/46] gnu: Add python-ginga Sharlatan Hellseher
2024-02-20 23:43 ` [bug#69295] [PATCH 44/46] gnu: python-drizzle: Update to 1.15.0 Sharlatan Hellseher
2024-02-20 23:43 ` [bug#69295] [PATCH 45/46] gnu: python-stcal: Update to 1.6.0 Sharlatan Hellseher
2024-02-20 23:43 ` [bug#69295] [PATCH 46/46] gnu: python-cdflib: Update to 1.2.4 Sharlatan Hellseher
2024-02-27 22:55 ` bug#69295: [PATCH 00/46] gnu: Astronomy 2024/02 updates Sharlatan Hellseher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=22285c764730d55ebe16e60aebe5473c3ad803d3.1708471786.git.sharlatanus@gmail.com \
    --to=sharlatanus@gmail.com \
    --cc=69295@debbugs.gnu.org \
    --cc=andreas@enge.fr \
    --cc=bavier@posteo.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).