question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow PyQt5 versions < 5.11

See original GitHub issue

Thank you for your amazing work. I’m currently using a modified version of pytest-qt which allows usage with PyQt 5.9.2 So far I haven’t had any issues. Where does the restriction for 5.11 come from? Is it arbitrary because you didn’t test any lower version number with your package or is there an actual known problem with lower version numbers?

If it is arbitrary, I would like to help getting 5.9 “greenlighted”.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
The-Compilercommented, Dec 9, 2021

There are various reasons:

  • How to import the sip module changed (that one would be easy, sure)
  • The associated sip version introduced support for scoped enums, which would require various changes to support - I suppose you were running an older PyQt but using a newer sip or something (which is rather exotic)?
  • PyQt 5.11 isn’t installable from PyPI anymore, so we can’t really easily run automated tests for it - IMHO, supporting a version without CI is a no-no
  • Qt 5.9 was released in May 2017 and support ended in May 2020. I’m really not too keen in continuing to support an ancient Qt version >1.5 years beyond its official end of support.
  • Probably more reasons/incompatibilities I’m not considering right now
0reactions
nicoddemuscommented, Dec 9, 2021

Cool, thanks. You will need to use pytest-qt<4, since 4.0.0 introduced the breaking changes for PyQt 5.9. 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

Qt for Python 5.11 released
We are happy to announce the first official release of Qt for Python (Pyside2). As the version tag implies, it is based on...
Read more >
PyQt5 - PyPI
PyQt5 is released under the GPL v3 license and under a commercial license that allows for the development of proprietary applications.
Read more >
Can't install PyQt5 using pip - Stack Overflow
I use Ubuntu 18.04. My python version is: Python 2.7.15rc1. I have already installed python3-pip and tried to install PyQt5 using pip3 install ......
Read more >
How to install PyQt5 (5.11.2) with from source for python2.7
Install Qt5, QtWebEngine and QtSvg (for creating a browser). sudo apt-get install -y msgpack-python python-gevent python-dev build-essential libgl1-mesa-dev ...
Read more >
PyQt - Browse /PyQt5/PyQt-5.11.3 at SourceForge.net
Get a live and in-depth view of your network, infrastructure, applications, end-user experience, machine learning models and more. Correlate ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found