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 2022-07-05 12:08:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-scikit-image (Old) and /work/SRC/openSUSE:Factory/.python-scikit-image.new.1548 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-scikit-image" Tue Jul 5 12:08:50 2022 rev:16 rq:986472 version:0.19.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-scikit-image/python-scikit-image.changes 2021-02-10 21:30:25.142287232 +0100 +++ /work/SRC/openSUSE:Factory/.python-scikit-image.new.1548/python-scikit-image.changes 2022-07-05 12:08:52.512504593 +0200 @@ -1,0 +2,69 @@ +Fri Jul 1 09:19:38 UTC 2022 - Ben Greiner <c...@bnavigator.de> + +- Update to 0.19.3 + * Revert unintentional change to default multichannel behavior + introduced in v0.19.0 for skimage.restoration.cycle_spin (now + defaults to single channel again) + * Fix corner case with an optimal angle of 0 degrees in + hough_line_peaks + * Fixed the gallery example involving registration with log-polar + transformations + * Update test suite for compatibility with the most recent + tifffile release. + * warp/rotate: fixed a bug with clipping when cval is not in the + input range + * Fix computation of histogram bins for multichannel + integer-valued images + * Update skimage.future.manual_polygon_segmentation to work with + Matplotlib 3.5. + * Update skimage.io.imread to avoid warnings when using + imageio>=2.16.2. + * Now compatible with Pillow >= 9.1 (palette may contain <256 + entries) + * Added support for NumPy 1.23 +- Release 0.19.2 + * This is primarily a bug fix release, although there is one new + gallery example related to detection of fluorescence at the + nuclear envelope of mammalian cells. +- Release 0.19.1 + * This is a small bug fix release that resolves a couple of + backwards compatibility issues. +- Release 0.19.0 + * A highlight of this release is the addition of the popular + scale-invariant feature transform (SIFT) feature detector and + descriptor. This release also introduces a perceptual blur + metric, new pixel graph algorithms, and most functions now + operate in single-precision when single-precision inputs are + provided. Many other bug fixes, enhancements and performance + improvements are detailed below. + * A significant change in this release is in the treatment of + multichannel images. The existing multichannel argument to + functions has been deprecated in favor of a new channel_axis + argument. channel_axis can be used to specify which axis of an + array contains channel information (with channel_axis=None + indicating a grayscale image). + * scikit-image now uses "lazy loading", which enables users to + access the functions from all skimage submodules without the + overhead of eagerly importing all submodules. As a concrete + example, after calling "import skimage" a user can directly + call a function such as skimage.transform.warp whereas + previously it would have been required to first "import + skimage.transform". + * An exciting change on the development side is the introduction + of support for Pythran as an alternative to Cython for + generating compiled code. We plan to keep Cython support as + well going forward, so developers are free to use either one as + appropriate. For those curious about Pythran, a good overview + was given in the SciPy 2021 presentation, "Building SciPy + Kernels with Pythran" + (https://www.youtube.com/watch?v=6a9D9WL6ZjQ). + * This release now supports Python 3.7-3.10. +- Release 0.18.3 + * This is a small bugfix release for compatibility with Pooch 1.5 + and SciPy 1.7. +- Release 0.18.2 + * This release fixes a couple of minor bugs. +- Add skimage-fix-module-install.patch + * gh#scikit-image/scikit-image#6428 + +------------------------------------------------------------------- Old: ---- scikit-image-0.18.1.tar.gz New: ---- scikit-image-0.19.3.tar.gz skimage-fix-module-install.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-scikit-image.spec ++++++ --- /var/tmp/diff_new_pack.kbaHYu/_old 2022-07-05 12:08:53.652506230 +0200 +++ /var/tmp/diff_new_pack.kbaHYu/_new 2022-07-05 12:08:53.660506242 +0200 @@ -1,7 +1,7 @@ # -# spec file for package python-scikit-image +# spec file # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,7 +16,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} %global flavor @BUILD_FLAVOR@%{nil} %if "%{flavor}" == "test" %define psuffix -test @@ -25,54 +24,51 @@ %define psuffix %{nil} %bcond_with test %endif -%define skip_python2 1 -# SciPy 1.6.0 dropped Python 3.6 and numpy 1.20 will soon -%define skip_python36 1 Name: python-scikit-image%{psuffix} -Version: 0.18.1 +Version: 0.19.3 Release: 0 Summary: Collection of algorithms for image processing in Python License: BSD-3-Clause URL: https://scikit-image.org/ Source0: https://files.pythonhosted.org/packages/source/s/scikit-image/scikit-image-%{version}.tar.gz -BuildRequires: %{python_module Cython >= 0.29.13} -BuildRequires: %{python_module devel} -BuildRequires: %{python_module numpy-devel >= 1.15.1} +# PATCH-FIX-UPSTREAM skimage-fix-module-install.patch -- gh#scikit-image/scikit-image#6428 +Patch0: skimage-fix-module-install.patch +BuildRequires: %{python_module Cython >= 0.29.21} +BuildRequires: %{python_module devel >= 3.7} +BuildRequires: %{python_module numpy-devel >= 1.17.0} +BuildRequires: %{python_module packaging >= 20} +BuildRequires: %{python_module pythran} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: freeimage-devel BuildRequires: gcc-c++ BuildRequires: python-rpm-macros -Requires: python-Pillow >= 4.3.0 +Requires: python-Pillow >= 6.1.0 Requires: python-PyWavelets >= 1.1.1 -Requires: python-imageio >= 2.3.0 -Requires: python-matplotlib >= 2.0.0 -Requires: python-networkx >= 2.0 -Requires: python-numpy >= 1.15.1 -Requires: python-scipy >= 1.0.1 +Requires: python-imageio >= 2.4.1 +Requires: python-networkx >= 2.2 +Requires: python-numpy >= 1.17.0 +Requires: python-packaging >= 20.0 +Requires: python-scipy >= 1.4.1 Requires: python-tifffile >= 2019.7.26 Requires(post): update-alternatives -Requires(preun): update-alternatives +Requires(postun):update-alternatives Recommends: python-QtPy Recommends: python-SimpleITK -Recommends: python-astropy >= 1.2.0 +Recommends: python-astropy >= 3.1.2 Recommends: python-cloudpickle >= 0.2.1 -Recommends: python-dask-array >= 0.15.0 +Recommends: python-dask-array >= 1.0.0 Recommends: python-imread >= 0.5.1 +Recommends: python-matplotlib >= 3.0.3 +Recommends: python-pooch >= 1.3.0 Recommends: python-pyamg -Recommends: python-pooch >= 0.5.2 %if %{with test} -BuildRequires: %{python_module Pillow >= 4.3.0} -BuildRequires: %{python_module PyWavelets >= 1.1.1} -BuildRequires: %{python_module imageio >= 2.3.0} -BuildRequires: %{python_module matplotlib >= 2.0.0} -BuildRequires: %{python_module networkx >= 2.0} +BuildRequires: %{python_module dask-array >= 1.0.0} +BuildRequires: %{python_module matplotlib >= 3.0.3} BuildRequires: %{python_module pytest >= 4.0} BuildRequires: %{python_module pytest-localserver} BuildRequires: %{python_module pytest-xdist} BuildRequires: %{python_module scikit-image = %{version}} -BuildRequires: %{python_module scipy >= 1.0.1} -BuildRequires: %{python_module tifffile >= 2019.7.26} %endif # /SECTION %python_subpackages @@ -83,7 +79,7 @@ %prep %if !%{with test} -%setup -q -n scikit-image-%{version} +%autosetup -p1 -n scikit-image-%{version} #remove shebang sed -i '1 {\@usr/bin/env@ d}' skimage/*/setup.py skimage/future/graph/setup.py %else @@ -107,22 +103,17 @@ %post %python_install_alternative skivi -%preun +%postun %python_uninstall_alternative skivi %endif %if %{with test} %check -# test_wrap_around - fails randomly https://github.com/scikit-image/scikit-image/issues/3237 -skiptests="test_wrap_around" -# test_structural_similarity_dtype - also fails randomly on 32bit -skiptests+=" or test_structural_similarity_dtype" -# test_colorconv.py hdx and hed tests segfault -skiptests+=" or test_hdx_rgb or test_hed_rgb" -# these test require pooch to download data files, which we don't have and which needs internet to work anyway -# see skimage/data/_registry.py -skiptests+=" or test_ndim or test_skin or test_custom_load_func_w_kwarg" -%pytest_arch -v --pyargs skimage -n auto -k "not ($skiptests)" +# fails randomly https://github.com/scikit-image/scikit-image/issues/3237 +donttest+="test_wrap_around" +# fails randomly on all platforms +donttest+=" or test_structural_similarity_dtype" +%pytest_arch -v --pyargs skimage -n auto -k "not ($donttest)" %endif %if !%{with test} @@ -131,7 +122,7 @@ %doc CONTRIBUTORS.txt TODO.txt %python_alternative %{_bindir}/skivi %{python_sitearch}/skimage/ -%{python_sitearch}/scikit_image-%{version}-py*.egg-info +%{python_sitearch}/scikit_image-%{version}*-info %endif %changelog ++++++ scikit-image-0.18.1.tar.gz -> scikit-image-0.19.3.tar.gz ++++++ /work/SRC/openSUSE:Factory/python-scikit-image/scikit-image-0.18.1.tar.gz /work/SRC/openSUSE:Factory/.python-scikit-image.new.1548/scikit-image-0.19.3.tar.gz differ: char 5, line 1 ++++++ skimage-fix-module-install.patch ++++++ Index: scikit-image-0.19.3/setup.py =================================================================== --- scikit-image-0.19.3.orig/setup.py +++ scikit-image-0.19.3/setup.py @@ -246,7 +246,8 @@ if __name__ == "__main__": install_requires=INSTALL_REQUIRES, extras_require=extras_require, python_requires='>=3.7', - packages=setuptools.find_packages(exclude=['doc', 'benchmarks']), + packages=setuptools.find_packages( + exclude=['doc', 'doc.*', 'benchmarks']), package_data={ # distribute Cython source files in the wheel "": ["*.pyx", "*.pxd", "*.pxi", ""],