My pytango package has the same probleme... https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1024078
I: pybuild base:240: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_tango/build; python3.11 -m pytest tests ImportError while loading conftest '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_tango/build/tests/conftest.py'. tests/conftest.py:3: in <module> from tango.test_utils import state, typed_values, server_green_mode tango/__init__.py:83: in <module> from ._tango import ( E SystemError: initialization of _tango raised unreported exception It use also the boost_python library... something is smelly around boost_python and python3.11... Cheers.