-
-
Notifications
You must be signed in to change notification settings - Fork 153
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
import qtpy raise except when only have PyQt4 #280
Comments
Hi @DengZuoheng thank you for the feedback! Regarding this issue, we added the lines causing it in order to keep compatibility since previously to import Anyhow, hope the info above clarifies a little bit the situation :) |
Also @DengZuoheng , just out of curiosity, you keep using Qt4 in your current projects? |
@dalthviz thanks for your prompt reply. And yes, we still using Qt4 now, and we going to upgrade to Qt5 next year. Before that we trying to upgrade qtconsole, and meet this issue. |
@dalthviz I assume we'll drop support in QtConsole at some point soon, if we haven't already done so? Also, just FYI @DengZuoheng , QtPy 1.12 (presumably the last minor release of the 1.x series) will formally deprecate the Qt4 bindings (which have been mostly untested since QtPy 1.9.x) and QtPy 2.0 will no longer support Qt <5.6 for sure, maybe Qt <5.9 (since we can't easily test on versions lower than that and they are long-EoL upstream) and possibly even Qt <5.12, to allow for new functionality, cleaner code and higher performance with less maintenance overhead. |
Thanks @DengZuoheng for the answer, glad to know that you are already checking a migration plan 👍
I think that depends on QtConsole adding a constrain in QtPy but maybe @ccordoba12 knows better |
I doubt Qtconsole can still work with PyQt4 because it only supports Python 3.6+ (and I think there are no PyQt4 packages for that version). |
qtpy/qtpy/__init__.py
Line 197 in 61e8432
Why you remove the QT_API check before import QtDataVisualization since 1.11.2?
The text was updated successfully, but these errors were encountered: