bleak and dbus-next as part of the Python team

2022-07-04 Thread Tino Mettler
Hi, recently I coded some stuff for BTLE (Bluetooth Low Energy) communication and used the bleak python library: https://github.com/hbldh/bleak I depends on another library which is not yet in Debian: https://github.com/altdesktop/python-dbus-next I prepared packages for both libraries, which w

Re: archive rebuild for pytest from experimental

2022-07-04 Thread Julian Gilbey
On Fri, Jun 24, 2022 at 06:53:04PM -0400, Louis-Philippe Véronneau wrote: > Thank you for your guidance. > > I have filled all of the regressions you reported in the BTS: > > https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=pytest7;users=debian-python@lists.debian.org Thanks Louis-Philippe! Be

Strangely rare pytest 7.x bug report

2022-07-04 Thread Julian Gilbey
Dear all, I wonder whether you might have any clue about https://bugs.debian.org/1013700 I have mostly worked out the "cause" of the bug, but I haven't quite got to the bottom of it. When running the command PYTHONPATH=. python3.10 -m pytest qtpy/tests in the directory .pybuild/cpython3_3.10_qtpy

Re: Strangely rare pytest 7.x bug report

2022-07-04 Thread Carles Pina i Estany
Hi, I'm a lurker of debian-python@lists.debian.org but seeing Python+Qt I wanted to have a look. I don't have a solution (I might look more another time if time permits) but I might have something that might help someone who knows the tools better. I am not familiar with Python Debian packaging

Re: Strangely rare pytest 7.x bug report

2022-07-04 Thread Julian Gilbey
Hi Carles, Thanks for your thoughts! Yes, indeed that seems to be the issue. But what I don't understand is why the import is turned into .pybuild.cpython3_3.9_qtpy.build.qtpy.tests and not just qtpy.tests or a longer path, and why only this package fails in this way. Perhaps this is the only pa

Re: Strangely rare pytest 7.x bug report

2022-07-04 Thread Carles Pina i Estany
Hi Julian, On Jul/04/2022, Julian Gilbey wrote: > Hi Carles, > > Thanks for your thoughts! Yes, indeed that seems to be the issue. > But what I don't understand is why the import is turned into > .pybuild.cpython3_3.9_qtpy.build.qtpy.tests and not just qtpy.tests or I see how pytest does it (

Re: Strangely rare pytest 7.x bug report

2022-07-04 Thread Julian Gilbey
Hi Carles, It is utterly, utterly bizarre. But I think I've found the problem. There's a pytest.ini file in the package, but it's not copied into the test directory. So when pytest is run in the .pybuild directory, it climbs all the way back up the directory tree to the python-qtpy-2.1.0 until i