Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Build on xcode9#18134

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
jkseppan merged 14 commits intomatplotlib:masterfromjkseppan:ci-macos
Aug 2, 2020
Merged

Build on xcode9#18134

jkseppan merged 14 commits intomatplotlib:masterfromjkseppan:ci-macos
Aug 2, 2020

Conversation

jkseppan
Copy link
Member

@jkseppanjkseppan commentedJul 31, 2020
edited
Loading

PR Summary

This sets up Travis so that the Mac tests use XCode 9 on MacOS 10.12.

Homebrew doesn't support this configuration, so we install the library dependencies without it. Tests requiring Qt5 are skipped becauseQt5 requires 10.13 or later. We do install Qt4 and at least PySide seems to work, so it is possible to write tests for Qt4.

PR Checklist

  • Has Pytest style unit tests
  • Code isFlake 8 compliant
  • New features are documented, with examples if plot related
  • Documentation is sphinx and numpydoc compliant
  • Added an entry to doc/users/next_whats_new/ if major new feature (follow instructions in README.rst there)
  • Documented in doc/api/next_api_changes/* if API changed in a backward-incompatible way

@jkseppan
Copy link
MemberAuthor

The CI run fails when installing sqlite from Homebrew. Homebrew prints out a warning that macOS 10.12 is unsupported by them and that pull requests are welcome but requests for help are not.

Homebrew doesn't support 10.12 any more, so build the dependencieswithout homebrew.
@jkseppan
Copy link
MemberAuthor

Qt5 supports MacOS 10.13 and up, and XCode 11:https://doc.qt.io/qt-5/macos.html

@tacaswell
Copy link
Member

We have deprecated qt4 support so I don''t think it is worth writing tests. If we get the pyqt5 coverage on azure that seems OK.


set -euo pipefail

fold_start() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

🤯

dopplershift reacted with thumbs up emoji
@jkseppan
Copy link
MemberAuthor

We have deprecated qt4 support so I don''t think it is worth writing tests. If we get the pyqt5 coverage on azure that seems OK.

In that case we can speed up the build a little by not installing qt4.

ci/osx-deps Outdated
fold_end libpng

fold_start freetype 'Install freetype (just unpack into the build directory)'
curl -O -L https://download.savannah.gnu.org/releases/freetype/freetype-2.6.1.tar.gz
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Why can't we just rely on what's already going on insetupext.py?

Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I'm sure I added this because of some reason, but the details are lost in the rebases... I'll see if and how the build fails without this step.

Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Thebuild ends with the error message

error: Failed to download FreeType. Please download one of ['https://downloads.sourceforge.net/project/freetype/freetype2/2.6.1/freetype-2.6.1.tar.gz', 'https://download.savannah.gnu.org/releases/freetype/freetype-2.6.1.tar.gz'] and extract it into build/freetype-2.6.1 at the top-level of the source repository.

I don't know how it is trying to download the file, but perhaps the older MacOS version doesn't support it?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

It's just using standard libraryurllib. Two possibilities, the SSL certificates are old/not found, or the cache location is not writable.

and put that directory in the Travis cache, for perhaps an additionalspeedup and to reduce the traffic we cause to the download sites
and use two processes for ccache compilation
$HOME/Downloads did not get cached, .cache/matplotlib already is
@jkseppan
Copy link
MemberAuthor

The build is now also faster than any of the Linux builds (but much of that is because we don't run svg or pdf tests on Mac).

@jkseppanjkseppan merged commit1caf17b intomatplotlib:masterAug 2, 2020
@jkseppanjkseppan deleted the ci-macos branchAugust 2, 2020 09:19
@QuLogic
Copy link
Member

@meeseeksdev backport to v3.3.x

meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull requestOct 30, 2020
QuLogic pushed a commit to meeseeksmachine/matplotlib that referenced this pull requestOct 30, 2020
@QuLogicQuLogic modified the milestones:v3.4.0,v3.3.3Oct 30, 2020
@dstansbydstansby mentioned this pull requestJan 24, 2021
7 tasks
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@QuLogicQuLogicQuLogic left review comments

@tacaswelltacaswelltacaswell approved these changes

@dopplershiftdopplershiftdopplershift approved these changes

Assignees
No one assigned
Projects
None yet
Milestone
v3.3.3
Development

Successfully merging this pull request may close these issues.

4 participants
@jkseppan@tacaswell@QuLogic@dopplershift

[8]ページ先頭

©2009-2025 Movatter.jp