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

commit be8d1cacec849e077ad8b6e75e8a5f5116c4b447
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Thu Jan 15 11:25:26 2026 +0000

    gnu: python-ndcube: Update to 2.4.0.
    
    * gnu/packages/astronomy.scm (python-ndcube): Update to 2.4.0.
    [arguments] <test-flags>: Skip freshly failing test only.
    
    Change-Id: Iafd38ffeef6ab54e38ba63e370cbc2bd3cc5d1a0
---
 gnu/packages/astronomy.scm | 24 +++++++++---------------
 1 file changed, 9 insertions(+), 15 deletions(-)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 094cacf882..161137ac87 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -6433,30 +6433,24 @@ Carlo.")
 (define-public python-ndcube
   (package
     (name "python-ndcube")
-    (version "2.3.4")
+    (version "2.4.0")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "ndcube" version))
        (sha256
-        (base32 "0nwy0h1xvs6gw13nygfqx34nqkiixj40pf913n6h7bjfvqkyg2f1"))))
+        (base32 "1344zzjp90s9cfvckf70gsby4ypav1xi2wx9s8cpcv05yzypmiqw"))))
     (build-system pyproject-build-system)
     (arguments
      (list
-      ;; tests: 397 passed, 7 skipped, 10 xfailed
+      ;; tests: 533 passed, 9 skipped, 10 xfailed, 18 warnings
       #:test-flags
       #~(list "--numprocesses" (number->string (min 8 (parallel-job-count)))
-              #$@(map (lambda (test) (string-append "--deselect="
-                                                    
"ndcube/wcs/wrappers/tests/"
-                                                    "test_resampled_wcs.py::"
-                                                    test))
-                      ;; ResampledLowLevelWCS Transformation
-                      ;; This transformation has 2 pixel and 2 world dimensions
-                      ;;
-                      ;; - Array shape (Numpy order): (2.3333333333333335, 
15.0)
-                      ;; + Array shape (Numpy order): (2, 15)
-                      (list "test_2d[celestial_2d_ape14_wcs]"
-                            "test_2d[celestial_2d_fitswcs]")))
+              ;; See: <https://github.com/sunpy/ndcube/issues/913>.
+              ;;
+              ;; TypeError: Invalid types were passed, got (Quantity,
+              ;; Quantity, Quantity) expected (Time, Quantity, Quantity).
+              "-k" "not test_crop_by_extra_coords_values_all_axes_with_coord")
       #:phases
       #~(modify-phases %standard-phases
           (add-before 'check 'set-home-env
@@ -6470,7 +6464,7 @@ Carlo.")
            python-pytest
            python-pytest-astropy
            python-pytest-mpl
-           ;; python-pytest-memray ; not packaged yet
+           ;; python-pytest-memray                  ;not packaged yet in Guix
            python-pytest-xdist
            python-setuptools
            python-setuptools-scm

Reply via email to