-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
Qt5 test auto-skip is not working correctly #14137
Comments
I am going to do an rc2 and then look at this. |
It seems that just importing the bindings is not enough to fail:
I remember this used to fail at import time? Either my memory is off (very possible) or riverbank changed things so they don't conflict as badly at import time (also very possible). |
Our experience is that one should test for XXXX.QtCore to make sure the Qt binding XXXX is actually imported (see #14153) |
Lets see if #14193 will fix this. |
When both Qt4 and Qt5 are available, then the automatic skip for Qt-specific tests does not seem to work correctly. This probably cannot be triggered in conda, because you can only have one version installed, but it is possible and a problem when building distro packages.
On
v3.1.x
(ebb7d28),Qt5Agg
is automatically picked andQt4Agg
is skipped:But if
Qt4
is loaded already (say, by settingMPLBACKEND
or inmatplotlibrc
), thenQt5Agg
errors out instead of skipping:Even stranger, if you set the backend to
Qt5Agg
, then the Qt4 tests still run:The text was updated successfully, but these errors were encountered: