Source: skimage
Version: 0.18.3-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20220412 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> # pass
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_auto_test -O--buildsystem=pybuild -Npython3-skimage -Npython-skimage-doc
> I: pybuild base:239: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build; 
> python3.9 -m pytest 
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.9.12, pytest-6.2.5, py-1.10.0, pluggy-1.0.0
> rootdir: /<<PKGBUILDDIR>>, configfile: setup.cfg
> collected 6232 items / 4 skipped / 6228 selected
> 
> skimage/_shared/tests/test_coord.py .................................... [  
> 0%]
> ......                                                                   [  
> 0%]
> skimage/_shared/tests/test_fast_exp.py .                                 [  
> 0%]
> skimage/_shared/tests/test_geometry.py ...                               [  
> 0%]
> skimage/_shared/tests/test_interpolation.py .                            [  
> 0%]
> skimage/_shared/tests/test_safe_as_int.py ..                             [  
> 0%]
> skimage/_shared/tests/test_testing.py .....                              [  
> 0%]
> skimage/_shared/tests/test_utils.py .................................... [  
> 1%]
> ...............................                                          [  
> 1%]
> skimage/_shared/tests/test_version_requirements.py ....                  [  
> 2%]
> skimage/_shared/tests/test_warnings.py .........                         [  
> 2%]
> skimage/color/tests/test_adapt_rgb.py .......                            [  
> 2%]
> skimage/color/tests/test_colorconv.py .................................. [  
> 2%]
> ........................................................................ [  
> 3%]
> ........................................................................ [  
> 5%]
> ................................................                         [  
> 5%]
> skimage/color/tests/test_colorlabel.py ..................                [  
> 6%]
> skimage/color/tests/test_delta_e.py ........                             [  
> 6%]
> skimage/data/tests/test_data.py ........s...........s.sssss              [  
> 6%]
> skimage/draw/tests/test_draw.py ........................................ [  
> 7%]
> ...........                                                              [  
> 7%]
> skimage/draw/tests/test_draw3d.py ........                               [  
> 7%]
> skimage/draw/tests/test_draw_nd.py ...                                   [  
> 7%]
> skimage/draw/tests/test_polygon2mask.py .                                [  
> 7%]
> skimage/draw/tests/test_random_shapes.py ..............                  [  
> 7%]
> skimage/exposure/tests/test_exposure.py ................................ [  
> 8%]
> ....................................                                     [  
> 9%]
> skimage/exposure/tests/test_histogram_matching.py ......                 [  
> 9%]
> skimage/feature/tests/test_basic_features.py .....                       [  
> 9%]
> skimage/feature/tests/test_blob.py ................                      [  
> 9%]
> skimage/feature/tests/test_brief.py ..............                       [  
> 9%]
> skimage/feature/tests/test_canny.py .........                            [  
> 9%]
> skimage/feature/tests/test_cascade.py .                                  [  
> 9%]
> skimage/feature/tests/test_censure.py ........                           [ 
> 10%]
> skimage/feature/tests/test_corner.py ................................    [ 
> 10%]
> skimage/feature/tests/test_daisy.py .......                              [ 
> 10%]
> skimage/feature/tests/test_haar.py ..................................... [ 
> 11%]
> ..................                                                       [ 
> 11%]
> skimage/feature/tests/test_hog.py ............                           [ 
> 11%]
> skimage/feature/tests/test_match.py ......                               [ 
> 11%]
> skimage/feature/tests/test_orb.py .............                          [ 
> 12%]
> skimage/feature/tests/test_peak.py ..................................... [ 
> 12%]
> ......................                                                   [ 
> 12%]
> skimage/feature/tests/test_template.py ..........                        [ 
> 13%]
> skimage/feature/tests/test_texture.py ...........................        [ 
> 13%]
> skimage/feature/tests/test_util.py .....                                 [ 
> 13%]
> skimage/filters/tests/test_correlate.py .......                          [ 
> 13%]
> skimage/filters/tests/test_edges.py .................................... [ 
> 14%]
> ..................................                                       [ 
> 14%]
> skimage/filters/tests/test_gabor.py ......                               [ 
> 14%]
> skimage/filters/tests/test_gaussian.py ...................               [ 
> 15%]
> skimage/filters/tests/test_lpi_filter.py ....                            [ 
> 15%]
> skimage/filters/tests/test_median.py ..............                      [ 
> 15%]
> skimage/filters/tests/test_ridges.py ..............                      [ 
> 15%]
> skimage/filters/tests/test_thresholding.py ............................. [ 
> 16%]
> ..............................................................           [ 
> 17%]
> skimage/filters/tests/test_unsharp_mask.py ............................. [ 
> 17%]
> ........................................................................ [ 
> 18%]
> ........................................................................ [ 
> 20%]
> ........................................................................ [ 
> 21%]
> ........................................................................ [ 
> 22%]
> ........................................................................ [ 
> 23%]
> ........................................................................ [ 
> 24%]
> ........................................................................ [ 
> 25%]
> ........................................................................ [ 
> 26%]
> ........................................................................ [ 
> 28%]
> ........................................................................ [ 
> 29%]
> ........................................................................ [ 
> 30%]
> ........................................................................ [ 
> 31%]
> ........................................................................ [ 
> 32%]
> ........................................................................ [ 
> 33%]
> ........................................................................ [ 
> 35%]
> ........................................................................ [ 
> 36%]
> ........................................................................ [ 
> 37%]
> ........................................................................ [ 
> 38%]
> ........................................................................ [ 
> 39%]
> ........................................................................ [ 
> 40%]
> ........................................................................ [ 
> 41%]
> ........................................................................ [ 
> 43%]
> ........................................................................ [ 
> 44%]
> ........................................................................ [ 
> 45%]
> ........................................................................ [ 
> 46%]
> ........................................................................ [ 
> 47%]
> ........................................................................ [ 
> 48%]
> ........................................................................ [ 
> 50%]
> ........................................................................ [ 
> 51%]
> ........................................................................ [ 
> 52%]
> ........................................................................ [ 
> 53%]
> ........................................................................ [ 
> 54%]
> ........................................................................ [ 
> 55%]
> ........................................................................ [ 
> 56%]
> ........................................................................ [ 
> 58%]
> ........................................................................ [ 
> 59%]
> ........................................................................ [ 
> 60%]
> ........................................................................ [ 
> 61%]
> ........................................................................ [ 
> 62%]
> ........................................................................ [ 
> 63%]
> ........................................................................ [ 
> 65%]
> ........................................................................ [ 
> 66%]
> ........................................................................ [ 
> 67%]
> ........................................................................ [ 
> 68%]
> ........................................................................ [ 
> 69%]
> ........................................................................ [ 
> 70%]
> ........................................................................ [ 
> 72%]
> ........................................................................ [ 
> 73%]
> ........................................................................ [ 
> 74%]
> ........................................................................ [ 
> 75%]
> .......                                                                  [ 
> 75%]
> skimage/filters/tests/test_window.py .................                   [ 
> 75%]
> skimage/future/graph/tests/test_rag.py ..........                        [ 
> 76%]
> skimage/future/tests/test_trainable_segmentation.py ....                 [ 
> 76%]
> skimage/graph/tests/test_anisotropy.py .                                 [ 
> 76%]
> skimage/graph/tests/test_connect.py .                                    [ 
> 76%]
> skimage/graph/tests/test_flexible.py .                                   [ 
> 76%]
> skimage/graph/tests/test_heap.py ..                                      [ 
> 76%]
> skimage/graph/tests/test_mcp.py ...............                          [ 
> 76%]
> skimage/graph/tests/test_spath.py ...                                    [ 
> 76%]
> skimage/io/tests/test_collection.py ............                         [ 
> 76%]
> skimage/io/tests/test_colormixer.py .....................                [ 
> 76%]
> skimage/io/tests/test_histograms.py ..                                   [ 
> 77%]
> skimage/io/tests/test_imageio.py ......                                  [ 
> 77%]
> skimage/io/tests/test_io.py ...x....                                     [ 
> 77%]
> skimage/io/tests/test_mpl_imshow.py .......                              [ 
> 77%]
> skimage/io/tests/test_multi_image.py .......                             [ 
> 77%]
> skimage/io/tests/test_pil.py .....F................F                     [ 
> 77%]
> skimage/io/tests/test_plugin.py ....                                     [ 
> 77%]
> skimage/io/tests/test_plugin_util.py ..........                          [ 
> 78%]
> skimage/io/tests/test_sift.py ..                                         [ 
> 78%]
> skimage/io/tests/test_tifffile.py ....................                   [ 
> 78%]
> skimage/measure/tests/test_block.py ........                             [ 
> 78%]
> skimage/measure/tests/test_ccomp.py ....................                 [ 
> 78%]
> skimage/measure/tests/test_entropy.py ..                                 [ 
> 78%]
> skimage/measure/tests/test_find_contours.py ..............               [ 
> 79%]
> skimage/measure/tests/test_fit.py .........................              [ 
> 79%]
> skimage/measure/tests/test_label.py ....                                 [ 
> 79%]
> skimage/measure/tests/test_marching_cubes.py .........                   [ 
> 79%]
> skimage/measure/tests/test_moments.py ............                       [ 
> 79%]
> skimage/measure/tests/test_pnpoly.py ....                                [ 
> 79%]
> skimage/measure/tests/test_polygon.py ..                                 [ 
> 80%]
> skimage/measure/tests/test_profile.py .........................          [ 
> 80%]
> skimage/measure/tests/test_regionprops.py .............................. [ 
> 80%]
> .................................                                        [ 
> 81%]
> skimage/measure/tests/test_structural_similarity.py ................     [ 
> 81%]
> skimage/metrics/tests/test_segmentation_metrics.py ....                  [ 
> 81%]
> skimage/metrics/tests/test_set_metrics.py .............................. [ 
> 82%]
> ..............                                                           [ 
> 82%]
> skimage/metrics/tests/test_simple_metrics.py ......                      [ 
> 82%]
> skimage/metrics/tests/test_structural_similarity.py ................     [ 
> 82%]
> skimage/morphology/tests/test_binary.py .................                [ 
> 83%]
> skimage/morphology/tests/test_convex_hull.py ........                    [ 
> 83%]
> skimage/morphology/tests/test_extrema.py ......................          [ 
> 83%]
> skimage/morphology/tests/test_flood_fill.py .................            [ 
> 83%]
> skimage/morphology/tests/test_grey.py ..........................         [ 
> 84%]
> skimage/morphology/tests/test_max_tree.py ........                       [ 
> 84%]
> skimage/morphology/tests/test_misc.py ...............                    [ 
> 84%]
> skimage/morphology/tests/test_reconstruction.py ............             [ 
> 84%]
> skimage/morphology/tests/test_selem.py ..........                        [ 
> 84%]
> skimage/morphology/tests/test_skeletonize.py ......................      [ 
> 85%]
> skimage/morphology/tests/test_skeletonize_3d.py .................        [ 
> 85%]
> skimage/morphology/tests/test_util.py ....................               [ 
> 85%]
> skimage/registration/tests/test_ilk.py .............                     [ 
> 86%]
> skimage/registration/tests/test_masked_phase_cross_correlation.py ...... [ 
> 86%]
> .....                                                                    [ 
> 86%]
> skimage/registration/tests/test_phase_cross_correlation.py ...........   [ 
> 86%]
> skimage/registration/tests/test_tvl1.py .......                          [ 
> 86%]
> skimage/restoration/tests/test_denoise.py .............................. [ 
> 87%]
> ........................................................................ [ 
> 88%]
> ............................                                             [ 
> 88%]
> skimage/restoration/tests/test_inpaint.py ...                            [ 
> 88%]
> skimage/restoration/tests/test_j_invariant.py ......                     [ 
> 88%]
> skimage/restoration/tests/test_restoration.py ....ssss                   [ 
> 88%]
> skimage/restoration/tests/test_rolling_ball.py ...............s          [ 
> 89%]
> skimage/restoration/tests/test_unwrap.py ................                [ 
> 89%]
> skimage/segmentation/tests/test_active_contour_model.py .......          [ 
> 89%]
> skimage/segmentation/tests/test_boundaries.py .....                      [ 
> 89%]
> skimage/segmentation/tests/test_chan_vese.py .........                   [ 
> 89%]
> skimage/segmentation/tests/test_clear_border.py ......                   [ 
> 89%]
> skimage/segmentation/tests/test_expand_labels.py ...................     [ 
> 90%]
> skimage/segmentation/tests/test_felzenszwalb.py ......                   [ 
> 90%]
> skimage/segmentation/tests/test_join.py ................................ [ 
> 90%]
> .............                                                            [ 
> 91%]
> skimage/segmentation/tests/test_morphsnakes.py ........                  [ 
> 91%]
> skimage/segmentation/tests/test_quickshift.py ...                        [ 
> 91%]
> skimage/segmentation/tests/test_random_walker.py ...................     [ 
> 91%]
> skimage/segmentation/tests/test_slic.py ..........................       [ 
> 91%]
> skimage/segmentation/tests/test_watershed.py ..................          [ 
> 92%]
> skimage/transform/tests/test_finite_radon_transform.py .                 [ 
> 92%]
> skimage/transform/tests/test_geometric.py .............................. [ 
> 92%]
> .                                                                        [ 
> 92%]
> skimage/transform/tests/test_hough_transform.py ........................ [ 
> 93%]
> .......                                                                  [ 
> 93%]
> skimage/transform/tests/test_integral.py ....                            [ 
> 93%]
> skimage/transform/tests/test_pyramids.py .................               [ 
> 93%]
> skimage/transform/tests/test_radon_transform.py ........................ [ 
> 93%]
> ........................................................................ [ 
> 95%]
> ..........................                                               [ 
> 95%]
> skimage/transform/tests/test_warps.py .................................. [ 
> 96%]
> ................                                                         [ 
> 96%]
> skimage/util/tests/test_apply_parallel.py .................              [ 
> 96%]
> skimage/util/tests/test_arraycrop.py .......                             [ 
> 96%]
> skimage/util/tests/test_arraypad.py .................................... [ 
> 97%]
> ....................s......                                              [ 
> 97%]
> skimage/util/tests/test_compare.py .....                                 [ 
> 97%]
> skimage/util/tests/test_dtype.py ....................................... [ 
> 98%]
> ........                                                                 [ 
> 98%]
> skimage/util/tests/test_invert.py ......                                 [ 
> 98%]
> skimage/util/tests/test_map_array.py .....                               [ 
> 98%]
> skimage/util/tests/test_montage.py ........                              [ 
> 98%]
> skimage/util/tests/test_random_noise.py ..............                   [ 
> 99%]
> skimage/util/tests/test_regular_grid.py ....                             [ 
> 99%]
> skimage/util/tests/test_shape.py ..................                      [ 
> 99%]
> skimage/util/tests/test_unique_rows.py .....                             [ 
> 99%]
> skimage/viewer/tests/test_plugins.py ssssssssss                          [ 
> 99%]
> skimage/viewer/tests/test_tools.py ssssss                                [ 
> 99%]
> skimage/viewer/tests/test_utils.py ssss                                  [ 
> 99%]
> skimage/viewer/tests/test_viewer.py sss                                  [ 
> 99%]
> skimage/viewer/tests/test_widgets.py sssssss                             
> [100%]
> 
> =================================== FAILURES 
> ===================================
> _______________________ test_imread_index_png_with_alpha 
> _______________________
> 
>     def test_imread_index_png_with_alpha():
>         # The file `foo3x5x4indexed.png` was created with this array
>         # (3x5 is (height)x(width)):
>         dfoo = np.array([[[127, 0, 255, 255],
>                           [127, 0, 255, 255],
>                           [127, 0, 255, 255],
>                           [127, 0, 255, 255],
>                           [127, 0, 255, 255]],
>                          [[192, 192, 255, 0],
>                           [192, 192, 255, 0],
>                           [0, 0, 255, 0],
>                           [0, 0, 255, 0],
>                           [0, 0, 255, 0]],
>                          [[0, 31, 255, 255],
>                           [0, 31, 255, 255],
>                           [0, 31, 255, 255],
>                           [0, 31, 255, 255],
>                           [0, 31, 255, 255]]], dtype=np.uint8)
> >       img = imread(fetch('data/foo3x5x4indexed.png'))
> 
> skimage/io/tests/test_pil.py:107: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> skimage/io/_io.py:48: in imread
>     img = call_plugin('imread', fname, plugin=plugin, **plugin_args)
> skimage/io/manage_plugins.py:207: in call_plugin
>     return func(*args, **kwargs)
> skimage/io/_plugins/pil_plugin.py:49: in imread
>     return pil_to_ndarray(im, dtype=dtype, img_num=img_num)
> skimage/io/_plugins/pil_plugin.py:100: in pil_to_ndarray
>     grayscale = _palette_is_grayscale(image)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> pil_image = <PIL.PngImagePlugin.PngImageFile image mode=P size=5x3 at 
> 0x7F846C29DE20>
> 
>     def _palette_is_grayscale(pil_image):
>         """Return True if PIL image in palette mode is grayscale.
>     
>         Parameters
>         ----------
>         pil_image : PIL image
>             PIL Image that is in Palette mode.
>     
>         Returns
>         -------
>         is_grayscale : bool
>             True if all colors in image palette are gray.
>         """
>         if pil_image.mode != 'P':
>             raise ValueError('pil_image.mode must be equal to "P".')
>         # get palette as an array with R, G, B columns
> >       palette = np.asarray(pil_image.getpalette()).reshape((256, 3))
> E       ValueError: cannot reshape array of size 12 into shape (256,3)
> 
> skimage/io/_plugins/pil_plugin.py:163: ValueError
> _____________________________ test_extreme_palette 
> _____________________________
> 
>     def test_extreme_palette():
> >       img = imread(fetch('data/green_palette.png'))
> 
> skimage/io/tests/test_pil.py:298: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> skimage/io/_io.py:48: in imread
>     img = call_plugin('imread', fname, plugin=plugin, **plugin_args)
> skimage/io/manage_plugins.py:207: in call_plugin
>     return func(*args, **kwargs)
> skimage/io/_plugins/pil_plugin.py:49: in imread
>     return pil_to_ndarray(im, dtype=dtype, img_num=img_num)
> skimage/io/_plugins/pil_plugin.py:100: in pil_to_ndarray
>     grayscale = _palette_is_grayscale(image)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> pil_image = <PIL.PngImagePlugin.PngImageFile image mode=P size=320x240 at 
> 0x7F846C29D9A0>
> 
>     def _palette_is_grayscale(pil_image):
>         """Return True if PIL image in palette mode is grayscale.
>     
>         Parameters
>         ----------
>         pil_image : PIL image
>             PIL Image that is in Palette mode.
>     
>         Returns
>         -------
>         is_grayscale : bool
>             True if all colors in image palette are gray.
>         """
>         if pil_image.mode != 'P':
>             raise ValueError('pil_image.mode must be equal to "P".')
>         # get palette as an array with R, G, B columns
> >       palette = np.asarray(pil_image.getpalette()).reshape((256, 3))
> E       ValueError: cannot reshape array of size 57 into shape (256,3)
> 
> skimage/io/_plugins/pil_plugin.py:163: ValueError
> =============================== warnings summary 
> ===============================
> skimage/filters/rank/generic.py:1
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/skimage/filters/rank/generic.py:1:
>  DeprecationWarning: invalid escape sequence \-
>     """
> 
> skimage/restoration/tests/test_denoise.py:17
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/skimage/restoration/tests/test_denoise.py:17:
>  DeprecationWarning: invalid escape sequence \A
>     DASK_WARNING = 'dask is required for parallel computation, but it is not 
> available.  Computation will be performed serially.|\A\Z'
> 
> ../../../../../../usr/lib/python3.9/importlib/__init__.py:127
>   /usr/lib/python3.9/importlib/__init__.py:127: UserWarning: Viewer requires 
> Qt
>     return _bootstrap._gcd_import(name[level:], package, level)
> 
> .pybuild/cpython3_3.9/build/skimage/filters/tests/test_gabor.py: 1384 warnings
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/skimage/filters/_gabor.py:90: 
> DeprecationWarning: `np.complex` is a deprecated alias for the builtin 
> `complex`. To silence this warning, use `complex` by itself. Doing this will 
> not modify any behavior and is safe. If you specifically wanted the numpy 
> scalar type, use `np.complex128` here.
>   Deprecated in NumPy 1.20; for more details and guidance: 
> https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
>     g = np.zeros(y.shape, dtype=np.complex)
> 
> .pybuild/cpython3_3.9/build/skimage/io/tests/test_pil.py::test_imread_separate_channels
>   /usr/lib/python3/dist-packages/tifffile/tifffile.py:901: 
> DeprecationWarning: <tifffile.TiffWriter.write> data with shape (3, 16, 8) 
> and dtype 'float64' are stored as RGB with separate component planes. Future 
> versions will store such data as MINISBLACK in separate pages by default 
> unless the 'photometric' and 'planarconfig' parameters are specified.
>     result = tif.write(data, shape, dtype, **kwargs)
> 
> .pybuild/cpython3_3.9/build/skimage/io/tests/test_tifffile.py::test_tifffile_kwarg_passthrough
>   /usr/lib/python3/dist-packages/tifffile/tifffile.py:825: 
> DeprecationWarning: <tifffile.TiffFile> the 'fastij' argument is ignored
>     with TiffFile(files, **kwargs_file) as tif:
> 
> .pybuild/cpython3_3.9/build/skimage/io/tests/test_tifffile.py::test_tifffile_kwarg_passthrough
>   /usr/lib/python3/dist-packages/tifffile/tifffile.py:825: 
> DeprecationWarning: <tifffile.TiffFile> the 'multifile' argument is ignored
>     with TiffFile(files, **kwargs_file) as tif:
> 
> .pybuild/cpython3_3.9/build/skimage/io/tests/test_tifffile.py::test_tifffile_kwarg_passthrough
>   /usr/lib/python3/dist-packages/tifffile/tifffile.py:825: 
> DeprecationWarning: <tifffile.TiffFile> the 'multifile_close' argument is 
> ignored
>     with TiffFile(files, **kwargs_file) as tif:
> 
> .pybuild/cpython3_3.9/build/skimage/io/tests/test_tifffile.py::TestSave::test_imsave_roundtrip[shape7-float32]
>   /usr/lib/python3/dist-packages/tifffile/tifffile.py:901: 
> DeprecationWarning: <tifffile.TiffWriter.write> data with shape (10, 10, 3) 
> and dtype 'float32' are stored as RGB with contiguous samples. Future 
> versions will store such data as MINISBLACK in separate pages by default 
> unless the 'photometric' parameter is specified.
>     result = tif.write(data, shape, dtype, **kwargs)
> 
> .pybuild/cpython3_3.9/build/skimage/io/tests/test_tifffile.py::TestSave::test_imsave_roundtrip[shape8-int16]
>   /usr/lib/python3/dist-packages/tifffile/tifffile.py:901: 
> DeprecationWarning: <tifffile.TiffWriter.write> data with shape (10, 10, 3) 
> and dtype 'int16' are stored as RGB with contiguous samples. Future versions 
> will store such data as MINISBLACK in separate pages by default unless the 
> 'photometric' parameter is specified.
>     result = tif.write(data, shape, dtype, **kwargs)
> 
> .pybuild/cpython3_3.9/build/skimage/io/tests/test_tifffile.py::TestSave::test_imsave_roundtrip[shape9-float64]
>   /usr/lib/python3/dist-packages/tifffile/tifffile.py:901: 
> DeprecationWarning: <tifffile.TiffWriter.write> data with shape (10, 10, 3) 
> and dtype 'float64' are stored as RGB with contiguous samples. Future 
> versions will store such data as MINISBLACK in separate pages by default 
> unless the 'photometric' parameter is specified.
>     result = tif.write(data, shape, dtype, **kwargs)
> 
> .pybuild/cpython3_3.9/build/skimage/io/tests/test_tifffile.py::TestSave::test_imsave_roundtrip[shape12-float32]
>   /usr/lib/python3/dist-packages/tifffile/tifffile.py:901: 
> DeprecationWarning: <tifffile.TiffWriter.write> data with shape (10, 10, 4) 
> and dtype 'float32' are stored as RGB with contiguous samples. Future 
> versions will store such data as MINISBLACK in separate pages by default 
> unless the 'photometric' parameter is specified.
>     result = tif.write(data, shape, dtype, **kwargs)
> 
> .pybuild/cpython3_3.9/build/skimage/io/tests/test_tifffile.py::TestSave::test_imsave_roundtrip[shape13-int16]
>   /usr/lib/python3/dist-packages/tifffile/tifffile.py:901: 
> DeprecationWarning: <tifffile.TiffWriter.write> data with shape (10, 10, 4) 
> and dtype 'int16' are stored as RGB with contiguous samples. Future versions 
> will store such data as MINISBLACK in separate pages by default unless the 
> 'photometric' parameter is specified.
>     result = tif.write(data, shape, dtype, **kwargs)
> 
> .pybuild/cpython3_3.9/build/skimage/io/tests/test_tifffile.py::TestSave::test_imsave_roundtrip[shape14-float64]
>   /usr/lib/python3/dist-packages/tifffile/tifffile.py:901: 
> DeprecationWarning: <tifffile.TiffWriter.write> data with shape (10, 10, 4) 
> and dtype 'float64' are stored as RGB with contiguous samples. Future 
> versions will store such data as MINISBLACK in separate pages by default 
> unless the 'photometric' parameter is specified.
>     result = tif.write(data, shape, dtype, **kwargs)
> 
> .pybuild/cpython3_3.9/build/skimage/measure/tests/test_fit.py::test_ransac_is_data_valid
> .pybuild/cpython3_3.9/build/skimage/measure/tests/test_fit.py::test_ransac_is_model_valid
> .pybuild/cpython3_3.9/build/skimage/measure/tests/test_fit.py::test_ransac_sample_duplicates
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/skimage/measure/fit.py:879: 
> UserWarning: No inliers found. Model not fitted
>     warn("No inliers found. Model not fitted")
> 
> .pybuild/cpython3_3.9/build/skimage/registration/tests/test_masked_phase_cross_correlation.py::test_cross_correlate_masked_over_axes
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/skimage/registration/tests/test_masked_phase_cross_correlation.py:225:
>  DeprecationWarning: `np.complex` is a deprecated alias for the builtin 
> `complex`. To silence this warning, use `complex` by itself. Doing this will 
> not modify any behavior and is safe. If you specifically wanted the numpy 
> scalar type, use `np.complex128` here.
>   Deprecated in NumPy 1.20; for more details and guidance: 
> https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
>     with_loop = np.empty_like(arr1, dtype=np.complex)
> 
> .pybuild/cpython3_3.9/build/skimage/restoration/tests/test_restoration.py::test_richardson_lucy_filtered[float32-float32]
> .pybuild/cpython3_3.9/build/skimage/restoration/tests/test_restoration.py::test_richardson_lucy_filtered[float32-float64]
> .pybuild/cpython3_3.9/build/skimage/restoration/tests/test_restoration.py::test_richardson_lucy_filtered[float64-float32]
> .pybuild/cpython3_3.9/build/skimage/restoration/tests/test_restoration.py::test_richardson_lucy_filtered[float64-float64]
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/skimage/restoration/deconvolution.py:376:
>  RuntimeWarning: invalid value encountered in true_divide
>     relative_blur = np.where(conv < filter_epsilon, 0, image / conv)
> 
> .pybuild/cpython3_3.9/build/skimage/segmentation/tests/test_clear_border.py::test_clear_border
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/skimage/segmentation/tests/test_clear_border.py:37:
>  DeprecationWarning: `np.bool` is a deprecated alias for the builtin `bool`. 
> To silence this warning, use `bool` by itself. Doing this will not modify any 
> behavior and is safe. If you specifically wanted the numpy scalar type, use 
> `np.bool_` here.
>   Deprecated in NumPy 1.20; for more details and guidance: 
> https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
>     [1, 1, 1, 1, 1, 1, 1, 1, 1]]).astype(np.bool)
> 
> .pybuild/cpython3_3.9/build/skimage/util/tests/test_apply_parallel.py: 18 
> warnings
>   /usr/lib/python3/dist-packages/dask/array/overlap.py:642: FutureWarning: 
> Default 'boundary' argument value will change from 'reflect' to 'none' in 
> future versions from 2022.03.0 onwards. Use 'boundary="none"' to opt into the 
> future behavior now or set 'boundary="reflect"' to maintain the current 
> behavior going forward.
>     warnings.warn(
> 
> .pybuild/cpython3_3.9/build/skimage/util/tests/test_arraypad.py::TypeError1::test_check_wrong_pad_amount
>   /usr/lib/python3/dist-packages/numpy/lib/arraypad.py:737: 
> VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences 
> (which is a list-or-tuple of lists-or-tuples-or ndarrays with different 
> lengths or shapes) is deprecated. If you meant to do this, you must specify 
> 'dtype=object' when creating the ndarray.
>     pad_width = np.asarray(pad_width)
> 
> -- Docs: https://docs.pytest.org/en/stable/warnings.html
> =========================== short test summary info 
> ============================
> FAILED skimage/io/tests/test_pil.py::test_imread_index_png_with_alpha - 
> Value...
> FAILED skimage/io/tests/test_pil.py::test_extreme_palette - ValueError: 
> canno...
> = 2 failed, 6186 passed, 47 skipped, 1 xfailed, 1425 warnings in 170.91s 
> (0:02:50) =
> E: pybuild pybuild:369: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build; python3.9 -m pytest 
> I: pybuild base:239: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build; 
> python3.10 -m pytest 
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.10.4, pytest-6.2.5, py-1.10.0, pluggy-1.0.0
> rootdir: /<<PKGBUILDDIR>>, configfile: setup.cfg
> collected 6232 items / 4 skipped / 6228 selected
> 
> skimage/_shared/tests/test_coord.py .................................... [  
> 0%]
> ......                                                                   [  
> 0%]
> skimage/_shared/tests/test_fast_exp.py .                                 [  
> 0%]
> skimage/_shared/tests/test_geometry.py ...                               [  
> 0%]
> skimage/_shared/tests/test_interpolation.py .                            [  
> 0%]
> skimage/_shared/tests/test_safe_as_int.py ..                             [  
> 0%]
> skimage/_shared/tests/test_testing.py .....                              [  
> 0%]
> skimage/_shared/tests/test_utils.py .................................... [  
> 1%]
> ...............................                                          [  
> 1%]
> skimage/_shared/tests/test_version_requirements.py ....                  [  
> 2%]
> skimage/_shared/tests/test_warnings.py .........                         [  
> 2%]
> skimage/color/tests/test_adapt_rgb.py .......                            [  
> 2%]
> skimage/color/tests/test_colorconv.py .................................. [  
> 2%]
> ........................................................................ [  
> 3%]
> ........................................................................ [  
> 5%]
> ................................................                         [  
> 5%]
> skimage/color/tests/test_colorlabel.py ..................                [  
> 6%]
> skimage/color/tests/test_delta_e.py ........                             [  
> 6%]
> skimage/data/tests/test_data.py ........s...........s.sssss              [  
> 6%]
> skimage/draw/tests/test_draw.py ........................................ [  
> 7%]
> ...........                                                              [  
> 7%]
> skimage/draw/tests/test_draw3d.py ........                               [  
> 7%]
> skimage/draw/tests/test_draw_nd.py ...                                   [  
> 7%]
> skimage/draw/tests/test_polygon2mask.py .                                [  
> 7%]
> skimage/draw/tests/test_random_shapes.py ..............                  [  
> 7%]
> skimage/exposure/tests/test_exposure.py ................................ [  
> 8%]
> ....................................                                     [  
> 9%]
> skimage/exposure/tests/test_histogram_matching.py ......                 [  
> 9%]
> skimage/feature/tests/test_basic_features.py .....                       [  
> 9%]
> skimage/feature/tests/test_blob.py ................                      [  
> 9%]
> skimage/feature/tests/test_brief.py ..............                       [  
> 9%]
> skimage/feature/tests/test_canny.py .........                            [  
> 9%]
> skimage/feature/tests/test_cascade.py .                                  [  
> 9%]
> skimage/feature/tests/test_censure.py ........                           [ 
> 10%]
> skimage/feature/tests/test_corner.py ................................    [ 
> 10%]
> skimage/feature/tests/test_daisy.py .......                              [ 
> 10%]
> skimage/feature/tests/test_haar.py ..................................... [ 
> 11%]
> ..................                                                       [ 
> 11%]
> skimage/feature/tests/test_hog.py ............                           [ 
> 11%]
> skimage/feature/tests/test_match.py ......                               [ 
> 11%]
> skimage/feature/tests/test_orb.py .............                          [ 
> 12%]
> skimage/feature/tests/test_peak.py ..................................... [ 
> 12%]
> ......................                                                   [ 
> 12%]
> skimage/feature/tests/test_template.py ..........                        [ 
> 13%]
> skimage/feature/tests/test_texture.py ...........................        [ 
> 13%]
> skimage/feature/tests/test_util.py .....                                 [ 
> 13%]
> skimage/filters/tests/test_correlate.py .......                          [ 
> 13%]
> skimage/filters/tests/test_edges.py .................................... [ 
> 14%]
> ..................................                                       [ 
> 14%]
> skimage/filters/tests/test_gabor.py ......                               [ 
> 14%]
> skimage/filters/tests/test_gaussian.py ...................               [ 
> 15%]
> skimage/filters/tests/test_lpi_filter.py ....                            [ 
> 15%]
> skimage/filters/tests/test_median.py ..............                      [ 
> 15%]
> skimage/filters/tests/test_ridges.py ..............                      [ 
> 15%]
> skimage/filters/tests/test_thresholding.py ............................. [ 
> 16%]
> ..............................................................           [ 
> 17%]
> skimage/filters/tests/test_unsharp_mask.py ............................. [ 
> 17%]
> ........................................................................ [ 
> 18%]
> ........................................................................ [ 
> 20%]
> ........................................................................ [ 
> 21%]
> ........................................................................ [ 
> 22%]
> ........................................................................ [ 
> 23%]
> ........................................................................ [ 
> 24%]
> ........................................................................ [ 
> 25%]
> ........................................................................ [ 
> 26%]
> ........................................................................ [ 
> 28%]
> ........................................................................ [ 
> 29%]
> ........................................................................ [ 
> 30%]
> ........................................................................ [ 
> 31%]
> ........................................................................ [ 
> 32%]
> ........................................................................ [ 
> 33%]
> ........................................................................ [ 
> 35%]
> ........................................................................ [ 
> 36%]
> ........................................................................ [ 
> 37%]
> ........................................................................ [ 
> 38%]
> ........................................................................ [ 
> 39%]
> ........................................................................ [ 
> 40%]
> ........................................................................ [ 
> 41%]
> ........................................................................ [ 
> 43%]
> ........................................................................ [ 
> 44%]
> ........................................................................ [ 
> 45%]
> ........................................................................ [ 
> 46%]
> ........................................................................ [ 
> 47%]
> ........................................................................ [ 
> 48%]
> ........................................................................ [ 
> 50%]
> ........................................................................ [ 
> 51%]
> ........................................................................ [ 
> 52%]
> ........................................................................ [ 
> 53%]
> ........................................................................ [ 
> 54%]
> ........................................................................ [ 
> 55%]
> ........................................................................ [ 
> 56%]
> ........................................................................ [ 
> 58%]
> ........................................................................ [ 
> 59%]
> ........................................................................ [ 
> 60%]
> ........................................................................ [ 
> 61%]
> ........................................................................ [ 
> 62%]
> ........................................................................ [ 
> 63%]
> ........................................................................ [ 
> 65%]
> ........................................................................ [ 
> 66%]
> ........................................................................ [ 
> 67%]
> ........................................................................ [ 
> 68%]
> ........................................................................ [ 
> 69%]
> ........................................................................ [ 
> 70%]
> ........................................................................ [ 
> 72%]
> ........................................................................ [ 
> 73%]
> ........................................................................ [ 
> 74%]
> ........................................................................ [ 
> 75%]
> .......                                                                  [ 
> 75%]
> skimage/filters/tests/test_window.py .................                   [ 
> 75%]
> skimage/future/graph/tests/test_rag.py ..........                        [ 
> 76%]
> skimage/future/tests/test_trainable_segmentation.py ....                 [ 
> 76%]
> skimage/graph/tests/test_anisotropy.py .                                 [ 
> 76%]
> skimage/graph/tests/test_connect.py .                                    [ 
> 76%]
> skimage/graph/tests/test_flexible.py .                                   [ 
> 76%]
> skimage/graph/tests/test_heap.py ..                                      [ 
> 76%]
> skimage/graph/tests/test_mcp.py ...............                          [ 
> 76%]
> skimage/graph/tests/test_spath.py ...                                    [ 
> 76%]
> skimage/io/tests/test_collection.py ............                         [ 
> 76%]
> skimage/io/tests/test_colormixer.py .....................                [ 
> 76%]
> skimage/io/tests/test_histograms.py ..                                   [ 
> 77%]
> skimage/io/tests/test_imageio.py ......                                  [ 
> 77%]
> skimage/io/tests/test_io.py ...x....                                     [ 
> 77%]
> skimage/io/tests/test_mpl_imshow.py .......                              [ 
> 77%]
> skimage/io/tests/test_multi_image.py .......                             [ 
> 77%]
> skimage/io/tests/test_pil.py .....F................F                     [ 
> 77%]
> skimage/io/tests/test_plugin.py ....                                     [ 
> 77%]
> skimage/io/tests/test_plugin_util.py ..........                          [ 
> 78%]
> skimage/io/tests/test_sift.py ..                                         [ 
> 78%]
> skimage/io/tests/test_tifffile.py ....................                   [ 
> 78%]
> skimage/measure/tests/test_block.py ........                             [ 
> 78%]
> skimage/measure/tests/test_ccomp.py ....................                 [ 
> 78%]
> skimage/measure/tests/test_entropy.py ..                                 [ 
> 78%]
> skimage/measure/tests/test_find_contours.py ..............               [ 
> 79%]
> skimage/measure/tests/test_fit.py .........................              [ 
> 79%]
> skimage/measure/tests/test_label.py ....                                 [ 
> 79%]
> skimage/measure/tests/test_marching_cubes.py .........                   [ 
> 79%]
> skimage/measure/tests/test_moments.py ............                       [ 
> 79%]
> skimage/measure/tests/test_pnpoly.py ....                                [ 
> 79%]
> skimage/measure/tests/test_polygon.py ..                                 [ 
> 80%]
> skimage/measure/tests/test_profile.py .........................          [ 
> 80%]
> skimage/measure/tests/test_regionprops.py .............................. [ 
> 80%]
> .................................                                        [ 
> 81%]
> skimage/measure/tests/test_structural_similarity.py ................     [ 
> 81%]
> skimage/metrics/tests/test_segmentation_metrics.py ....                  [ 
> 81%]
> skimage/metrics/tests/test_set_metrics.py .............................. [ 
> 82%]
> ..............                                                           [ 
> 82%]
> skimage/metrics/tests/test_simple_metrics.py ......                      [ 
> 82%]
> skimage/metrics/tests/test_structural_similarity.py ................     [ 
> 82%]
> skimage/morphology/tests/test_binary.py .................                [ 
> 83%]
> skimage/morphology/tests/test_convex_hull.py ........                    [ 
> 83%]
> skimage/morphology/tests/test_extrema.py ......................          [ 
> 83%]
> skimage/morphology/tests/test_flood_fill.py .................            [ 
> 83%]
> skimage/morphology/tests/test_grey.py ..........................         [ 
> 84%]
> skimage/morphology/tests/test_max_tree.py ........                       [ 
> 84%]
> skimage/morphology/tests/test_misc.py ...............                    [ 
> 84%]
> skimage/morphology/tests/test_reconstruction.py ............             [ 
> 84%]
> skimage/morphology/tests/test_selem.py ..........                        [ 
> 84%]
> skimage/morphology/tests/test_skeletonize.py ......................      [ 
> 85%]
> skimage/morphology/tests/test_skeletonize_3d.py .................        [ 
> 85%]
> skimage/morphology/tests/test_util.py ....................               [ 
> 85%]
> skimage/registration/tests/test_ilk.py .............                     [ 
> 86%]
> skimage/registration/tests/test_masked_phase_cross_correlation.py ...... [ 
> 86%]
> .....                                                                    [ 
> 86%]
> skimage/registration/tests/test_phase_cross_correlation.py ...........   [ 
> 86%]
> skimage/registration/tests/test_tvl1.py .......                          [ 
> 86%]
> skimage/restoration/tests/test_denoise.py .............................. [ 
> 87%]
> ........................................................................ [ 
> 88%]
> ............................                                             [ 
> 88%]
> skimage/restoration/tests/test_inpaint.py ...                            [ 
> 88%]
> skimage/restoration/tests/test_j_invariant.py ......                     [ 
> 88%]
> skimage/restoration/tests/test_restoration.py ....ssss                   [ 
> 88%]
> skimage/restoration/tests/test_rolling_ball.py ...............s          [ 
> 89%]
> skimage/restoration/tests/test_unwrap.py ................                [ 
> 89%]
> skimage/segmentation/tests/test_active_contour_model.py .......          [ 
> 89%]
> skimage/segmentation/tests/test_boundaries.py .....                      [ 
> 89%]
> skimage/segmentation/tests/test_chan_vese.py .........                   [ 
> 89%]
> skimage/segmentation/tests/test_clear_border.py ......                   [ 
> 89%]
> skimage/segmentation/tests/test_expand_labels.py ...................     [ 
> 90%]
> skimage/segmentation/tests/test_felzenszwalb.py ......                   [ 
> 90%]
> skimage/segmentation/tests/test_join.py ................................ [ 
> 90%]
> .............                                                            [ 
> 91%]
> skimage/segmentation/tests/test_morphsnakes.py ........                  [ 
> 91%]
> skimage/segmentation/tests/test_quickshift.py ...                        [ 
> 91%]
> skimage/segmentation/tests/test_random_walker.py ...................     [ 
> 91%]
> skimage/segmentation/tests/test_slic.py ..........................       [ 
> 91%]
> skimage/segmentation/tests/test_watershed.py ..................          [ 
> 92%]
> skimage/transform/tests/test_finite_radon_transform.py .                 [ 
> 92%]
> skimage/transform/tests/test_geometric.py .............................. [ 
> 92%]
> .                                                                        [ 
> 92%]
> skimage/transform/tests/test_hough_transform.py ........................ [ 
> 93%]
> .......                                                                  [ 
> 93%]
> skimage/transform/tests/test_integral.py ....                            [ 
> 93%]
> skimage/transform/tests/test_pyramids.py .................               [ 
> 93%]
> skimage/transform/tests/test_radon_transform.py ........................ [ 
> 93%]
> ........................................................................ [ 
> 95%]
> ..........................                                               [ 
> 95%]
> skimage/transform/tests/test_warps.py .................................. [ 
> 96%]
> ................                                                         [ 
> 96%]
> skimage/util/tests/test_apply_parallel.py .................              [ 
> 96%]
> skimage/util/tests/test_arraycrop.py .......                             [ 
> 96%]
> skimage/util/tests/test_arraypad.py .................................... [ 
> 97%]
> ....................s......                                              [ 
> 97%]
> skimage/util/tests/test_compare.py .....                                 [ 
> 97%]
> skimage/util/tests/test_dtype.py ....................................... [ 
> 98%]
> ........                                                                 [ 
> 98%]
> skimage/util/tests/test_invert.py ......                                 [ 
> 98%]
> skimage/util/tests/test_map_array.py .....                               [ 
> 98%]
> skimage/util/tests/test_montage.py ........                              [ 
> 98%]
> skimage/util/tests/test_random_noise.py ..............                   [ 
> 99%]
> skimage/util/tests/test_regular_grid.py ....                             [ 
> 99%]
> skimage/util/tests/test_shape.py ..................                      [ 
> 99%]
> skimage/util/tests/test_unique_rows.py .....                             [ 
> 99%]
> skimage/viewer/tests/test_plugins.py ssssssssss                          [ 
> 99%]
> skimage/viewer/tests/test_tools.py ssssss                                [ 
> 99%]
> skimage/viewer/tests/test_utils.py ssss                                  [ 
> 99%]
> skimage/viewer/tests/test_viewer.py sss                                  [ 
> 99%]
> skimage/viewer/tests/test_widgets.py sssssss                             
> [100%]
> 
> =================================== FAILURES 
> ===================================
> _______________________ test_imread_index_png_with_alpha 
> _______________________
> 
>     def test_imread_index_png_with_alpha():
>         # The file `foo3x5x4indexed.png` was created with this array
>         # (3x5 is (height)x(width)):
>         dfoo = np.array([[[127, 0, 255, 255],
>                           [127, 0, 255, 255],
>                           [127, 0, 255, 255],
>                           [127, 0, 255, 255],
>                           [127, 0, 255, 255]],
>                          [[192, 192, 255, 0],
>                           [192, 192, 255, 0],
>                           [0, 0, 255, 0],
>                           [0, 0, 255, 0],
>                           [0, 0, 255, 0]],
>                          [[0, 31, 255, 255],
>                           [0, 31, 255, 255],
>                           [0, 31, 255, 255],
>                           [0, 31, 255, 255],
>                           [0, 31, 255, 255]]], dtype=np.uint8)
> >       img = imread(fetch('data/foo3x5x4indexed.png'))
> 
> skimage/io/tests/test_pil.py:107: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> skimage/io/_io.py:48: in imread
>     img = call_plugin('imread', fname, plugin=plugin, **plugin_args)
> skimage/io/manage_plugins.py:207: in call_plugin
>     return func(*args, **kwargs)
> skimage/io/_plugins/pil_plugin.py:49: in imread
>     return pil_to_ndarray(im, dtype=dtype, img_num=img_num)
> skimage/io/_plugins/pil_plugin.py:100: in pil_to_ndarray
>     grayscale = _palette_is_grayscale(image)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> pil_image = <PIL.PngImagePlugin.PngImageFile image mode=P size=5x3 at 
> 0x7EFE0C340370>
> 
>     def _palette_is_grayscale(pil_image):
>         """Return True if PIL image in palette mode is grayscale.
>     
>         Parameters
>         ----------
>         pil_image : PIL image
>             PIL Image that is in Palette mode.
>     
>         Returns
>         -------
>         is_grayscale : bool
>             True if all colors in image palette are gray.
>         """
>         if pil_image.mode != 'P':
>             raise ValueError('pil_image.mode must be equal to "P".')
>         # get palette as an array with R, G, B columns
> >       palette = np.asarray(pil_image.getpalette()).reshape((256, 3))
> E       ValueError: cannot reshape array of size 12 into shape (256,3)
> 
> skimage/io/_plugins/pil_plugin.py:163: ValueError
> _____________________________ test_extreme_palette 
> _____________________________
> 
>     def test_extreme_palette():
> >       img = imread(fetch('data/green_palette.png'))
> 
> skimage/io/tests/test_pil.py:298: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> skimage/io/_io.py:48: in imread
>     img = call_plugin('imread', fname, plugin=plugin, **plugin_args)
> skimage/io/manage_plugins.py:207: in call_plugin
>     return func(*args, **kwargs)
> skimage/io/_plugins/pil_plugin.py:49: in imread
>     return pil_to_ndarray(im, dtype=dtype, img_num=img_num)
> skimage/io/_plugins/pil_plugin.py:100: in pil_to_ndarray
>     grayscale = _palette_is_grayscale(image)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> pil_image = <PIL.PngImagePlugin.PngImageFile image mode=P size=320x240 at 
> 0x7EFE0C354460>
> 
>     def _palette_is_grayscale(pil_image):
>         """Return True if PIL image in palette mode is grayscale.
>     
>         Parameters
>         ----------
>         pil_image : PIL image
>             PIL Image that is in Palette mode.
>     
>         Returns
>         -------
>         is_grayscale : bool
>             True if all colors in image palette are gray.
>         """
>         if pil_image.mode != 'P':
>             raise ValueError('pil_image.mode must be equal to "P".')
>         # get palette as an array with R, G, B columns
> >       palette = np.asarray(pil_image.getpalette()).reshape((256, 3))
> E       ValueError: cannot reshape array of size 57 into shape (256,3)
> 
> skimage/io/_plugins/pil_plugin.py:163: ValueError
> =============================== warnings summary 
> ===============================
> skimage/data/__init__.py:8
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/skimage/data/__init__.py:8: 
> DeprecationWarning: The distutils package is deprecated and slated for 
> removal in Python 3.12. Use setuptools or check PEP 632 for potential 
> alternatives
>     from distutils.version import LooseVersion
> 
> skimage/filters/rank/generic.py:1
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/skimage/filters/rank/generic.py:1:
>  DeprecationWarning: invalid escape sequence '\-'
>     """
> 
> skimage/restoration/tests/test_denoise.py:17
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/skimage/restoration/tests/test_denoise.py:17:
>  DeprecationWarning: invalid escape sequence '\A'
>     DASK_WARNING = 'dask is required for parallel computation, but it is not 
> available.  Computation will be performed serially.|\A\Z'
> 
> ../../../../../../usr/lib/python3.10/importlib/__init__.py:126
>   /usr/lib/python3.10/importlib/__init__.py:126: UserWarning: Viewer requires 
> Qt
>     return _bootstrap._gcd_import(name[level:], package, level)
> 
> .pybuild/cpython3_3.10/build/skimage/filters/tests/test_gabor.py: 1384 
> warnings
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/skimage/filters/_gabor.py:90: 
> DeprecationWarning: `np.complex` is a deprecated alias for the builtin 
> `complex`. To silence this warning, use `complex` by itself. Doing this will 
> not modify any behavior and is safe. If you specifically wanted the numpy 
> scalar type, use `np.complex128` here.
>   Deprecated in NumPy 1.20; for more details and guidance: 
> https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
>     g = np.zeros(y.shape, dtype=np.complex)
> 
> .pybuild/cpython3_3.10/build/skimage/io/tests/test_pil.py::test_imread_separate_channels
>   /usr/lib/python3/dist-packages/tifffile/tifffile.py:901: 
> DeprecationWarning: <tifffile.TiffWriter.write> data with shape (3, 16, 8) 
> and dtype 'float64' are stored as RGB with separate component planes. Future 
> versions will store such data as MINISBLACK in separate pages by default 
> unless the 'photometric' and 'planarconfig' parameters are specified.
>     result = tif.write(data, shape, dtype, **kwargs)
> 
> .pybuild/cpython3_3.10/build/skimage/io/tests/test_tifffile.py::test_tifffile_kwarg_passthrough
>   /usr/lib/python3/dist-packages/tifffile/tifffile.py:825: 
> DeprecationWarning: <tifffile.TiffFile> the 'fastij' argument is ignored
>     with TiffFile(files, **kwargs_file) as tif:
> 
> .pybuild/cpython3_3.10/build/skimage/io/tests/test_tifffile.py::test_tifffile_kwarg_passthrough
>   /usr/lib/python3/dist-packages/tifffile/tifffile.py:825: 
> DeprecationWarning: <tifffile.TiffFile> the 'multifile' argument is ignored
>     with TiffFile(files, **kwargs_file) as tif:
> 
> .pybuild/cpython3_3.10/build/skimage/io/tests/test_tifffile.py::test_tifffile_kwarg_passthrough
>   /usr/lib/python3/dist-packages/tifffile/tifffile.py:825: 
> DeprecationWarning: <tifffile.TiffFile> the 'multifile_close' argument is 
> ignored
>     with TiffFile(files, **kwargs_file) as tif:
> 
> .pybuild/cpython3_3.10/build/skimage/io/tests/test_tifffile.py::TestSave::test_imsave_roundtrip[shape7-float32]
>   /usr/lib/python3/dist-packages/tifffile/tifffile.py:901: 
> DeprecationWarning: <tifffile.TiffWriter.write> data with shape (10, 10, 3) 
> and dtype 'float32' are stored as RGB with contiguous samples. Future 
> versions will store such data as MINISBLACK in separate pages by default 
> unless the 'photometric' parameter is specified.
>     result = tif.write(data, shape, dtype, **kwargs)
> 
> .pybuild/cpython3_3.10/build/skimage/io/tests/test_tifffile.py::TestSave::test_imsave_roundtrip[shape8-int16]
>   /usr/lib/python3/dist-packages/tifffile/tifffile.py:901: 
> DeprecationWarning: <tifffile.TiffWriter.write> data with shape (10, 10, 3) 
> and dtype 'int16' are stored as RGB with contiguous samples. Future versions 
> will store such data as MINISBLACK in separate pages by default unless the 
> 'photometric' parameter is specified.
>     result = tif.write(data, shape, dtype, **kwargs)
> 
> .pybuild/cpython3_3.10/build/skimage/io/tests/test_tifffile.py::TestSave::test_imsave_roundtrip[shape9-float64]
>   /usr/lib/python3/dist-packages/tifffile/tifffile.py:901: 
> DeprecationWarning: <tifffile.TiffWriter.write> data with shape (10, 10, 3) 
> and dtype 'float64' are stored as RGB with contiguous samples. Future 
> versions will store such data as MINISBLACK in separate pages by default 
> unless the 'photometric' parameter is specified.
>     result = tif.write(data, shape, dtype, **kwargs)
> 
> .pybuild/cpython3_3.10/build/skimage/io/tests/test_tifffile.py::TestSave::test_imsave_roundtrip[shape12-float32]
>   /usr/lib/python3/dist-packages/tifffile/tifffile.py:901: 
> DeprecationWarning: <tifffile.TiffWriter.write> data with shape (10, 10, 4) 
> and dtype 'float32' are stored as RGB with contiguous samples. Future 
> versions will store such data as MINISBLACK in separate pages by default 
> unless the 'photometric' parameter is specified.
>     result = tif.write(data, shape, dtype, **kwargs)
> 
> .pybuild/cpython3_3.10/build/skimage/io/tests/test_tifffile.py::TestSave::test_imsave_roundtrip[shape13-int16]
>   /usr/lib/python3/dist-packages/tifffile/tifffile.py:901: 
> DeprecationWarning: <tifffile.TiffWriter.write> data with shape (10, 10, 4) 
> and dtype 'int16' are stored as RGB with contiguous samples. Future versions 
> will store such data as MINISBLACK in separate pages by default unless the 
> 'photometric' parameter is specified.
>     result = tif.write(data, shape, dtype, **kwargs)
> 
> .pybuild/cpython3_3.10/build/skimage/io/tests/test_tifffile.py::TestSave::test_imsave_roundtrip[shape14-float64]
>   /usr/lib/python3/dist-packages/tifffile/tifffile.py:901: 
> DeprecationWarning: <tifffile.TiffWriter.write> data with shape (10, 10, 4) 
> and dtype 'float64' are stored as RGB with contiguous samples. Future 
> versions will store such data as MINISBLACK in separate pages by default 
> unless the 'photometric' parameter is specified.
>     result = tif.write(data, shape, dtype, **kwargs)
> 
> .pybuild/cpython3_3.10/build/skimage/measure/tests/test_fit.py::test_ransac_is_data_valid
> .pybuild/cpython3_3.10/build/skimage/measure/tests/test_fit.py::test_ransac_is_model_valid
> .pybuild/cpython3_3.10/build/skimage/measure/tests/test_fit.py::test_ransac_sample_duplicates
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/skimage/measure/fit.py:879: 
> UserWarning: No inliers found. Model not fitted
>     warn("No inliers found. Model not fitted")
> 
> .pybuild/cpython3_3.10/build/skimage/registration/tests/test_masked_phase_cross_correlation.py::test_cross_correlate_masked_over_axes
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/skimage/registration/tests/test_masked_phase_cross_correlation.py:225:
>  DeprecationWarning: `np.complex` is a deprecated alias for the builtin 
> `complex`. To silence this warning, use `complex` by itself. Doing this will 
> not modify any behavior and is safe. If you specifically wanted the numpy 
> scalar type, use `np.complex128` here.
>   Deprecated in NumPy 1.20; for more details and guidance: 
> https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
>     with_loop = np.empty_like(arr1, dtype=np.complex)
> 
> .pybuild/cpython3_3.10/build/skimage/restoration/tests/test_restoration.py::test_richardson_lucy_filtered[float32-float32]
> .pybuild/cpython3_3.10/build/skimage/restoration/tests/test_restoration.py::test_richardson_lucy_filtered[float32-float64]
> .pybuild/cpython3_3.10/build/skimage/restoration/tests/test_restoration.py::test_richardson_lucy_filtered[float64-float32]
> .pybuild/cpython3_3.10/build/skimage/restoration/tests/test_restoration.py::test_richardson_lucy_filtered[float64-float64]
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/skimage/restoration/deconvolution.py:376:
>  RuntimeWarning: invalid value encountered in true_divide
>     relative_blur = np.where(conv < filter_epsilon, 0, image / conv)
> 
> .pybuild/cpython3_3.10/build/skimage/segmentation/tests/test_clear_border.py::test_clear_border
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/skimage/segmentation/tests/test_clear_border.py:37:
>  DeprecationWarning: `np.bool` is a deprecated alias for the builtin `bool`. 
> To silence this warning, use `bool` by itself. Doing this will not modify any 
> behavior and is safe. If you specifically wanted the numpy scalar type, use 
> `np.bool_` here.
>   Deprecated in NumPy 1.20; for more details and guidance: 
> https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
>     [1, 1, 1, 1, 1, 1, 1, 1, 1]]).astype(np.bool)
> 
> .pybuild/cpython3_3.10/build/skimage/util/tests/test_apply_parallel.py: 18 
> warnings
>   /usr/lib/python3/dist-packages/dask/array/overlap.py:642: FutureWarning: 
> Default 'boundary' argument value will change from 'reflect' to 'none' in 
> future versions from 2022.03.0 onwards. Use 'boundary="none"' to opt into the 
> future behavior now or set 'boundary="reflect"' to maintain the current 
> behavior going forward.
>     warnings.warn(
> 
> .pybuild/cpython3_3.10/build/skimage/util/tests/test_arraypad.py::TypeError1::test_check_wrong_pad_amount
>   /usr/lib/python3/dist-packages/numpy/lib/arraypad.py:737: 
> VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences 
> (which is a list-or-tuple of lists-or-tuples-or ndarrays with different 
> lengths or shapes) is deprecated. If you meant to do this, you must specify 
> 'dtype=object' when creating the ndarray.
>     pad_width = np.asarray(pad_width)
> 
> -- Docs: https://docs.pytest.org/en/stable/warnings.html
> =========================== short test summary info 
> ============================
> FAILED skimage/io/tests/test_pil.py::test_imread_index_png_with_alpha - 
> Value...
> FAILED skimage/io/tests/test_pil.py::test_extreme_palette - ValueError: 
> canno...
> = 2 failed, 6186 passed, 47 skipped, 1 xfailed, 1426 warnings in 177.41s 
> (0:02:57) =
> E: pybuild pybuild:369: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build; python3.10 -m pytest 
> dh_auto_test: error: pybuild --test -i python{version} -p "3.9 3.10" returned 
> exit code 13


The full build log is available from:
http://qa-logs.debian.net/2022/04/12/skimage_0.18.3-2_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220412;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220412&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to