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

commit 11df19c8b75aed4de718555678636901f151c53b
Author: Sharlatan Hellseher <sharlata...@gmail.com>
AuthorDate: Thu Sep 18 19:24:34 2025 +0100

    gnu: python-pysm3: Update to 3.4.2.
    
    * gnu/packages/astronomy.scm (python-pysm3): Update to 3.4.2.
    [arguments] <test-flags>: Rework the list of skipped test.
    [propagated-inputs]: Add python-h5py, python-numpy, and python-scipy.
    [native-inputs]: Add python-nbval.
    
    Change-Id: Ifd661013923eab089c3a952b70f1ce45e2cca53f
---
 gnu/packages/astronomy.scm | 38 +++++++++++++++++++++++++-------------
 1 file changed, 25 insertions(+), 13 deletions(-)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 43b3c66fd6..1fac619187 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -6536,16 +6536,16 @@ natively in Siril.")
 (define-public python-pysm3
   (package
     (name "python-pysm3")
-    (version "3.4.1a1")
+    (version "3.4.2")
     (source
      (origin
        (method git-fetch) ; no tests data in the PyPI tarball
        (uri (git-reference
-             (url "https://github.com/galsci/pysm";)
-             (commit version)))
+              (url "https://github.com/galsci/pysm";)
+              (commit version)))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "0rp22d1ckln9j490ga5snk0xb28qal1i10m4kqmhg7sfkw7dnnzs"))))
+        (base32 "0r8njxss389hqz1nxixamhclays6blyrq7qnrzs2776w9c0cv6vb"))))
     (build-system pyproject-build-system)
     (arguments
      (list
@@ -6554,36 +6554,44 @@ natively in Siril.")
       ;; <https://healpy.github.io/healpy-data>
       ;; <https://portal.nersc.gov/project/cmb/pysm-data>
       #~(list "-k" (string-join
-                    (list "not test_model"
+                    (list "not test_bandpass_unit_conversion"
                           "test_bandpass_unit_conversion_CMB2MJysr"
                           "test_bandpass_unit_conversion_MJysr2KRJ"
                           "test_cmb_lensed"
+                          "test_cmb_lensed_delens"
+                          "test_cmb_lensed_l01"
+                          "test_cmb_lensed_no_delens"
+                          "test_cmb_lensed_with_patch_object"
                           "test_cmb_map"
                           "test_cmb_map_bandpass"
                           "test_co"
                           "test_co_model"
-                          "test_dust_model"
-                          "test_model_d12"
                           "test_d10_vs_d11"
+                          "test_dust_model"
                           "test_dust_model_353"
                           "test_gnilc_857"
+                          "test_healpix_output_nside"
                           "test_highfreq_dust_model"
+                          "test_model"
+                          "test_model_d12"
                           "test_presmoothed"
-                          "test_sky_max_nside"
-                          "test_sky_max_nside_highres"
                           "test_read_map_unit"
                           "test_read_map_unit_dimensionless"
-                          "test_healpix_output_nside"
+                          "test_s6_vs_s5"
+                          "test_sky_max_nside"
+                          "test_sky_max_nside_highres"
                           "test_smoothing_healpix"
                           "test_smoothing_healpix_beamwindow"
-                          "test_s6_vs_s5"
                           "test_synch_44"
                           "test_synch_model_noscaling"
                           "test_synch_model_s7_44"
                           "test_synch_model_s7_noscaling"
                           "test_synchrotron_model"
-                          "test_bandpass_unit_conversion")
-                    " and not "))
+                          ;; RuntimeError: This function has been removed. Use
+                          ;; reproject.healpix2map(...method='harm').
+                          "test_car_nosmoothing")
+                    " and not ")
+              "tests")
       #:phases
       #~(modify-phases %standard-phases
           (add-after 'unpack 'set-version
@@ -6593,6 +6601,7 @@ natively in Siril.")
      (list nss-certs-for-test
            python-hatch-vcs
            python-hatchling
+           python-nbval
            python-netcdf4
            python-pixell
            python-psutil
@@ -6602,8 +6611,11 @@ natively in Siril.")
            python-xarray))
     (propagated-inputs
      (list python-astropy
+           python-h5py
            python-healpy
            python-numba
+           python-numpy
+           python-scipy
            python-toml))
     (home-page "https://pysm3.readthedocs.io/";)
     (synopsis "Sky emission simulations for Cosmic Microwave Background 
experiments")

Reply via email to