This is an automated email from the git hooks/post-receive script.

guix_mirror_bot pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new f546638fed6 gnu: python-stcal: Update to 1.20.0-1.0d7730a, fix tests.
f546638fed6 is described below

commit f546638fed68114b67e5bf1c681c5c62876a4018
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Mon Nov 2 09:58:35 2026 +0000

    gnu: python-stcal: Update to 1.20.0-1.0d7730a, fix tests.
    
    * gnu/packages/astronomy.scm (python-stcal): Update to
    0d7730acb4d9831ae40787d5a916701d2eb4498f commit.
    [phases]{pre-check}: New phase.
    
    Relates-to: guix/guix#12265
---
 gnu/packages/astronomy.scm | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index daf31497b61..b2367a19f68 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -12022,8 +12022,8 @@ and CAS statistics), as well as fitting 2D Sérsic 
profiles.")
 
 (define-public python-stcal
   ;; 1.20.0 (2026-08-13); to support drizzle >= 3 and tweakwcs >= 9.
-  (let ((commit "e0e2df9e58d17e8ff28db2cadbbc77fe840b19dc")
-        (revision "0"))
+  (let ((commit "0d7730acb4d9831ae40787d5a916701d2eb4498f")
+        (revision "1"))
   (package
     (name "python-stcal")
     (version (git-version "1.20.0" revision commit))
@@ -12035,11 +12035,11 @@ and CAS statistics), as well as fitting 2D Sérsic 
profiles.")
               (commit commit)))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "1w6l8fbq35cfz503ilb21acrh4ffg9r4zsjh40qfzrax17kjcflx"))))
+        (base32 "0bs3zmkml382fiz82k8i8ia9sz6fhvjmn8m714265msx7l3p53a7"))))
     (build-system pyproject-build-system)
     (arguments
      (list
-      ;; tests: 704 passed, 12 warnings
+      ;; tests: 713 passed, 12 warnings
       #:test-flags
       #~(list "--pyargs" "stcal"
               "--numprocesses" (number->string (min 8 (parallel-job-count)))
@@ -12047,7 +12047,13 @@ and CAS statistics), as well as fitting 2D Sérsic 
profiles.")
               ;; download test data from
               ;; <s3://stpubdata/gaia/gaia_dr3/public/hats/gaia/>.
               "--ignore=tests/test_tweakreg.py"
-              "tests")))
+              "tests")
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-before 'check 'pre-check
+            (lambda _
+              (setenv "PYTHONPATH" ".")
+              (delete-file-recursively "src"))))))
     (native-inputs
      (list python-cython
            python-psutil

Reply via email to