Your message dated Mon, 26 Jan 2026 21:03:54 +0000
with message-id <[email protected]>
and subject line Bug#1125222: fixed in pytest-qt 4.4.0-4
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-4
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: Mon, 26 Jan 2026 21:53:40 +0100
Source: pytest-qt
Built-For-Profiles: noudeb
Architecture: source
Version: 4.4.0-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Gianfranco Costamagna <[email protected]>
Closes: 1125222
Changes:
 pytest-qt (4.4.0-4) unstable; urgency=medium
 .
   * Team upload
   * Revert to trixie version of dependencies (Closes: #1125222)
     - People are supposed to use PYTEST_QT_API=py{qt5,qt4,side6,side2}
       to force the correct backend and depend on the right packages.
Checksums-Sha1:
 f80932b120b7b250140d7c8b97621d903fae5da9 2372 pytest-qt_4.4.0-4.dsc
 c688dbe68cb7f4a8946721388c0c96ed292e4e56 5996 pytest-qt_4.4.0-4.debian.tar.xz
 63dd9fe765cef9b4021909dfc8addd8eaccfeb6e 11750 
pytest-qt_4.4.0-4_source.buildinfo
Checksums-Sha256:
 7e3c3816cf90cda895e52907e3e52357e10b674d5f2c44abdd0304a352cb2a2e 2372 
pytest-qt_4.4.0-4.dsc
 94dd7246851811447929dbbb1b22610775b0e6eca74e345653a3ad141f992ebf 5996 
pytest-qt_4.4.0-4.debian.tar.xz
 22ce124fa550ac86944a8691390a50c4da62ef07dd62f63155509b7125542316 11750 
pytest-qt_4.4.0-4_source.buildinfo
Files:
 df7d9427d470338e39965fb76fd68f87 2372 python optional pytest-qt_4.4.0-4.dsc
 ea3133f5e1b293f80ac450678944755f 5996 python optional 
pytest-qt_4.4.0-4.debian.tar.xz
 04e1b5c3d881ca00a95df69d2d86a976 11750 python optional 
pytest-qt_4.4.0-4_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEkpeKbhleSSGCX3/w808JdE6fXdkFAml31MQACgkQ808JdE6f
XdnBRhAAgM03Q6Jpw/5U3NKfXyDstv2uP3r62cobF8zzcGZthLFEQV1qDwljmJTZ
i5TJag1Hgmq0DBGlvkZSexubqAtj+xfqlcRi0EHula7YxZY5XFj4nk2q3NKZch2P
DaaS/pBfFIdW7iCQvSe1hsv20XzFZStcV6hMDg8fM8qa5v0UzHSbIXEt29+Wd0QH
m+hQgR3i83tlxsHanGgDFOXoLOEBcU6f3vczc2RecocowkxtJ5dvCcml9qqMVCa5
eBQXqP4JAxsU99AKmvNMQr22UMop6V6PeLPtyzFN1kgu8G4o+y4Q9vgUQbhsiNV1
biibOEqq8fFsUUuCFyHtshxE7SREc3LifBdBxn0fpsaEIXIrgu/T4+4XitUBWVDI
QSzZi1tFQQnpeRKkaJodEccEqJHBD/nmkjyeu6oZxtWie1z3m5WtkIX0+QXT33Th
1ko3RVsY6/wRs87VGjq+W0m0L1AQOhkyPedvCoNM9s9yxVeT+RU+HPg223ysbwM7
wS1IfIgRZcG6LVgpzN826gpKOuBjIBPVtVOAtOjr7bJ0rax+lv7+2//x6WEN03vL
3HqC9kFBXiJ01uisqc39jVUuwKoPlE7sBUz3SS5LgeJF4f5+6j9Zph3IMjbGXsZ0
lQU4lLpZOYFwFoB2n93MEicozSX4NfFu88TxZJl6KO6Kr49pQZU=
=WI3J
-----END PGP SIGNATURE-----

Attachment: pgpWEk75xS13F.pgp
Description: PGP signature


--- End Message ---

Reply via email to