[Debian-pan-maintainers] Bug#1088754: nabu: autopkgtest failure with Python 3.13

Graham Inggs ginggs at debian.org
Sat Nov 30 15:43:01 GMT 2024


Source: nabu
Version: 2024.1.9-3
Severity: serious
User: debian-python at lists.debian.org
Usertags: python3.13

Hi Maintainer

The autopkgtests of this package fail with Python 3.13 [1].  I've
copied what I hope is the relevant part of the log below.

Regards
Graham


[1] https://ci.debian.net/packages/n/nabu/testing/amd64/


138s ==================================== ERRORS
====================================
138s _____________ ERROR collecting app/tests/test_reduce_dark_flat.py
______________
138s ImportError while importing test module
'/usr/lib/python3/dist-packages/nabu/app/tests/test_reduce_dark_flat.py'.
138s Hint: make sure your test modules/packages have valid Python names.
138s Traceback:
138s /usr/lib/python3/dist-packages/h5py/__init__.py:24: in <module>
138s from . import _debian_h5py_serial as _h5py
138s /usr/lib/python3/dist-packages/h5py/_debian_h5py_serial/__init__.py:25:
in <module>
138s from . import _errors
138s E ImportError: cannot import name '_errors' from partially
initialized module 'h5py._debian_h5py_serial' (most likely due to a
circular import)
(/usr/lib/python3/dist-packages/h5py/_debian_h5py_serial/__init__.py)
138s
138s During handling of the above exception, another exception occurred:
138s /usr/lib/python3.13/importlib/__init__.py:88: in import_module
138s return _bootstrap._gcd_import(name[level:], package, level)
138s /usr/lib/python3/dist-packages/nabu/app/tests/test_reduce_dark_flat.py:3:
in <module>
138s from nabu.app.reduce_dark_flat import reduce_dark_flat
138s /usr/lib/python3/dist-packages/nabu/app/reduce_dark_flat.py:11: in <module>
138s from tomoscan.scanbase import TomoScanBase
138s /usr/lib/python3/dist-packages/tomoscan/scanbase.py:41: in <module>
138s import h5py
138s /usr/lib/python3/dist-packages/h5py/__init__.py:26: in <module>
138s from . import _debian_h5py_mpi as _h5py
138s E ImportError: cannot import name '_debian_h5py_mpi' from
partially initialized module 'h5py' (most likely due to a circular
import) (/usr/lib/python3/dist-packages/h5py/__init__.py)



More information about the Debian-pan-maintainers mailing list