Control: reassign -1 src:pytest-qt 4.4.0-1 Control: affects -1 src:inkcut On Sun, 28 Dec 2025 18:25:41 +0000 Santiago Vila <[email protected]> wrote:
> Package: src:inkcut
> Version: 2.1.7+dfsg-1
> Severity: serious
> Tags: ftbfs forky sid
> [...]
> INTERNALERROR> File "/usr/lib/python3/dist-packages/pytestqt/plugin.py",
> line 243, in pytest_configure
> INTERNALERROR> qt_api.set_qt_api(config.getini("qt_api"))
> INTERNALERROR> ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
> INTERNALERROR> File "/usr/lib/python3/dist-packages/pytestqt/qt_compat.py",
> line 110, in set_qt_api
> INTERNALERROR> self.QtTest = _import_module("QtTest")
> INTERNALERROR> ~~~~~~~~~~~~~~^^^^^^^^^^
> INTERNALERROR> File "/usr/lib/python3/dist-packages/pytestqt/qt_compat.py",
> line 106, in _import_module
> INTERNALERROR> return getattr(m, module_name)
> INTERNALERROR> File "/usr/lib/python3/dist-packages/PySide6/__init__.py",
> line 127, in __getattr__
> INTERNALERROR> raise AttributeError(f"module '{__name__}' has no
> attribute '{name}' :)")
> INTERNALERROR> AttributeError: module 'PySide6' has no attribute 'QtTest' :)
This appears to be the result of pytestqt attempting to import various
submodules of pyside6 at [1] without appropriate dependencies present.
The missing deps include:
python3-pyside6.qtcore
python3-pyside6.qtgui
python3-pyside6.qttest
python3-pyside6.qtwidgets
Inkcut is affected by this and I confirmed its build can be fixed by
adding a build-dep on python3-pyside6.qttest there, but AFAICT isn't
the root cause of this FTBFS. Reassigning.
[1]https://salsa.debian.org/python-team/packages/pytest-qt/-/blob/58bd9e99df88350e965a7151a33da81d2aaddc93/src/pytestqt/qt_compat.py#L108-L111
pgpz40UXH9NZH.pgp
Description: OpenPGP digital signature

