Closed machinekoder closed 3 years ago
Hi @machinekoder,
Can you try this in your environment please?
>>> import PyQt5.sip
>>>
Right, either Ubuntu or Debian seems to patch PyQt in a way which is incompatible with how upstream (and almost any other distribution) do things. See https://github.com/qutebrowser/qutebrowser/issues/6082 and https://github.com/qutebrowser/qutebrowser/commit/41087d3adf42c48ef08f5851af43b26809753c4c.
I suppose we can work around this in pytest-qt as well, but I'd also like to find out if this is due to Debian or Ubuntu, and then report it there.
I am seeing the same issue when packaging the update for MacPorts
Could someone test #370 please, ideally both with PyQt5 and PyQt6?
Could someone test #370 please, ideally both with PyQt5 and PyQt6?
thanks @The-Compiler - works for me with PyQt5. Sorry, MacPorts hasn't ported PyQt6 yet so I didn't test it with that...
Hi @machinekoder,
Can you try this in your environment please?
>>> import PyQt5.sip >>>
Python 3.8.5 (default, May 27 2021, 13:30:53)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import PyQt5.sip
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'PyQt5.sip'
4.0.1 with the fix is out now. Thanks @machinekoder @reneeotten for the report and testing!
I'm currently facing an issue in my CI which looks related to a recent change in pytest-qt:
The culprit is this line here: https://github.com/pytest-dev/pytest-qt/blob/master/src/pytestqt/qt_compat.py#L144 which was introduced 3 months ago.
System: Ubuntu Focal Qt version: 5.12.8 PyQt5 version: 5.14.1
log: