Skip to content

Drop conditional import of figureoptions. #6599

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

Merged
merged 2 commits into from
Jun 18, 2016

Conversation

anntzer
Copy link
Contributor

@anntzer anntzer commented Jun 17, 2016

As far as I can tell, the only way the import of figureoptions could
fail is under PyQt 4.3 or earlier (QFormLayout was introduced in Qt
4.4). PyQt 4.4 was released in 2008 and the oldest version still
downloadable on SourceForge seems to be 4.9, so that seems safe...

Also up the version requirement on PyQt.

@tacaswell tacaswell added this to the 2.1 (next point release) milestone Jun 17, 2016
@tacaswell
Copy link
Member

👍 , but it looks like the doc failure is real and caused by this change.

@anntzer
Copy link
Contributor Author

anntzer commented Jun 17, 2016

Do you know what's the version of Qt used on Travis? I couldn't find a reference to it.

@jenshnielsen
Copy link
Member

As far as I remember travis mocks out qt when building the docs

@anntzer
Copy link
Contributor Author

anntzer commented Jun 17, 2016

This may explain why QtGui appears as a "type object" rather than a module in the traceback.
Do you have a pointer as to how the mocking is done?

@tacaswell
Copy link
Member

As far as I can tell, the only way the import of figureoptions could
fail is under PyQt 4.3 or earlier (QFormLayout was introduced in Qt
4.4).  PyQt 4.4 was released in 2008 and the oldest version still
downloadable on SourceForge seems to be 4.9, so that seems safe...

Also up the version requirement on PyQt.
@anntzer anntzer force-pushed the always-figureoptions branch from 8b5be13 to 4c60022 Compare June 17, 2016 17:48
@tacaswell tacaswell merged commit 6b1adfd into matplotlib:master Jun 18, 2016
@anntzer anntzer deleted the always-figureoptions branch June 18, 2016 05:03
@QuLogic QuLogic modified the milestones: 2.0 (style change major release), 2.1 (next point release) Jul 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants