#1150882 python-nxtomomill: FTBFS: E ModuleNotFoundError: No module named 'tomobase'

#1150882#5
Date:
2026-10-14 09:08:06 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202610/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:python-nxtomomill, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
    from nxtomomill.utils.h5pyutils import resolve_link
nxtomomill/utils/h5pyutils.py:15: in <module>
    from nxtomomill.utils._os import abspath
nxtomomill/utils/_os.py:4: in <module>
    from tomobase.utils.io import filter_esrf_mounting_points
E   ModuleNotFoundError: No module named 'tomobase'
_ ERROR collecting .pybuild/cpython3_3.14/build/nxtomomill/utils/tests/test_utils.py _
ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/nxtomomill/utils/tests/test_utils.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.14/importlib/__init__.py:88: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
nxtomomill/utils/tests/test_utils.py:17: in <module>
    from tomoscan.tests.mock import MockNXtomo as MockNXtomo
E   ModuleNotFoundError: No module named 'tomoscan.tests.mock'
=========================== short test summary info ============================
ERROR nxtomomill/app/tests/test_bliss_fluo2nx_app.py
ERROR nxtomomill/app/tests/test_edf2nx_app.py
ERROR nxtomomill/app/tests/test_fluo2nx_app.py
ERROR nxtomomill/app/tests/test_h52nx_app.py
ERROR nxtomomill/app/tests/test_nx_copy.py
ERROR nxtomomill/app/tests/test_patch_nx_app.py
ERROR nxtomomill/app/tests/test_split_nxfile_app.py
ERROR nxtomomill/converter/dxfile/tests/test_dxfile.py
ERROR nxtomomill/converter/edf/tests/test_checks.py
ERROR nxtomomill/converter/edf/tests/test_edf2nx.py
ERROR nxtomomill/converter/edf/tests/test_edf2nx_check.py
ERROR nxtomomill/converter/fluo/tests/test_fluoscan2D.py
ERROR nxtomomill/converter/fluo/tests/test_fluoscan3D.py
ERROR nxtomomill/converter/hdf5/acquisition/tests/test_acquisition.py
ERROR nxtomomill/converter/hdf5/acquisition/tests/test_acquisition_utils.py
ERROR nxtomomill/converter/hdf5/acquisition/tests/test_back_and_forth.py
ERROR nxtomomill/converter/hdf5/acquisition/tests/test_bliss_tomo_config.py
ERROR nxtomomill/converter/hdf5/acquisition/tests/test_holotomo.py
ERROR nxtomomill/converter/hdf5/acquisition/tests/test_legacy.py
ERROR nxtomomill/converter/hdf5/acquisition/tests/test_multitomo_zseries.py
ERROR nxtomomill/converter/hdf5/acquisition/tests/test_multitomoacquisition.py
ERROR nxtomomill/converter/hdf5/tests/test_frame_flip.py
ERROR nxtomomill/converter/hdf5/tests/test_h52nx_utils.py
ERROR nxtomomill/converter/hdf5/tests/test_hdf5converter.py
ERROR nxtomomill/io/config/tests/test_confighandler.py
ERROR nxtomomill/models/tests/test_h52nx_model.py
ERROR nxtomomill/utils/tests/test_flat_reducer.py
ERROR nxtomomill/utils/tests/test_h5pyutils.py
ERROR nxtomomill/utils/tests/test_utils.py
!!!!!!!!!!!!!!!!!!! Interrupted: 29 errors during collection !!!!!!!!!!!!!!!!!!!
============================== 29 errors in 1.21s ==============================
E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=2: cd '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build'; python3.14 -m pytest
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.14 --parallel=2 returned exit code 13
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------