summaryrefslogtreecommitdiff
path: root/gnu/packages/python-science.scm
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim@guixotic.coop>2026-03-03 17:17:39 +0900
committerMaxim Cournoyer <maxim@guixotic.coop>2026-03-08 09:49:45 +0900
commite819590cdf2a0a3916a0e53cffc2948bac4a8087 (patch)
treea889ff5d07e82c24ce6e298b5292a21cfaec1cc5 /gnu/packages/python-science.scm
parent629266b3c77c349153197c773f89f790cdb01c66 (diff)
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
Diffstat (limited to 'gnu/packages/python-science.scm')
-rw-r--r--gnu/packages/python-science.scm21
1 files changed, 7 insertions, 14 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index aef89267989..2e05513f6b4 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -7,7 +7,7 @@
7;;; Copyright © 2016-2020, 2022 Marius Bakke <marius@gnu.org> 7;;; Copyright © 2016-2020, 2022 Marius Bakke <marius@gnu.org>
8;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr> 8;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
9;;; Copyright © 2018, 2022 Leo Famulari <leo@famulari.name> 9;;; Copyright © 2018, 2022 Leo Famulari <leo@famulari.name>
10;;; Copyright © 2019-2025 Maxim Cournoyer <maxim@guixotic.coop> 10;;; Copyright © 2019-2026 Maxim Cournoyer <maxim@guixotic.coop>
11;;; Copyright © 2019 Giacomo Leidi <therewasa@fishinthecalculator.me> 11;;; Copyright © 2019 Giacomo Leidi <therewasa@fishinthecalculator.me>
12;;; Copyright © 2020-2025 Nicolas Goaziou <mail@nicolasgoaziou.fr> 12;;; Copyright © 2020-2025 Nicolas Goaziou <mail@nicolasgoaziou.fr>
13;;; Copyright © 2020 Pierre Langlois <pierre.langlois@gmx.com> 13;;; Copyright © 2020 Pierre Langlois <pierre.langlois@gmx.com>
@@ -3029,7 +3029,7 @@ logic, also known as grey logic.")
3029(define-public python-scikit-image 3029(define-public python-scikit-image
3030 (package 3030 (package
3031 (name "python-scikit-image") 3031 (name "python-scikit-image")
3032 (version "0.25.2") 3032 (version "0.26.0")
3033 (source 3033 (source
3034 (origin 3034 (origin
3035 (method git-fetch) 3035 (method git-fetch)
@@ -3038,24 +3038,16 @@ logic, also known as grey logic.")
3038 (commit (string-append "v" version)))) 3038 (commit (string-append "v" version))))
3039 (file-name (git-file-name name version)) 3039 (file-name (git-file-name name version))
3040 (sha256 3040 (sha256
3041 (base32 "1cr3ki47z9g8kylnff1nrmv5fr3lrgmibl41q0v98pldghnslxdv")))) 3041 (base32 "1x90jad3jqin8ws1j1i89zrajpcbn1h87nl5yxxf5cs3b7ha13rf"))))
3042 (build-system pyproject-build-system) 3042 (build-system pyproject-build-system)
3043 (arguments 3043 (arguments
3044 (list 3044 (list
3045 ;; tests: 8271 passed, 160 skipped, 1 deselected, 89 xfailed
3046 #:test-flags 3045 #:test-flags
3047 #~(list "--ignore=benchmarks/" 3046 #~(list "--ignore=benchmarks/"
3048 "--pyargs" "skimage"
3049 ;; RuntimeWarning: divide by zero encountered in scalar divide 3047 ;; RuntimeWarning: divide by zero encountered in scalar divide
3050 "-k" "not test_ellipse_parameter_stability") 3048 ;; (see:
3051 #:phases 3049 ;; <https://github.com/scikit-image/scikit-image/issues/7348>).
3052 #~(modify-phases %standard-phases 3050 "-k" "not test_ellipse_parameter_stability")))
3053 (add-before 'check 'remove-local-source
3054 (lambda _
3055 (delete-file-recursively "skimage"))))))
3056 ;; See pyproject.toml for the list of build and run time requirements.
3057 ;; NOTE: scikit-image has an optional dependency on python-pooch, however
3058 ;; propagating it would enable many more tests that require online data.
3059 (propagated-inputs 3051 (propagated-inputs
3060 (list python-imageio 3052 (list python-imageio
3061 python-lazy-loader 3053 python-lazy-loader
@@ -3079,6 +3071,7 @@ logic, also known as grey logic.")
3079 (list python-meson 3071 (list python-meson
3080 python-pytest 3072 python-pytest
3081 python-pytest-localserver 3073 python-pytest-localserver
3074 python-pytest-pretty
3082 python-pythran)) 3075 python-pythran))
3083 (home-page "https://scikit-image.org/") 3076 (home-page "https://scikit-image.org/")
3084 (synopsis "Image processing in Python") 3077 (synopsis "Image processing in Python")