guix_mirror_bot pushed a commit to branch master
in repository guix.

commit e819590cdf2a0a3916a0e53cffc2948bac4a8087
Author: Maxim Cournoyer <[email protected]>
AuthorDate: Tue Mar 3 17:17:39 2026 +0900

    gnu: python-scikit-image: Update to 0.26.0.
    
    This fixes a test failure.
    
    * gnu/packages/python-science.scm (python-scikit-image): Update to 0.26.0.
    [#:test-flags]: Remove --pyargs (otherwise no test would run).  Add upstream
    issue reference in comment.
    [#:phases]: Delete argument.
    [native-inputs]: Add python-pytest-pretty.
    
    Change-Id: I4ecf593faa74174d941f47f8569caa7badada1ee
---
 gnu/packages/python-science.scm | 21 +++++++--------------
 1 file changed, 7 insertions(+), 14 deletions(-)

diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index aef8926798..2e05513f6b 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -7,7 +7,7 @@
 ;;; Copyright © 2016-2020, 2022 Marius Bakke <[email protected]>
 ;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <[email protected]>
 ;;; Copyright © 2018, 2022 Leo Famulari <[email protected]>
-;;; Copyright © 2019-2025 Maxim Cournoyer <[email protected]>
+;;; Copyright © 2019-2026 Maxim Cournoyer <[email protected]>
 ;;; Copyright © 2019 Giacomo Leidi <[email protected]>
 ;;; Copyright © 2020-2025 Nicolas Goaziou <[email protected]>
 ;;; Copyright © 2020 Pierre Langlois <[email protected]>
@@ -3029,7 +3029,7 @@ logic, also known as grey logic.")
 (define-public python-scikit-image
   (package
     (name "python-scikit-image")
-    (version "0.25.2")
+    (version "0.26.0")
     (source
      (origin
        (method git-fetch)
@@ -3038,24 +3038,16 @@ logic, also known as grey logic.")
               (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "1cr3ki47z9g8kylnff1nrmv5fr3lrgmibl41q0v98pldghnslxdv"))))
+        (base32 "1x90jad3jqin8ws1j1i89zrajpcbn1h87nl5yxxf5cs3b7ha13rf"))))
     (build-system pyproject-build-system)
     (arguments
      (list
-      ;; tests: 8271 passed, 160 skipped, 1 deselected, 89 xfailed
       #:test-flags
       #~(list "--ignore=benchmarks/"
-              "--pyargs" "skimage"
               ;; RuntimeWarning: divide by zero encountered in scalar divide
-              "-k" "not test_ellipse_parameter_stability")
-      #:phases
-      #~(modify-phases %standard-phases
-          (add-before 'check 'remove-local-source
-            (lambda _
-              (delete-file-recursively "skimage"))))))
-    ;; See pyproject.toml for the list of build and run time requirements.
-    ;; NOTE: scikit-image has an optional dependency on python-pooch, however
-    ;; propagating it would enable many more tests that require online data.
+              ;; (see:
+              ;; <https://github.com/scikit-image/scikit-image/issues/7348>).
+              "-k" "not test_ellipse_parameter_stability")))
     (propagated-inputs
      (list python-imageio
            python-lazy-loader
@@ -3079,6 +3071,7 @@ logic, also known as grey logic.")
      (list python-meson
            python-pytest
            python-pytest-localserver
+           python-pytest-pretty
            python-pythran))
     (home-page "https://scikit-image.org/";)
     (synopsis "Image processing in Python")

Reply via email to