- Package:
- src:magicgui
- Source:
- src:magicgui
- Submitter:
- Emilio Pozuelo Monfort
- Date:
- 2026-10-02 06:51:04 UTC
- Severity:
- normal
- Tags:
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
> SystemError: <method 'disconnect' of 'PySide6.QtCore.SignalInstance' objects> returned a result with an exception set I think this is fixed by the new version of pytest-qt - it doesn't explicitly list supported Qt versions, but there are upstream commits regarding errors coming from `disconnect`. I've tested building and autopkgtest-ing of both superqt and magicgui with python3-pytestqt 4.5.0-1 and they all succeed. I've uploaded it to experimental. I'm hoping to get a bit of coverage from ci.d.n for other architectures and it can then be uploaded the unstable.
We believe that the bug you reported is fixed in the latest version of
pytest-qt, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1149293@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Stuart Prescott <stuart@debian.org> (supplier of updated pytest-qt package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Fri, 02 Oct 2026 16:22:06 +1000
Source: pytest-qt
Architecture: source
Version: 4.5.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Stuart Prescott <stuart@debian.org>
Closes: 1048340 1138115 1149293
Changes:
pytest-qt (4.5.0-2) unstable; urgency=medium
.
* Upload to unstable.
* Brings Qt 6.11 compatibility (for PySide6) (Closes: #1149293).
.
pytest-qt (4.5.0-1) experimental; urgency=medium
.
* New upstream release.
* Remove Ghislain Vaillant from Uploaders, with thanks for previous
contribution to maintenance of this package (Closes: #1138115).
* Add myself to Uploaders.
* Add additional egg-parts to d/clean (Closes: #1048340).
* Update Standards-Version to 4.7.4 (no changes required).
* Drop unneeded Priority:optional and R3:no fields.
* Update d/watch to v5 format.
* Run more of the test suite with different Qt bindings.
* Add patch to permit test suite to run with multiple Qt bindings
installed.
* Run the tests without using Xvfb, using QT_QPA_PLATFORM=offscreen
instead.
Checksums-Sha1:
37fb9def2b5d2c33292b2881954bc2b2d4c4a99d 3374 pytest-qt_4.5.0-2.dsc
048b278143ba2e4fbb89d1c0f3bffa54ae06eb57 7740 pytest-qt_4.5.0-2.debian.tar.xz
8a2e47dc585b330b8d78813f895ad16650eea19a 241332 pytest-qt_4.5.0-2.git.tar.xz
748a866b0f76fcb1b359381d03946a9453a22eb5 17732 pytest-qt_4.5.0-2_source.buildinfo
Checksums-Sha256:
2c476099f5281fcc26bea7b6b67466d244f36b4b719279f7a7c6eab4ab980bc4 3374 pytest-qt_4.5.0-2.dsc
21c962e0f0a4d77ba1543275e8a076ab29986db801bff1621a0555dc059c311b 7740 pytest-qt_4.5.0-2.debian.tar.xz
3ecb8347c532f50562c0fb19d7a33f39b15dc52b60944062a50eccfe01533f42 241332 pytest-qt_4.5.0-2.git.tar.xz
0823ca85777c9e4603d06591b94b2cf0549bb2e15fc897aa0703e0c17e2aedd7 17732 pytest-qt_4.5.0-2_source.buildinfo
Files:
8dcb9b90751086e906c567a9d75c538f 3374 python optional pytest-qt_4.5.0-2.dsc
42411b48898a8433b2b402e61a73d862 7740 python optional pytest-qt_4.5.0-2.debian.tar.xz
628b5ba84ad630afe90a0519c128c050 241332 python None pytest-qt_4.5.0-2.git.tar.xz
dd60de3e7d0552e239276394c4b9420f 17732 python optional pytest-qt_4.5.0-2_source.buildinfo
Git-Tag-Info: tag=30d204fa462706fc58f596183df96a7632a1022e fp=90e2d2c1ad146a1b7ebb891dbbc17ebb1396f2f7
Git-Tag-Tagger: Stuart Prescott <stuart@debian.org>
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmq/T78ACgkQYG0ITkaD
wHlpfxAA2pYrde1YRbR70swuHAP4V3KVY+dbzsJneUYIFgokh4FaYNSEXKlQf+Bt
Hmm1E5sRO6gJBrLUn3/RqthVk6veImmZxXiCW20blekugiS3r8B03Kldd1ZFv/kG
8Efe23CGjC0Wb0RVivaqhuI+73Zhll+mygTJL+azaMPspN8cqrLT5CDRBkvZu8LM
DYtNV9qWv6yfw7duzLURuUKnFiKYdUwfjFUR63iYi9FfJfgtDOYbL/RPiJMLt9T2
0BrGUBsZOa4BaadwkHYP+CTpy/T7QAnI1tSRoR2nt4D3cxsWGFD8GhgwaKgq89I0
43eXryPkFdTe1NBSsGTYNl+Ge5NWW0ELXCj4QEuvI8OdraYRV6ricGV4ssM8/ZC/
RyPyu0cBmgldGOjhlSe+GxxmG+sSOqWLoBk4Gov+Mhp5fHfGz6M84DXhX81EYxL4
tbxxaVnpJ4qFRUL8mn7npVSyw47Hf8TtqjXusFoOq5a0fobbQx7vnYbJwIznonnJ
ietqLEqaUWvIpiKdIL0vNi4vlbDg8rsdUFv4jrSE+g63C70806bu6D6omN1uW1b3
vUbGxbQTD+nXbaN4j1YQeBVuHPHbEmCkPBbhBy6pVoH+ScxvqnKAvsqk9+3bkQUG
qpeuJaDQcSMGiPqHeKGA4lrvzuTz8aHC/uuuSeBKQK9NQM3Uzgk=
=XbwX
-----END PGP SIGNATURE-----