Your message dated Wed, 21 Jan 2026 19:49:34 +0000
with message-id <[email protected]>
and subject line Bug#1125222: fixed in pytest-qt 4.4.0-3
has caused the Debian Bug report #1125222,
regarding python3-pytestqt: Accidentally switches Qt implementation to PySide6
in tests
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1125222: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1125222
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python3-pytestqt
Version: 4.4.0-2
Severity: serious
Justification: Breaks rdeps (build and autopkgtests)
X-Debbugs-Cc: [email protected]
Dear Maintainer,
In solving #1124166, python3-pytestqt grew a dependency on
"python3-pyside6.qttest | python3-pyside2.qttest". Unfortunately, that
switches the default Python-Qt implementation that pytestqt uses from
PyQt6 to PySide6. This has caused regressions in autopkgtests for a few
packages, as noted in the debci dashboard.
One specific example I noticed was refnx:
Following this change to pytest-qt:
autopkgtest [17:12:48]: test python3-refnx: [-----------------------
73s ============================= test session starts
==============================
73s platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.6.0 --
/usr/bin/python3
73s cachedir: .pytest_cache
73s PySide6 6.9.2 -- Qt runtime 6.9.2 -- Qt compiled 6.9.2
(fails)
But previously:
73s autopkgtest [03:31:16]: test python3-refnx: [-----------------------
74s ============================= test session starts
==============================
74s platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.6.0 --
/usr/bin/python3
74s cachedir: .pytest_cache
74s PyQt6 6.10.2 -- Qt runtime 6.9.2 -- Qt compiled 6.9.2
(passes)
Upstream documentation indicates that autodetection of the Qt API is
supported, with pytest-qt simply trying to import PySide6, PyQt6, PyQt5
in that order and then using which one works first. Unfortunately, these
dependencies mean that is no longer true.
Perhaps refnx's debian/tests/control, debian/tests/python3-refnx and/or
pyproject.toml need to be more specific about the Qt API to use... but
switching the default behaviour to "always use PySide6" doesn't seem
like a desired outcome either.
For inkcut, ths solution is to ensure that the tests are run against
pyqt5, since the build chroot somehow has both pyqt5 and pyside6 installed
in it, with the latter taking precedence in the pytest-qt detection. I
think pyside6 is coming in via python3-pyqtgraph which has picked up
some explicit and non-optional pyside6 dependencies alongside its
normal set of optional dependencies. (This is probably also a bug.)
>From the PySide6 packaging perspective, users of pyside6 packages should
explicitly depend on the bits that they need, meaning that pytest-qt
should not need to deal with that; if you wanted to offer API-specific
packages (like python3-pytestqt-pyside6, see also python3-qtpy-*
packages) to bring in extra dependencies that would work too.
thanks
Stuart
--- End Message ---
--- Begin Message ---
Source: pytest-qt
Source-Version: 4.4.0-3
Done: Gianfranco Costamagna <[email protected]>
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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Gianfranco Costamagna <[email protected]> (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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 21 Jan 2026 20:30:57 +0100
Source: pytest-qt
Built-For-Profiles: noudeb
Architecture: source
Version: 4.4.0-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Gianfranco Costamagna <[email protected]>
Closes: 1125222
Changes:
pytest-qt (4.4.0-3) unstable; urgency=medium
.
* Team upload
* Bump std-version to 4.7.2
* Prefer qt5 over qt6 and pyside2 over pyside6 for now
- reverse dependencies are not yet ready for pyside6 and qt6
(Closes: #1125222)
Checksums-Sha1:
22d72f440cf6f9bf610b20a85c33ba86977c9175 2372 pytest-qt_4.4.0-3.dsc
a410cc9cd3a921297523c6f390c1107723dc8292 5916 pytest-qt_4.4.0-3.debian.tar.xz
6204868be68bcf2d1cea7a741317210070fa343f 11700
pytest-qt_4.4.0-3_source.buildinfo
Checksums-Sha256:
21b500ef3ed8b9a2b38cbe71f8a8681ef96750f838949c232a5cc4aed92c4c8a 2372
pytest-qt_4.4.0-3.dsc
4fb4ab1c9767117012a5e265e4d247fd29458cdc990ea94e70c7f9bff225d3c9 5916
pytest-qt_4.4.0-3.debian.tar.xz
1c9552128d3f5e5804957f14c4b4ee54edfe4f0109def68e554449ccd58dbd9d 11700
pytest-qt_4.4.0-3_source.buildinfo
Files:
970de6c5fdf6c826e42a0bb1af9bf392 2372 python optional pytest-qt_4.4.0-3.dsc
957fb57f612b4812cd8e10f4c4655aa9 5916 python optional
pytest-qt_4.4.0-3.debian.tar.xz
4779770391d6a52ce5e48479ca5e3439 11700 python optional
pytest-qt_4.4.0-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEkpeKbhleSSGCX3/w808JdE6fXdkFAmlxKf0ACgkQ808JdE6f
Xdnk8hAAzgG1I2PE9tMyeBHaiXjwjCh73i6zJxkWMPBBQTz6kzcNmMpnMpic90rN
R2Cwmq/PygRFsGfqZ/XSX4rxtRUtD2AKLAkz+FvSE5cz2z8eDYSkW3s+ErbcrFj9
dTcywPoSM1Jx76uKdg8OV2CgNmDJicJswcN1zUsGzqj/Ub3pPQSwcVPt/8U+ghlR
zqFNKYj7x/euyEOMZQzVEjE3YrMY1b0fi78eDiV6LBS5aLvQczx0Z/WMJXuc7tOR
+GrwtWzwrtlwhk8UdNtHAMsTC2TgVyRR7Yh9b9fqAXVBs9itUQG5bnGFPwdfAPJ8
40SrKBhDfIvcyNidwXmyzzUZMj2Q3NZ3WJGG1yV8a11ak3NENON9UcYpAx3F+w+W
Udlb0gKX5dfREB8/PtSUTwlKUP9/A0GUvFjJbfClqjxvZi6KusMA3b1z2Mz8ncai
ohRGwdGl9+jDo8KtYI1r+d3LITairqYGuHwB1kGWiiglPRtjQuSD20xNoh9gBmoS
mohjxuaWUa1ha5A3jrl3dL8F6vG5g5BBqBcvV6IB7UhQyaWLW7YTBDW67NILuOae
VuQ/A+8VMBNGG7QV1TY4H4lan8IzFbvhd8Ml2zUhM5+eAeQtXcyC0wWrt0NMDYfG
5bT9+ptAumS1zX7PY1otN4YOXtwRC5EJasVB44zBpMPLkyDYo5A=
=ClIE
-----END PGP SIGNATURE-----
pgpb0AyspZW0j.pgp
Description: PGP signature
--- End Message ---