Skip to content

CI: skip qt, cairo, pygobject related installs on OSX on travis #18476

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 1 commit into from
Sep 15, 2020

Conversation

tacaswell
Copy link
Member

On 2020-09-12 pyqt5 replaced their wheels to have a minimum OSX version of 10.13 which caused us to fallback to trying to build pyqt5 from the tar.gz. This in turn failed (because we do not have any of the qt development libraries installed and even if we did it would take a while). We have always been installing pyside2 from wheels, but an older version (5.13.2) that has a fatal-to-us bug. However the previously published pyqt5 wheels were, despite being labeled as 10.12 actually complied against 10.13 and failed to import. This cause our test suite to decide that we did not have a valid qt binding and skip the qt tests. Now that pyqt5 is (correctly) not installing we are falling back to pyside2 and hitting the bug in pyside2 (it is reported to fixed in the next release 5.14.0 but that only has wheels for 10.13).

This skips trying to install pycairo, pygobjoct, pyqt5, and pyside2 on OSX on travis because they all fail to install on OSX 0.12. It will make our CI marginally faster and does not move the status quo of what we were actually testing.

We don't see this problem on 3.3.x because we only pin back to xcode9 on master branch via e993baf

We are catching "modern" osx on azure (where we are running a 10.15 and a "latest" in the matrix).

@tacaswell tacaswell added this to the v3.4.0 milestone Sep 14, 2020
@QuLogic
Copy link
Member

QuLogic commented Sep 14, 2020

pycairo and PyGObject are not Qt?

@tacaswell
Copy link
Member Author

tacaswell commented Sep 14, 2020

If you check the logs they also are not building. Is it worth adding a second commit so I move them in waves?

@QuLogic
Copy link
Member

QuLogic commented Sep 14, 2020

Probably not, just the commit summary is confusing a bit, then.

On 2020-09-12 pyqt5 replaced their wheels to have a minimum OSX
version of 10.13 which caused us to fallback to trying to build pyqt5
from the tar.gz.  This in turn failed (because we do not have any of
the qt development libraries installed and even if we did it would
take a while).  We have always been installing pyside2 from wheels,
but an older version (5.13.2) that has a fatal-to-us bug.  However
the previously published pyqt5 wheels were, despite being labeled as
10.12 actually complied against 10.13 and failed to import.  This
cause our test suite to decide that we did not have a valid qt binding
and skip the qt tests.  Now that pyqt5 is (correctly) not installing
we are falling back to pyside2 and hitting the bug in pyside2 (it is
reported to fixed in the next release 5.14.0 but that only has wheels
for 10.13).

PyGObject, pycairo, and cariocffi also do not install on OSX 10.12

This skips trying to install pycairo, pygobjoct, pyqt5, and pyside2 on
OSX on travis because they all fail to install on OSX 10.12.  It will
make our CI marginally faster and does not move the status quo of what
we were actually testing.
@tacaswell tacaswell changed the title CI: skip qt related installs on OSX on travis CI: skip qt, cairo, pygobject related installs on OSX on travis Sep 14, 2020
@tacaswell
Copy link
Member Author

I force-pushed a commit with better comments.

@QuLogic QuLogic merged commit d874cf3 into matplotlib:master Sep 15, 2020
@QuLogic
Copy link
Member

QuLogic commented Sep 15, 2020

Going to merge on one approval for the CI fix.

@tacaswell tacaswell deleted the ci_travis_qt branch September 15, 2020 03:16
@QuLogic QuLogic modified the milestones: v3.4.0, v3.3.3 Oct 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants