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

commit 221fce75ddaef5ba169aaf2b4f13619a707373af
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Tue Jan 20 01:45:53 2026 +0000

    gnu: python-astropy-healpix: Update to 1.1.3.
    
    * gnu/packages/astronomy.scm (python-astropy-healpix): Update to 1.1.3.
    [arguments] <test-flags>: Run tests from installed module.
    <phases>: Use default 'check; add 'remove-local-source.
    [native-inputs]: Remove python-hypothesis, python-pytest-astropy, and
    python-wheel.; add python-pytest.
    
    Change-Id: I705d9dd3a6bbba465bb73af47980d80d6b720b51
---
 gnu/packages/astronomy.scm | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index c9a867bd1d..e90491f606 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -3248,32 +3248,32 @@ astronomy and astrophysics.")
 (define-public python-astropy-healpix
   (package
     (name "python-astropy-healpix")
-    (version "1.1.2")
+    (version "1.1.3")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "astropy_healpix" version))
        (sha256
-        (base32 "1r362081aj5jqxshcxw0bpzn4qvqnra52k94ghskpv1n5bqisrq3"))))
+        (base32 "1dxkh5fxfqxq5md0s4azynk3dvki27cjnyx3w7ld65c2pqxdh87m"))))
     (build-system pyproject-build-system)
     (arguments
      (list
+      ;; tests: 81 passed, 1 skipped
+      #:test-flags
+      #~(list "--pyargs" "astropy_healpix")
       #:phases
       #~(modify-phases %standard-phases
-          (replace 'check
-            (lambda* (#:key tests? test-flags #:allow-other-keys)
-              (when tests?
-                (with-directory-excursion #$output
-                  (apply invoke "pytest" "-vv" test-flags))))))))
+          (add-before 'check 'remove-local-source
+            (lambda _
+              (delete-file-recursively "astropy_healpix"))))))
     (native-inputs
      (list python-extension-helpers
-           python-hypothesis
-           python-pytest-astropy
+           python-pytest
            python-setuptools
-           python-setuptools-scm
-           python-wheel))
+           python-setuptools-scm))
     (propagated-inputs
-     (list python-astropy python-numpy))
+     (list python-astropy
+           python-numpy))
     (home-page "https://github.com/astropy/astropy-healpix";)
     (synopsis "HEALPix for Astropy")
     (description "This package provides HEALPix to the Astropy project.")

Reply via email to