Your message dated Wed, 17 Oct 2018 11:53:08 +0000
with message-id <e1gcknw-0004jb...@fasolo.debian.org>
and subject line Bug#906207: fixed in skimage 0.14.1-1
has caused the Debian Bug report #906207,
regarding skimage FTBFS on 32bit: ValueError: Unexpected warning: overflow
encountered in long_scalars
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
906207: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=906207
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: skimage
Version: 0.14.0-1
Severity: serious
https://buildd.debian.org/status/package.php?p=skimage
...
=================================== FAILURES ===================================
________________________________ test_spacing_1 ________________________________
def test_spacing_1():
n = 30
lx, ly, lz = n, n, n
data, _ = make_3d_syntheticdata(lx, ly, lz)
# Rescale `data` along Y axis
# `resize` is not yet 3D capable, so this must be done by looping in 2D.
data_aniso = np.zeros((n, n * 2, n))
for i, yz in enumerate(data):
data_aniso[i, :, :] = resize(yz, (n * 2, n),
mode='constant',
anti_aliasing=False)
# Generate new labels
small_l = int(lx // 5)
labels_aniso = np.zeros_like(data_aniso)
labels_aniso[lx // 5, ly // 5, lz // 5] = 1
labels_aniso[lx // 2 + small_l // 4,
ly - small_l // 2,
lz // 2 - small_l // 4] = 2
# Test with `spacing` kwarg
# First, anisotropic along Y
with expected_warnings(['"cg" mode' + '|' + SCIPY_EXPECTED]):
labels_aniso = random_walker(data_aniso, labels_aniso, mode='cg',
> spacing=(1., 2., 1.))
../debian/tmp/usr/lib/python2.7/dist-packages/skimage/segmentation/tests/test_random_walker.py:263:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python2.7/contextlib.py:24: in __exit__
self.gen.next()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
matching = ['"cg" mode|numpy.linalg.matrix_rank|\\A\\Z']
@contextmanager
def expected_warnings(matching):
"""Context for use in testing to catch known warnings matching regexes
Parameters
----------
matching : list of strings or compiled regexes
Regexes for the desired warning to catch
Examples
--------
>>> from skimage import data, img_as_ubyte, img_as_float
>>> with expected_warnings(['precision loss']):
... d = img_as_ubyte(img_as_float(data.coins()))
Notes
-----
Uses `all_warnings` to ensure all warnings are raised.
Upon exiting, it checks the recorded warnings for the desired matching
pattern(s).
Raises a ValueError if any match was not found or an unexpected
warning was raised.
Allows for three types of behaviors: `and`, `or`, and `optional`
matches.
This is done to accomodate different build enviroments or loop
conditions
that may produce different warnings. The behaviors can be combined.
If you pass multiple patterns, you get an orderless `and`, where all of
the
warnings must be raised.
If you use the `|` operator in a pattern, you can catch one of several
warnings.
Finally, you can use `|\A\Z` in a pattern to signify it as optional.
"""
with all_warnings() as w:
# enter context
yield w
# exited user context, check the recorded warnings
remaining = [m for m in matching if '\A\Z' not in m.split('|')]
for warn in w:
found = False
for match in matching:
if re.search(match, str(warn.message)) is not None:
found = True
if match in remaining:
remaining.remove(match)
if not found:
> raise ValueError('Unexpected warning: %s' %
> str(warn.message))
E ValueError: Unexpected warning: overflow encountered in
long_scalars
../debian/tmp/usr/lib/python2.7/dist-packages/skimage/_shared/_warnings.py:121:
ValueError
=============================== warnings summary ===============================
restoration/tests/test_denoise.py::test_cycle_spinning_multichannel
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python2.7/dist-packages/skimage/restoration/_cycle_spin.py:154:
UserWarning: dask is required for parallel computation, but it is not
available. Computation will be performed serially.
"dask is required for parallel computation, but it is "
-- Docs: http://doc.pytest.org/en/latest/warnings.html
======= 1 failed, 1545 passed, 52 skipped, 1 warnings in 125.25 seconds ========
debian/rules:61: recipe for target 'python-test2' failed
make[1]: *** [python-test2] Error 1
--- End Message ---
--- Begin Message ---
Source: skimage
Source-Version: 0.14.1-1
We believe that the bug you reported is fixed in the latest version of
skimage, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 906...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Mo Zhou <cdlumin...@gmail.com> (supplier of updated skimage package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 17 Oct 2018 11:33:00 +0000
Source: skimage
Binary: python-skimage python3-skimage python-skimage-doc python-skimage-lib
python3-skimage-lib
Architecture: source
Version: 0.14.1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers
<debian-science-maintain...@lists.alioth.debian.org>
Changed-By: Mo Zhou <cdlumin...@gmail.com>
Description:
python-skimage - Python modules for image processing
python-skimage-doc - Documentation and examples for scikit-image
python-skimage-lib - Optimized low-level algorithms for scikit-image
python3-skimage - Python 3 modules for image processing
python3-skimage-lib - Optimized low-level algorithms for Python 3 scikit-image
Closes: 902478 902479 902480 906207 908433
Changes:
skimage (0.14.1-1) unstable; urgency=medium
.
* Team upload
.
[ Mo Zhou ]
* Fixup testsuite (Closes: #902480).
* Add new deps to debian/tests/control
* Allow stderr during autopkgtest, some libraries are
throwing warnings as errors during autopkgtests.
* Remove deprecated X-Python*-Version fields.
* Run dh_auto_tests with xvfb-run.
.
[ Yangfl <mmyan...@gmail.com> ]
* New upstream release (Closes: #906207)
* d/compat
- bump debhelper compat to 11
* d/control
- remove build dep libjs-twitter-bootstrap (Closes: #908433)
+ build dep python-tk and python3-tk
+ build dep python3-sphinx-gallery and python3-sklearn, required by doc
building
+ build dep python3-doc and python-matplotlib-doc for intersphinx mappings
+ dep libjs-{bootstrap,jquery,mathjax} for python-skimage-doc
* bump standard to 4.2.1
* d/copyright
- no need to remove bootstrap.min.js, provided in missing-sources
* d/rules
- switch from python_distutils to pybuild
- hotfix broken sphinx build command by passing SPHINXBUILD manually
(Closes: #902478)
- replace MathJax.js with local file (Closes: #902479)
* d/patches
- remove 0001-BF-perform-computation-serially-with-a-warning-if-da.patch
and skip-failing-test-on-i386.patch since included in new release
- add allow-warnings-on-dask.patch to bypass false alert on dask missing
- remove deb_no_sphinx_galery since python3-sphinx-gallery available
- add no-download-intersphinx-mapping.patch
Checksums-Sha1:
b1ec88283f4b397d1c6de0c1c551db8932c5b47f 3151 skimage_0.14.1-1.dsc
1fb485842ace6787231d15f72fab513b9c67fc65 21883972 skimage_0.14.1.orig.tar.gz
6aae9f30177309d00fdbd94c4e751ddee808ffd5 22116 skimage_0.14.1-1.debian.tar.xz
feafcfeee8b7dc298ace6010fa44f2e8a1f75240 12640
skimage_0.14.1-1_source.buildinfo
Checksums-Sha256:
08a8b7ce2a1d41865579c5530e5ba661d970553324e08951b13b0d5e4ac538bd 3151
skimage_0.14.1-1.dsc
81d25b2c9feb80c32341da4105bc1f4afd6385ce104c8dbb7513527368ba38e9 21883972
skimage_0.14.1.orig.tar.gz
86021d76b3f648d74ba245aa9e08e9c1a01b364baba5462d71cc88f02452a14b 22116
skimage_0.14.1-1.debian.tar.xz
2d4a9e7b67e9c09337758beabbc1a0a244523a9f0fa5cce1b5f5b7b03815e696 12640
skimage_0.14.1-1_source.buildinfo
Files:
b807dbdadbeebc73f969dd86af401777 3151 python optional skimage_0.14.1-1.dsc
48f9dfa8d920eec0eb2a0eeaec425e07 21883972 python optional
skimage_0.14.1.orig.tar.gz
1e40af56c078eef330c425267bbc9fd1 22116 python optional
skimage_0.14.1-1.debian.tar.xz
30e5b5a049738f3da1abe89ffcab6eb4 12640 python optional
skimage_0.14.1-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEY4vHXsHlxYkGfjXeYmRes19oaooFAlvHHkoACgkQYmRes19o
aoptzQ//StPRQe7rSFqkNQzxisRoAqKxrNN8Zz7Sf6AQ3jL1w6iVAXPL/STRsgP4
S5E9ZGSMe48DVfm+oBBPGY46CE31qBLPfsR584n92uLO4tH5hMZ+5oLHFMHyZfxL
u1dnC7BChPXQ2YUWppj4zcUBMwlk4ej1NOh7xJ4O9cvxJ+cvyHJRnZyafztYxcm4
K9pFoJF7sC8/DL4hz//8ZlSuoP7usCjDnjqtgXVgJWWGGBEHroiGlxOdgH+baWOj
JfbXHH73d8t5lwN1hFu8Z4/FyDm3Q54t5kPoKWiOYi/g61Qvun2Ua9eg3lMZPvF2
mlnQWQ1c7Bx6m09zPzzS47oT8cAVnq+omZbXTzoFoX28GVzxCR5VDftoJdwP0l6z
q5t89DWlZDhUVgc8P6cyzO4YlPYrZR0Lwu+9ktyDTRxvUbWHldR5aZqKHWAYjl+P
BCQYdjilSsnXrVj8wPq+CCtnoUetGaWpKUZCJpOuEVvDuL3T/sOK2EV1hzqX4mc+
gcgodqVh0X4g2aD1jYZmXjLFr9ZJHTSRZUuJF3mgpsp91qNqbc3+zAEK4B7yove3
pBKHBZxGuPQSRH/P216dJ90HOQkhddA6CgedMKUCDJ5njbr7mOkITfK9B6kyBBeT
IJfpKxOP2QsSSLDgW/TohBRathBzLou2StsV3XOe6ygdOsS7kDQ=
=wlpU
-----END PGP SIGNATURE-----
--- End Message ---