Hello community, here is the log from the commit of package python-scikit-image for openSUSE:Leap:15.2 checked in at 2020-05-21 12:57:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/python-scikit-image (Old) and /work/SRC/openSUSE:Leap:15.2/.python-scikit-image.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-scikit-image" Thu May 21 12:57:37 2020 rev:11 rq:805765 version:0.16.2 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/python-scikit-image/python-scikit-image.changes 2020-01-15 15:52:49.943576892 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.python-scikit-image.new.2738/python-scikit-image.changes 2020-05-21 12:57:38.298572785 +0200 @@ -1,0 +2,757 @@ +Tue May 12 10:19:23 UTC 2020 - Tomáš Chvátal <tchva...@suse.com> + +- We need at least pytest 4.x series + +------------------------------------------------------------------- +Fri Jan 17 12:52:19 UTC 2020 - Tomáš Chvátal <tchva...@suse.com> + +- Skip 2 failing tests on 32bit +- Do not buildrequire nose + +------------------------------------------------------------------- +Wed Dec 4 09:11:03 UTC 2019 - Tomáš Chvátal <tchva...@suse.com> + +- Use xdist to speed up the testing that takes bit too much time + +------------------------------------------------------------------- +Sat Nov 9 14:58:21 UTC 2019 - Arun Persaud <a...@gmx.de> + +- specfile: + * remove two patched (included upstream): + - fix_numpy_1_17.patch + - fix_numpy_matrix_warning_test.patch + * add test requirement imageio + +- update to version 0.16.2 (bsc#1157707): + * Bug fixes + + Migrate to networkx 2.x (#4236, #4237) + + Sync required numpy and dask to runtime versions (#4233, #4239) + + Fix wrong argument parsing in structural_similarity (#4246, + #4247) + + Fix active contour gallery example after change to rc + coordinates (#4257, #4262) + +- changes from version 0.16.1: + * New Features + + New `skimage.evaluate` module containing simple metrics (mse, + nrme, psd) and segmentation metrics (adapted rand error, + variation of information) (#4025) + + n-dimensional TV-L1 optical flow algorithm for registration -- + `skimage.registration.optical_flow_tvl1` (#3983) + + Draw a line in an n-dimensional array -- `skimage.draw.line_nd` + (#2043) + + 2D Farid & Simoncelli edge filters - `skimage.filters.farid`, + `skimage.filters.farid_h`, and `skimage.filters.farid_v` (#3775) + + 2D majority voting filter assigning to each pixel the most + commonly occurring value within its neighborhood -- + `skimage.filters.majority` (#3836, #3839) + + Multi-level threshold "multi-Otsu" method, a thresholding + algorithm used to separate the pixels of an input image into + several classes by maximizing the variances between classes -- + `skimage.filters.threshold_multiotsu` (#3872, #4174) + + New example data -- `skimage.data.shepp_logan_phantom`, + `skimage.data.colorwheel`, `skimage.data.brick`, + `skimage.data.grass`, `skimage.data.roughwall`, + `skimage.data.cell` (#3958, #3966) + + Compute and format image region properties as a table + --.measure.regionprops_table` (#3959) + + Convert a polygon into a mask -- `skimage.draw.poly2mask` + (#3971, #3977) + + Visual image comparison helper `skimage.util.compare_images`, + that returns an image showing the difference between two input + images (#4089) + + `skimage.transform.warp_polar` to remap image into polar or + log-polar coordinates. (#4097) + * Improvements + + RANSAC: new option to set initial samples selected for + initialization (#2992) + + Better repr and str for `skimage.transform.ProjectiveTransform` + (#3525, #3967) + + Better error messages and data type stability to + `skimage.segmentation.relabel_sequential` (#3740) + + Improved compatibility with dask arrays in some image + thresholding methods (#3823) + + `skimage.io.ImageCollection` can now receive lists of patterns + (#3928) + + Speed up `skimage.feature.peak_local_max` (#3984) + + Better error message when incorrect value for keyword argument + `kind` in.color.label2rgb` (#4055) + + All functions from `skimage.drawing` now supports multi-channel + 2D images (#4134) + * API Changes + + Deprecated subpackage "skimage.novice" has been removed. + + Default value of "multichannel" parameters has been set to False + in `skimage.transform.rescale`, + `skimage.transform.pyramid_reduce`, + `skimage.transform.pyramid_laplacian`,.transform.pyramid_gaussian`, + and `skimage.transform.pyramid_expand`. Guessing is no longer + performed for 3D. + + Deprecated argument "visualise" has been removed + from.feature.hog`. Use "visualize" instead.¨ + + `skimage.transform.seam_carve` has been completely removed from + the library due to licensing restrictions. + + Parameter "as_grey" has been removed from `skimage.data.load` + and `skimage.io.imread`. Use "as_gray" instead. + + Parameter "min_size" has been removed from + `skimage.morphology.remove_small_holes`. Use "area_threshold" + instead. + + Deprecated "correct_mesh_orientation" in `skimage.measure` has + been removed. + + `skimage.measure._regionprops` has been completely switched to + using-column coordinates. Old x-y interface is not longer + available. + + Default value of "behavior" parameter has been set to "ndimage" + in `skimage.filters.median`. + + Parameter "flatten" in `skimage.io.imread` has been removed in + favor of "as_gray". + + Parameters "Hxx, Hxy, Hyy" have been removed from + `skimage.feature.corner.hessian_matrix_eigvals` in favor of + "H_elems". + + Default value of "order" parameter has been set to "rc" in + `skimage.feature.hessian_matrix`. + + "skimage.util.img_as_*" functions no longer raise precision + and/or loss warnings. + * Bugfixes + + Corrected error with scales attribute in ORB.detect_and_extract + (#2835) The scales attribute wasn't taking into account the + mask, and thus was using an incorrect array size. + + Correct for bias in Inverse Randon Transform + (`skimage.transform.irandon`) (#3067) Fixed by using the Ramp + filter equation in the spatial domain as described in the + reference + + Fix a rounding issue that caused a rotated image to have a + different size than the input (`skimage.transform.rotate`) + (#3173) + + RANSAC uses random subsets of the original data and not + bootstraps. (#3901, #3915) + + Canny now produces the same output regardless of dtype (#3919) + + Geometry Transforms: avoid division by zero & some degenerate + cases (#3926) + + Fixed float32 support in denoise_bilateral and + denoise_tv_bregman (#3936) + + Fixed computation of Meijering filter and avoid + ZeroDivisionError (#3957) + + Fixed `skimage.filters.threshold_li` to prevent being stuck on + stationnary points, and thus at local minima or maxima (#3966) + + Edited `skimage.exposure.rescale_intensity` to return input + image instead of nans when all 0 (#4015) + + Fixed `skimage.morphology.medial_axis`. A wrong indentation in + Cython caused the function to not behave as intended. (#4060) + + Fixed `skimage.restoration.denoise_bilateral` by correcting the + padding in the gaussian filter(#4080) + + Fixed `skimage.measure.find_contours` when input image contains + NaN. Contours interesting NaN will be left open (#4150) + + Fixed `skimage.feature.blob_log` and `skimage.feature.blob_dog` + for 3D images and anisotropic data (#4162) + + Fixed `skimage.exposure.adjust_gamma`, + `skimage.exposure.adjust_log`, and + `skimage.exposure.adjust_sigmoid` such that when provided with a + 1 by 1 ndarray, it returns 1 by 1 ndarrays and not single number + floats (#4169) + * Deprecations + + Parameter "neighbors" in `skimage.measure.convex_hull_object` + has been deprecated in favor of "connectivity" and will be + removed in version 0.18.0. + + The following functions are deprecated in favor of the + `skimage.metrics` module (#4025): + - `skimage.measure.compare_mse` + - `skimage.measure.compare_nrmse` + - `skimage.measure.compare_psnr` + - `skimage.measure.compare_ssim` + + The function `skimage.color.guess_spatial_dimensions` is + deprecated and will be removed in 0.18 (#4031) + + The argument "bc" in `skimage.segmentation.active_contour` is + deprecated. + + The function `skimage.data.load` is deprecated and will be + removed in 0.18 (#4061) + + The function `skimage.transform.match_histogram` is deprecated + in favor of `skimage.exposure.match_histogram` (#4107) + + The parameter "neighbors" of + `skimage.morphology.convex_hull_object` is deprecated. + + The `skimage.transform.randon_tranform` function will convert + input image of integer type to float by default in 0.18. To + preserve current behaviour, set the new argument + "preserve_range" to True. (#4131) + * For further documentation improvements and misc pull request see + https://github.com/scikit-image/scikit-image/blob/v0.16.x/doc/release/release_0.16.rst + +------------------------------------------------------------------- +Wed Jul 31 20:59:24 UTC 2019 - Todd R <toddrme2...@gmail.com> + +- Add fix_numpy_1_17.patch + Fixes building with numpy 1.17 + From gh#scikit-image/scikit-image#3992 + +------------------------------------------------------------------- +Sat Jul 27 18:12:14 UTC 2019 - Bernhard Wiedemann <bwiedem...@suse.com> + +- do not write unreproducible test_random_walker.cpython-37-PYTEST.pyc + files (boo#1062303) + +------------------------------------------------------------------- +Tue Jul 23 17:22:19 UTC 2019 - Todd R <toddrme2...@gmail.com> + + + New Features + * N-dimensional flood fill, with tolerance + * Attribute operators + * Extension of register_translation to enable subpixel precision in 3D and ++++ 560 more lines (skipped) ++++ between /work/SRC/openSUSE:Leap:15.2/python-scikit-image/python-scikit-image.changes ++++ and /work/SRC/openSUSE:Leap:15.2/.python-scikit-image.new.2738/python-scikit-image.changes Old: ---- scikit-image-0.13.1.tar.gz New: ---- scikit-image-0.16.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-scikit-image.spec ++++++ --- /var/tmp/diff_new_pack.RBKRhy/_old 2020-05-21 12:57:39.946576375 +0200 +++ /var/tmp/diff_new_pack.RBKRhy/_new 2020-05-21 12:57:39.946576375 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-scikit-image # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,24 +12,20 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # -# Test discovery issues -%bcond_with tests - %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define oldpython python +%define skip_python2 1 Name: python-scikit-image -Version: 0.13.1 +Version: 0.16.2 Release: 0 Summary: Collection of algorithms for image processing in Python License: BSD-3-Clause -Group: Productivity/Scientific/Other -Url: http://scikit-image.org/ +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.23} +BuildRequires: %{python_module Cython >= 0.23.4} BuildRequires: %{python_module devel} BuildRequires: %{python_module numpy-devel >= 1.11} BuildRequires: %{python_module scipy >= 0.17} @@ -37,16 +33,8 @@ BuildRequires: %{python_module six >= 1.7.3} BuildRequires: fdupes BuildRequires: freeimage-devel +BuildRequires: gcc-c++ BuildRequires: python-rpm-macros -%if %{with tests} -BuildRequires: %{python_module nose} -BuildRequires: %{python_module pytest} -# Runtime dependencies -BuildRequires: %{python_module Pillow >= 2.1.0} -BuildRequires: %{python_module PyWavelets >= 0.4.0} -BuildRequires: %{python_module matplotlib >= 1.3.1} -BuildRequires: %{python_module networkx >= 1.8} -%endif Requires: python-Pillow >= 2.1.0 Requires: python-PyWavelets >= 0.4.0 Requires: python-matplotlib >= 1.3.1 @@ -54,19 +42,24 @@ Requires: python-numpy >= 1.11 Requires: python-scipy >= 0.17 Requires: python-six >= 1.7.3 -Recommends: python-pyamg +Requires(post): update-alternatives +Requires(preun): update-alternatives Recommends: python-SimpleITK Recommends: python-astropy Recommends: python-dask-array >= 0.5.0 Recommends: python-imread +Recommends: python-pyamg Recommends: python-qt4 -%ifpython2 -Provides: %{oldpython}-scikits-image = %{version} -Obsoletes: %{oldpython}-scikits-image < %{version} -%endif -Requires(post): update-alternatives -Requires(preun): update-alternatives -BuildRoot: %{_tmppath}/%{name}-%{version}-build +# SECTION test requirements +BuildRequires: %{python_module Pillow >= 2.1.0} +BuildRequires: %{python_module PyWavelets >= 0.4.0} +BuildRequires: %{python_module imageio} +BuildRequires: %{python_module matplotlib >= 1.3.1} +BuildRequires: %{python_module networkx >= 1.8} +BuildRequires: %{python_module pytest >= 4.0} +BuildRequires: %{python_module pytest-localserver} +BuildRequires: %{python_module pytest-xdist} +# /SECTION %python_subpackages %description @@ -75,6 +68,7 @@ %prep %setup -q -n scikit-image-%{version} +%autopatch -p1 %build %python_build @@ -91,20 +85,17 @@ %preun %python_uninstall_alternative skivi -%if %{with tests} %check -mkdir tester -pushd tester -%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch} -py.test-%{$python_bin_suffix} -v skimage -} -popd -rm -r tester -%endif +export PYTHONDONTWRITEBYTECODE=1 # do not write unreproducible test_random_walker.cpython-37-PYTEST.pyc files (boo#1062303) +mv skimage skimage_temp +# test_wrap_around - fails randomly https://github.com/scikit-image/scikit-image/issues/3237 +# test_structural_similarity_dtype - also fails randomly on 32bit +%pytest_arch -v %{buildroot}%{$python_sitearch}/skimage -n auto -k 'not (test_wrap_around or test_structural_similarity_dtype)' +mv skimage_temp skimage %files %{python_files} -%defattr(-,root,root) -%doc CONTRIBUTORS.txt LICENSE.txt TASKS.txt TODO.txt +%license LICENSE.txt +%doc CONTRIBUTORS.txt TODO.txt %python_alternative %{_bindir}/skivi %{python_sitearch}/skimage/ %{python_sitearch}/scikit_image-%{version}-py*.egg-info ++++++ scikit-image-0.13.1.tar.gz -> scikit-image-0.16.2.tar.gz ++++++ /work/SRC/openSUSE:Leap:15.2/python-scikit-image/scikit-image-0.13.1.tar.gz /work/SRC/openSUSE:Leap:15.2/.python-scikit-image.new.2738/scikit-image-0.16.2.tar.gz differ: char 5, line 1