Package: python3-skimage
Version: 0.21.0-2
Severity: serious
https://ci.debian.net/data/autopkgtest/testing/amd64/s/skimage/35740206/log.gz
...
66s _________________ ERROR collecting io/tests/test_collection.py
_________________
66s ImportError while importing test module
'/usr/lib/python3/dist-packages/skimage/io/tests/test_collection.py'.
66s Hint: make sure your test modules/packages have valid Python names.
66s Traceback:
66s /usr/lib/python3.11/importlib/__init__.py:126: in import_module
66s return _bootstrap._gcd_import(name[level:], package, level)
66s /usr/lib/python3/dist-packages/skimage/io/tests/test_collection.py:5: in
<module>
66s import imageio.v3 as iio3
66s E ModuleNotFoundError: No module named 'imageio.v3'
66s =============================== warnings summary
===============================
66s ../../../../usr/lib/python3/dist-packages/pkg_resources/__init__.py:121
66s /usr/lib/python3/dist-packages/pkg_resources/__init__.py:121:
DeprecationWarning: pkg_resources is deprecated as an API
66s warnings.warn("pkg_resources is deprecated as an API",
DeprecationWarning)
66s
66s ../../../../usr/lib/python3/dist-packages/pkg_resources/__init__.py:2870
66s /usr/lib/python3/dist-packages/pkg_resources/__init__.py:2870:
DeprecationWarning: Deprecated call to
`pkg_resources.declare_namespace('mpl_toolkits')`.
66s Implementing implicit namespace packages (as specified in PEP 420) is
preferred to `pkg_resources.declare_namespace`. See
https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
66s declare_namespace(pkg)
66s
66s ../../../../usr/lib/python3/dist-packages/pywt/__init__.py:14
66s /usr/lib/python3/dist-packages/pywt/__init__.py:14: DeprecationWarning:
The distutils package is deprecated and slated for removal in Python 3.12. Use
setuptools or check PEP 632 for potential alternatives
66s from distutils.version import LooseVersion
66s
66s ../../../../usr/lib/python3/dist-packages/_pytest/cacheprovider.py:433
66s /usr/lib/python3/dist-packages/_pytest/cacheprovider.py:433:
PytestCacheWarning: could not create cache path
/usr/lib/python3/dist-packages/skimage/.pytest_cache/v/cache/nodeids
66s config.cache.set("cache/nodeids", sorted(self.cached_nodeids))
66s
66s ../../../../usr/lib/python3/dist-packages/_pytest/cacheprovider.py:387
66s /usr/lib/python3/dist-packages/_pytest/cacheprovider.py:387:
PytestCacheWarning: could not create cache path
/usr/lib/python3/dist-packages/skimage/.pytest_cache/v/cache/lastfailed
66s config.cache.set("cache/lastfailed", self.lastfailed)
66s
66s ../../../../usr/lib/python3/dist-packages/_pytest/stepwise.py:56
66s /usr/lib/python3/dist-packages/_pytest/stepwise.py:56:
PytestCacheWarning: could not create cache path
/usr/lib/python3/dist-packages/skimage/.pytest_cache/v/cache/stepwise
66s session.config.cache.set(STEPWISE_CACHE_DIR, [])
66s
66s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
66s =========================== short test summary info
============================
66s ERROR
../../../../usr/lib/python3/dist-packages/skimage/io/tests/test_collection.py
66s !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection
!!!!!!!!!!!!!!!!!!!!
66s =================== 5 skipped, 6 warnings, 1 error in 3.69s
====================
67s autopkgtest [00:30:25]: test python3: -----------------------]
67s autopkgtest [00:30:25]: test python3: - - - - - - - - - - results - - - -
- - - - - -
67s python3 FAIL non-zero exit status 2
This is due to
skimage (0.21.0-2) unstable; urgency=medium
* Drop Don-t-import-unavailable-imageio.v3.patch: package is available now
...
-- Ole Streicher <[email protected]> Mon, 10 Jul 2023 15:39:10 +0200
Updating the build dependency to python3-imageio (>= 2.31.1-1)
(which will also version the runtime dependency) will ensure
that a recent enough version of python3-imageio is installed
when building or running skimage.