Skip to content
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

Add ninja to Cygwin builder #26543

Merged
merged 2 commits into from Aug 21, 2023
Merged

Add ninja to Cygwin builder #26543

merged 2 commits into from Aug 21, 2023

Conversation

QuLogic
Copy link
Member

@QuLogic QuLogic commented Aug 18, 2023

PR summary

Since there are no contourpy wheels, it must be built from source, and pre-packaged ninja is better than trying to build from sdist. This was always done, but broke when contourpy switched to Meson.

PR checklist

Since there are no contourpy wheels, it must be built from source, and
pre-packaged ninja is better than trying to build from sdist.
@QuLogic QuLogic added the CI: Run cygwin Run cygwin tests on a PR label Aug 18, 2023
@QuLogic QuLogic added this to the v3.8.0 milestone Aug 18, 2023
@QuLogic
Copy link
Member Author

QuLogic commented Aug 18, 2023

I think this failed because we need a contourpy release with contourpy/contourpy#260 included so that it doesn't try to pull in ninja from PyPI, and uses our existing Cygwin copy.

@ianthomas23
Copy link
Member

Maybe the best workaround until the next contourpy release is to explicitly build it without build isolation, something like (unchecked):

python -m pip install meson-python pybind11
python -m pip install --no-build-isolation contourpy

@QuLogic
Copy link
Member Author

QuLogic commented Aug 19, 2023

It looks like that has worked after a couple tries.

Copy link
Member

@ianthomas23 ianthomas23 left a comment

Choose a reason for hiding this comment

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

LGTM

@ksunden ksunden merged commit db533bf into matplotlib:main Aug 21, 2023
40 checks passed
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull request Aug 21, 2023
@QuLogic QuLogic deleted the fix-cygwin branch August 21, 2023 17:20
ksunden added a commit that referenced this pull request Aug 21, 2023
…543-on-v3.8.x

Backport PR #26543 on branch v3.8.x (Add ninja to Cygwin builder)
@ksunden ksunden mentioned this pull request Aug 23, 2023
1 task
@ksunden ksunden mentioned this pull request Sep 15, 2023
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI: Run cygwin Run cygwin tests on a PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants