Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-scikit-image for
openSUSE:Factory checked in at 2026-02-18 17:10:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-scikit-image (Old)
and /work/SRC/openSUSE:Factory/.python-scikit-image.new.1977 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-scikit-image"
Wed Feb 18 17:10:25 2026 rev:28 rq:1333657 version:0.26.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-scikit-image/python-scikit-image.changes
2025-07-17 17:20:53.517064715 +0200
+++
/work/SRC/openSUSE:Factory/.python-scikit-image.new.1977/python-scikit-image.changes
2026-02-18 17:11:03.403775630 +0100
@@ -1,0 +2,37 @@
+Wed Feb 18 05:08:50 UTC 2026 - Steve Kowalik <[email protected]>
+
+- Update to 0.26.0:
+ ## New Features
+ * Add new parameter max_step_cost to skimage.graph.MCP.find_costs which
+ allows limiting the maximal stepping cost between points (#7625).
+ * In skimage.transform, add the identity class constructor to all geometric
+ transforms. For example, you can now use
+ skimage.transform.PolynomialTransform(dimensionality=2) (#7754).
+ * Add new property intensity_median to skimage.measure.regionprops (#7745).
+ * binary_blobs now supports a mode parameter for the Gaussian filter,
+ allowing periodic boundary conditions with mode="wrap" (#7909).
+ ## Performance
+ * Use greedy einsum optimization in skimage.measure.moments_central
+ (#7947).
+ * Add lazy loading to skimage.segmentation (#7035).
+ ## Bug Fixes
+ * Make deconvolution example scientifically sensible (#7589).
+ * In skimage.filters.sobel/scharr/prewitt/farid, when mode="constant" is
+ used ensure that cval has an effect. It didn't previously (#7826).
+ * Ensure skimage.graph.cut_normalized is deterministic when seeded with the
+ rng parameter and when SciPy 1.17.0.dev0 or newer is installed. With
+ earlier SciPy versions the internally used function scipy.linalg.eigsh is
+ not deterministic and can lead to different results (#7912).
+ * Avoid potential integer overflow in skimage.morphology.reconstruction
+ (#7938).
+ * Handle negative axis lengths due to numerical errors in axis_major_length
+ and axis_minor_length properties of skimage.measure.regionprops (#7916).
+ * In skimage.util.random_noise, ensure that clip argument is handled
+ consistently for various modes (#7924).
+ * Apparent fix for Hough transform stray j (#7974).
+- Unpack as normal in %prep, regardless of flavor.
+- Drop patch scikit-image-pr7828-pillow-deprecations.patch, merged upstream.
+- Add patch support-new-pillow.patch:
+ * Support changes required by Pillow 12.0.1.
+
+-------------------------------------------------------------------
Old:
----
scikit-image-pr7828-pillow-deprecations.patch
scikit_image-0.25.2.tar.gz
New:
----
scikit_image-0.26.0.tar.gz
support-new-pillow.patch
----------(Old B)----------
Old:- Unpack as normal in %prep, regardless of flavor.
- Drop patch scikit-image-pr7828-pillow-deprecations.patch, merged upstream.
- Add patch support-new-pillow.patch:
----------(Old E)----------
----------(New B)----------
New:- Drop patch scikit-image-pr7828-pillow-deprecations.patch, merged
upstream.
- Add patch support-new-pillow.patch:
* Support changes required by Pillow 12.0.1.
----------(New E)----------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-scikit-image.spec ++++++
--- /var/tmp/diff_new_pack.wcoMSM/_old 2026-02-18 17:11:12.820168159 +0100
+++ /var/tmp/diff_new_pack.wcoMSM/_new 2026-02-18 17:11:12.836168826 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-scikit-image
#
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -27,15 +27,15 @@
%endif
Name: python-scikit-image%{psuffix}
-Version: 0.25.2
+Version: 0.26.0
Release: 0
Summary: Collection of algorithms for image processing in Python
License: BSD-3-Clause
URL: https://scikit-image.org/
# SourceRepository: https://github.com/scikit-image/scikit-image
Source0:
https://files.pythonhosted.org/packages/source/s/scikit-image/%{srcname}-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM scikit-image-pr7828-pillow-deprecations.patch
gh#scikit-image/scikit-image#7828
-Patch0:
https://github.com/scikit-image/scikit-image/pull/7828.patch#/scikit-image-pr7828-pillow-deprecations.patch
+# PATCH-FIX-UPSTREAM Based on gh#scikit-image/scikit-image#8010
+Patch0: support-new-pillow.patch
BuildRequires: %{python_module Cython >= 3.0.4}
BuildRequires: %{python_module devel >= 3.10}
BuildRequires: %{python_module meson-python >= 0.15}
@@ -74,6 +74,7 @@
BuildRequires: %{python_module numpydoc >= 1.7}
BuildRequires: %{python_module pytest >= 8}
BuildRequires: %{python_module pytest-localserver}
+BuildRequires: %{python_module pytest-pretty}
BuildRequires: %{python_module pytest-xdist}
BuildRequires: %{python_module scikit-image = %{version}}
%endif
@@ -85,15 +86,11 @@
It is available free of charge and free of restriction.
%prep
-%if !%{with test}
%autosetup -p1 -n %{srcname}-%{version}
-sed -Ei "1{s@/usr/bin/env python\$@%{_bindir}/python3@}"
./skimage/_build_utils/*.py
+sed -Ei "1{s@/usr/bin/env python\$@%{_bindir}/python3@}"
./src/skimage/_build_utils/*.py
# don't install the header file
-sed -i '/fast_exp.h/d' ./skimage/_shared/meson.build
-chmod -x skimage/measure/{__init__,_find_contours}.py
-%else
-%setup -q -c scikit-image-%{version}-test -D -T
-%endif
+sed -i '/fast_exp.h/d' ./src/skimage/_shared/meson.build
+chmod -x src/skimage/measure/{__init__,_find_contours}.py
%build
%if !%{with test}
@@ -127,8 +124,8 @@
donttest+=" or test_independent_rng"
fi
export PYTEST_DEBUG_TEMPROOT=$(mktemp -d -p ./)
-%pytest_arch -v --pyargs skimage -n auto -k "not ($donttest or $notparallel)"
-%pytest_arch -v --pyargs skimage -k "not ($donttest) and ($notparallel)"
+%pytest_arch -v --pyargs skimage -n auto -k "not ($donttest or $notparallel)"
tests
+%pytest_arch -v --pyargs skimage -k "not ($donttest) and ($notparallel)" tests
%endif
%if !%{with test}
@@ -136,6 +133,7 @@
%license LICENSE.txt
%doc CONTRIBUTORS.md TODO.txt
%{python_sitearch}/skimage/
+%{python_sitearch}/skimage2/
%{python_sitearch}/scikit_image-%{version}.dist-info
%endif
++++++ scikit_image-0.25.2.tar.gz -> scikit_image-0.26.0.tar.gz ++++++
/work/SRC/openSUSE:Factory/python-scikit-image/scikit_image-0.25.2.tar.gz
/work/SRC/openSUSE:Factory/.python-scikit-image.new.1977/scikit_image-0.26.0.tar.gz
differ: char 27, line 1
++++++ support-new-pillow.patch ++++++
>From 4ec4f2ba2951530480ef9c0970ea32f103d6c6ed Mon Sep 17 00:00:00 2001
From: Stefan van der Walt <[email protected]>
Date: Wed, 7 Jan 2026 15:13:20 -0800
Subject: [PATCH 1/2] Handle PIL Image.getdata deprecation
---
src/skimage/io/_plugins/pil_plugin.py | 4 ++++
1 file changed, 4 insertions(+)
Index: scikit_image-0.26.0/src/skimage/io/_plugins/pil_plugin.py
===================================================================
--- scikit_image-0.26.0.orig/src/skimage/io/_plugins/pil_plugin.py
+++ scikit_image-0.26.0/src/skimage/io/_plugins/pil_plugin.py
@@ -47,6 +47,10 @@ def pil_to_ndarray(image, dtype=None, im
Refer to ``imread``.
"""
+ # PIL 12.1.0 renames getdata
+ if hasattr(image, "get_flattened_data"):
+ image.getdata = image.get_flattened_data
+
try:
# this will raise an IOError if the file is not readable
image.getdata()[0]