Hi

On 06/02/2026 18:49, VA wrote:
Le 05/02/2026 à 23:38, Stuart Prescott a écrit :
 > $ echo "def test_foo(): pass" > test_foo.py
 > $ pytest
 > ============================================== test session starts
 > ==============================================
 > platform linux -- Python 3.13.11, pytest-8.4.2, pluggy-1.6.0
 > PySide6 6.9.2 -- Qt runtime 6.9.2 -- Qt compiled 6.9.2
 > rootdir: /tmp/pkgs
 > plugins: anyio-4.11.0, typeguard-4.4.4, qt-4.4.0, cov-5.0.0, zarr-3.1.5,
 > hypothesis-6.151.4, mock-3.15.1, syrupy-5.0.0, subtests-0.15.0
 > collected 1 item
 >
 > test_foo.py .                                  [100%]
 >
 > =============================================== 1 passed in 0.09s
 > ===============================================

Then your setup is cooked.

No, nothing is cooked about my setup. Leaving out the on-going insults each time I try to help you would also be appreciated, thanks.

You will find that many quite standard setups will not suffer from this at all - anyone testing against PySide6 (which at this stage is probably most people installing pytestqt), for example.

I can hardly make it more reproducible for you than this.

I did not ask for a reproducer, it's trivially reproducible and I've already indicated that I know the underlying cause - that's how I verified the multiple workarounds I gave you. Twice.


 > The longer term fix to pytestqt is likely what Rebecca Palmer noted in
 > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1125222#24

Should we reopen that bug?

No need, that bug is about fixing the dependencies of python3-pytestqt and that has been done.

This bug is already filed against python3-pytestqt and has a pointer to the likely fix.


--
Stuart Prescott   http://www.nanonanonano.net/ [email protected]
Debian Developer  http://www.debian.org/       [email protected]
GPG fingerprint   90E2 D2C1 AD14 6A1B 7EBB 891D BBC1 7EBB 1396 F2F7

Reply via email to