-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PyQt6 Upgrade #765
Comments
We should wait until PyQt6 is in Debian stable before we upgrade, otherwise we will lose a lot of compatibility. Alternatively, we could do something like matplotlib, but it looks very long and scary https://github.com/matplotlib/matplotlib/blob/master/lib/matplotlib/backends/qt_compat.py. |
Not super familiar with Debian, but I assumed that new versions of Vorta hit sid together with pyqt6. And then it moves together with it to testing and then to stable, no? |
Debian 11 (bullseye) was frozen 12 Feb 2021. It will probably be at least six months before it is released, and I believe user satisfaction and Vorta's reputation would be better served by waiting a few months after that. Because Debian follows a stable release rather than rolling release model the vast majority of users (who use the stable release) will depend on targeted fixes cherry picked onto 0.7.3, which will also need to be approved and release-team review+exception as a stable update. In other words, making this transition too soon will expose a potentially large number of users to a situation where those bugs cannot be fixed. eg: please wait ~9 months, and maybe also do this work on a feature branch if you'd like me to be able to cherry pick bug fixes. |
It will definitely take a while. I heard not all Qt5 features are available in Qt6 yet. |
It will definitely take a while. I heard not all Qt5 features are
available in Qt6 yet.
Fiou! :-)
|
https://www.pythonguis.com/faq/pyqt5-vs-pyqt6/ Looks like PyQt6 will be in debian bookworm. Also is in Ubuntu >= 22.10. |
Interestingly, installing pyqt6 on macOS M1 just works (unlike pyqt5):
|
PyQt6 natively supports ARM architecture, PyQt5 used to support ARM but a recent PyQt update broke the support for ARM on PyQt5. |
Hey @m3nu, I got most of it to work with PyQt6. But when running the tests its failing on one and giving errors on two
Any potential fix you might see on the top of your head? Complete output:
|
Not bad! The errors you see happen when some test threads keep running after tests have finished. Needs some care to make sure the previous test doesn't use the DB. Since we reuse the same DB. Can you share this as new PR? Then I'll have a look. |
Yeah sure! I'll create a PR in a bit. Edit: Also could you please check my PR for the White icons on MacOS issue? It changes the tray icon color based on the system tray color to have a contrast between the two. |
New version of PyQt was released beginning of Jan. We need to update some references and possible make small API adjustments. Not expecting any major issues.
https://pypi.org/project/PyQt6/
The text was updated successfully, but these errors were encountered: