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

commit 5edc442c572b3c362aca0aae2b20e118d78bc9d7
Author: Sharlatan Hellseher <sharlata...@gmail.com>
AuthorDate: Thu Sep 18 16:53:00 2025 +0100

    gnu: python-photutils: Update to 2.3.0.
    
    * gnu/packages/astronomy.scm (python-photutils): Update to 2.3.0.
    [native-inputs]: Remove python-setuptools and python-setuptools-scm; add
    python-setuptools-next and python-setuptools-scm-next.
    
    Change-Id: Ic2a6bd2b7b89249f57cae95812c597a255e3ed2d
---
 gnu/packages/astronomy.scm | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 08510ddea0..55d9e8ffff 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -5671,16 +5671,17 @@ photometry, segmentations, Petrosian profiling, and 
Sérsic fitting.")
 (define-public python-photutils
   (package
     (name "python-photutils")
-    (version "2.2.0")
+    (version "2.3.0")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "photutils" version))
        (sha256
-        (base32 "1h1bf8694pf9qdv9gf0934v6dk08d3ybrj858salqnfz6prnfnzb"))))
+        (base32 "1xyrnf0ynh8l3dad8s93dyqk3m9gvmxgvrji1nb9yillfzvjfxcl"))))
     (build-system pyproject-build-system)
     (arguments
      (list
+      ;; tests: 1843 passed, 22 skipped
       #:test-flags
       #~(list "--pyargs" "photutils"
               "--numprocesses" (number->string (min 8 (parallel-job-count))))
@@ -5691,6 +5692,13 @@ photometry, segmentations, Petrosian profiling, and 
Sérsic fitting.")
               (when tests?
                 (with-directory-excursion "/tmp"
                   (apply invoke "pytest" "-vv" test-flags))))))))
+    (native-inputs
+     (list python-cython-3
+           python-extension-helpers
+           python-pytest-astropy
+           python-pytest-xdist
+           python-setuptools-next
+           python-setuptools-scm-next))
     (propagated-inputs
      (list python-astropy
            python-bottleneck
@@ -5703,17 +5711,11 @@ photometry, segmentations, Petrosian profiling, and 
Sérsic fitting.")
            python-scipy
            python-shapely
            python-tqdm))
-    (native-inputs
-     (list python-cython-3
-           python-extension-helpers
-           python-pytest-astropy
-           python-pytest-xdist
-           python-setuptools
-           python-setuptools-scm))
     (home-page "https://github.com/astropy/photutils";)
     (synopsis "Source detection and photometry")
-    (description "Photutils is an Astropy package for detection and photometry
-of astronomical sources.")
+    (description
+     "Photutils is an Astropy package for detection and photometry of
+astronomical sources.")
     (license license:bsd-3)))
 
 (define-public python-pint-pulsar

Reply via email to