Package: src:dials
Version: 3.12.1+dfsg3-5
Severity: important
Tags: sid trixie
User: debian-pyt...@lists.debian.org
Usertags: python3.12
dials autopkg tests fail with Python 3.12:
[...]
546s autopkgtest [18:27:50]: test command1: [-----------------------
546s Testing dials with python3.12:
548s ============================= test session starts
==============================
548s platform linux -- Python 3.12.0+, pytest-7.4.3, pluggy-1.3.0 --
/usr/bin/python3.12
548s cachedir: .pytest_cache
548s rootdir: /tmp/autopkgtest.03alNz/autopkgtest_tmp
548s plugins: dials-data-2.4.0, xdist-3.4.0, mock-3.11.1
548s collecting ... collected 0 items / 1 error
548s
548s ==================================== ERRORS
====================================
548s ________________________ ERROR collecting test session
_________________________
548s /usr/lib/python3/dist-packages/_pytest/config/__init__.py:641: in
_importconftest
548s mod = import_path(conftestpath, mode=importmode, root=rootpath)
548s /usr/lib/python3/dist-packages/_pytest/pathlib.py:567: in import_path
548s importlib.import_module(module_name)
548s /usr/lib/python3.12/importlib/__init__.py:90: in import_module
548s return _bootstrap._gcd_import(name[level:], package, level)
548s <frozen importlib._bootstrap>:1381: in _gcd_import
548s ???
548s <frozen importlib._bootstrap>:1354: in _find_and_load
548s ???
548s <frozen importlib._bootstrap>:1325: in _find_and_load_unlocked
548s ???
548s <frozen importlib._bootstrap>:929: in _load_unlocked
548s ???
548s /usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:186: in
exec_module
548s exec(co, module.__dict__)
548s tests/algorithms/indexing/basis_vector_search/conftest.py:7: in
<module>
548s from cctbx import sgtbx
548s /usr/lib/python3/dist-packages/cctbx/__init__.py:4: in <module>
548s __version__ = get_version()
548s /usr/lib/python3/dist-packages/libtbx/version.py:158: in get_version
548s import libtbx.load_env
548s /usr/lib/python3/dist-packages/libtbx/load_env.py:5: in <module>
548s libtbx.env = libtbx.env_config.unpickle()
548s /usr/lib/python3/dist-packages/libtbx/env_config.py:3066: in unpickle
548s set_preferred_sys_prefix_and_sys_executable(build_path=build_path)
548s /usr/lib/python3/dist-packages/libtbx/env_config.py:2962: in
set_preferred_sys_prefix_and_sys_executable
548s if (dirname and op.samefile(build_path, dirname)):
548s <frozen genericpath>:112: in samefile
548s ???
548s E FileNotFoundError: [Errno 2] No such file or directory:
'/usr/lib/cctbx/python3.12'
548s =========================== short test summary info
============================
548s ERROR - FileNotFoundError: [Errno 2] No such file or directory:
'/usr/lib/cc...
548s !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection
!!!!!!!!!!!!!!!!!!!!
548s =============================== 1 error in 0.19s
===============================
548s autopkgtest [18:27:52]: test command1: -----------------------]
548s command1 FAIL non-zero exit status 2