#1149293 magicgui: autopkgtests fail against new pyside6/qt6 6.11.2

#1149293#5
Date:
2026-09-29 07:34:24 UTC
From:
To:
Hi,

On a trigger against the new pyside6, magicgui's autopkgtests failed:

235s ==================================== ERRORS ====================================
235s ␛[31m␛[1m___________________ ERROR at teardown of test_parent_changed ___________________␛[0m
235s TEARDOWN ERROR: Exceptions caught in Qt event loop:
235s ________________________________________________________________________________
235s RuntimeWarning: libpyside: Failed to disconnect (<bound method _AbstractSignalBlocker._quit_loop_by_timeout of <pytestqt.wait_signal.SignalBlocker object at 0x7fc796115450>>) from signal "timeout()".
235s
235s The above exception was the direct cause of the following exception:
235s
235s Traceback (most recent call last):
235s   File "src/psygnal/_signal.py", line 1311, in _run_emit_loop
235s   File "src/psygnal/_signal.py", line 1340, in _run_emit_loop_immediate
235s   File "src/psygnal/_weak_callback.py", line 508, in cb
235s   File "/usr/lib/python3/dist-packages/pytestqt/wait_signal.py", line 219, in _quit_loop_by_signal
235s     self._cleanup()
235s     ~~~~~~~~~~~~~^^
235s   File "/usr/lib/python3/dist-packages/pytestqt/wait_signal.py", line 224, in _cleanup
235s     super()._cleanup()
235s     ~~~~~~~~~~~~~~~~^^
235s   File "/usr/lib/python3/dist-packages/pytestqt/wait_signal.py", line 66, in _cleanup
235s     _silent_disconnect(self._timer.timeout, self._quit_loop_by_timeout)
235s     ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
235s   File "/usr/lib/python3/dist-packages/pytestqt/wait_signal.py", line 741, in _silent_disconnect
235s     signal.disconnect(slot)
235s     ~~~~~~~~~~~~~~~~~^^^^^^
235s SystemError: <method 'disconnect' of 'PySide6.QtCore.SignalInstance' objects> returned a result with an exception set

That's just the first error, for a full log see [1]

Cheers,
Emilio

[1] https://ci.debian.net/data/autopkgtest/testing/amd64/m/magicgui/76154252/log.gz