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

commit 1adfb8b65e123b8753b87583ab48c607db62517f
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Tue Feb 17 18:51:09 2026 +0000

    gnu: python-halotools: Update to 0.9.4.
    
    * gnu/packages/astronomy.scm (python-halotools): Update to 0.9.4.
    [phases]: Use default {check}.
    {remove-local-source}: New phase.
    [native-inputs]: Remove python-wheel.
    
    Change-Id: Ic72e83a86e3fd4547023da56dd22b7ad0bd132f2
---
 gnu/packages/astronomy.scm | 17 ++++++-----------
 1 file changed, 6 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 2d4328d11f..d8c153546e 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -5619,33 +5619,28 @@ ConsistentTrees).")
 (define-public python-halotools
   (package
     (name "python-halotools")
-    (version "0.9.3")
+    (version "0.9.4")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "halotools" version))
        (sha256
-        (base32 "004nqlyiv6gyzmjk840a1hl3j4sgi5xwbfibankwi7281gq4hx3d"))))
+        (base32 "1zwa2pbfk944kf415s3bdyq4cql9alicls56dw82gvwd8mkg9567"))))
     (build-system pyproject-build-system)
     (arguments
      (list
       #:phases
       #~(modify-phases %standard-phases
-          ;; Use built library for tests.
-          (replace 'check
-            (lambda* (#:key tests? test-flags #:allow-other-keys)
-              (when tests?
-                (with-directory-excursion #$output
-                  (setenv "HOME" "/tmp")
-                  (apply invoke "pytest" "-vv" test-flags))))))))
+          (add-before 'check 'remove-local-source
+            (lambda _
+              (delete-file-recursively "halotools"))))))
     (native-inputs
      (list python-cython
            python-extension-helpers
            python-pytest
            python-pytest-astropy
            python-setuptools
-           python-setuptools-scm
-           python-wheel))
+           python-setuptools-scm))
     (propagated-inputs
      (list python-astropy
            python-beautifulsoup4

Reply via email to