Bug#1084732: skimage FTBFS with Python 3.13

Stefano Rivera stefanor at debian.org
Mon Oct 7 17:44:13 BST 2024


Source: skimage
Version: 0.24.0-3
Severity: serious
Tags: ftbfs
Justification: FTBFS
User: debian-python at lists.debian.org
Usertags: python3.13
Forwarded: https://github.com/scikit-image/scikit-image/pull/7448

This package failed build from source when test-built against a version of
python3-defaults that includes 3.13 as a supported version.

To reproduce this issue, build against python3-defaults (python3-all-dev etc.)
from Debian experimental.

What's new in Python 3.13:
https://docs.python.org/3.13/whatsnew/3.13.html

Log snippet:

============================= test session starts ==============================
platform linux -- Python 3.13.0rc3, pytest-8.3.3, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build
configfile: pyproject.toml
plugins: typeguard-4.3.0, doctestplus-1.2.1
collected 8611 items / 2 errors / 5 skipped

==================================== ERRORS ====================================
_______________ ERROR collecting skimage/draw/tests/test_draw.py _______________
skimage/draw/tests/test_draw.py:24: in <module>
    from skimage.measure import regionprops
<frozen importlib._bootstrap>:1412: in _handle_fromlist
    ???
/usr/lib/python3/dist-packages/lazy_loader/__init__.py:82: in __getattr__
    submod = importlib.import_module(submod_path)
/usr/lib/python3.13/importlib/__init__.py:88: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
skimage/measure/_regionprops.py:1426: in <module>
    _install_properties_docs()
skimage/measure/_regionprops.py:1421: in _install_properties_docs
    getattr(RegionProperties, p).__doc__ = prop_doc[p]
E   KeyError: 'area_bbox'
__________ ERROR collecting skimage/measure/tests/test_regionprops.py __________
skimage/measure/tests/test_regionprops.py:17: in <module>
    from skimage.measure._regionprops import (
skimage/measure/_regionprops.py:1426: in <module>
    _install_properties_docs()
skimage/measure/_regionprops.py:1421: in _install_properties_docs
    getattr(RegionProperties, p).__doc__ = prop_doc[p]
E   KeyError: 'area_bbox'
=========================== short test summary info ============================

If required, the full build log is available here (for the next 30 days):
https://debusine.debian.net/artifact/836301/

This bug has been filed at "normal" severity, as we haven't started the
transition to add 3.13 as a supported version, yet. This will be raised to RC
as soon as that happens, hopefully well before trixie.

Thanks,

Stefano



More information about the debian-science-maintainers mailing list