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

Appearance settings

Update cibuildwheel #23146

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 7 commits into from
Jul 7, 2022
Merged

Update cibuildwheel #23146

merged 7 commits into from
Jul 7, 2022

Conversation

QuLogic
Copy link
Member

@QuLogic QuLogic commented May 27, 2022

PR Summary

In addition, switch from manual install to the GitHub Action they provide.

For the time being, this does not enable any new builds. We can discuss that in a separate PR.

PR Checklist

Tests and Styling

  • [n/a] Has pytest style unit tests (and pytest passes).
  • Is Flake 8 compliant (install flake8-docstrings and run flake8 --docstring-convention=all).

Documentation

  • [n/a] New features are documented, with examples if plot related.
  • [n/a] New features have an entry in doc/users/next_whats_new/ (follow instructions in README.rst there).
  • [n/a] API changes documented in doc/api/next_api_changes/ (follow instructions in README.rst there).
  • [n/a] Documentation is sphinx and numpydoc compliant (the docs should build without error).

QuLogic added 3 commits June 29, 2022 01:24
... instead of manual install and run. This should also trigger
automatic dependabot alerts.
Because cibuildwheel switched to pip 21.3 that uses in-tree builds, we
need to add an explicit clean step. This is because the FreeType built
for 64-bit and 32-bit Windows are not compatible, but as they appear to
be named the same, aren't rebuilt for each wheel, causing linker issues
when mixed.

I'm not sure it's necessary on other platforms as well, but it can't
hurt.
@QuLogic QuLogic force-pushed the update-cibuildwheel branch from a74f4d4 to 2800a03 Compare June 29, 2022 05:26
@QuLogic
Copy link
Member Author

QuLogic commented Jun 29, 2022

This should now be working, I believe.

Some new features we could possibly enable (later):

  • 2.2.0:
    • Added support for musllinux. --- I have not enabled these, but we can consider doing so now.
    • Added support for building PyPy wheels on macOS 11 CI runners.
  • 2.3.0:
    • cibuildwheel now defaults to manylinux2014 image for linux builds, rather than manylinux2010. --- We have been forcing manylinux1 for < 3.10, but NumPy hasn't, so it may be time to upgrade.
    • Added support for building PyPy 3.8 wheels.
    • Added support for building Windows arm64 CPython wheels on a Windows arm64 runner. --- I have a Windows-on-ARM device, but I'm sure it's possible to set up ARM runners in GitHub Actions yet.
  • 2.4.0:
    • Added support for building PyPy 3.9 wheels.
  • 2.5.0:
    • Added support for building ABI3 wheels.
  • 2.6.0:
    • Added the ability to test building wheels on CPython 3.11 --- I think I saw mention of some people testing their nightly build against this, so we could start providing 3.11 wheels on nightly only.
  • 2.7.0:
    • Added support for the new manylinux_2_28 images.

@QuLogic QuLogic marked this pull request as ready for review June 29, 2022 05:59
@QuLogic QuLogic added the CI: Run cibuildwheel Run wheel building tests on a PR label Jun 29, 2022
@QuLogic QuLogic force-pushed the update-cibuildwheel branch from 2800a03 to 325e547 Compare June 29, 2022 06:08
@jklymak
Copy link
Member

jklymak commented Jun 30, 2022

@QuLogic perhaps you should ping some people who are appropriate to review this?

setupext.py Show resolved Hide resolved
@QuLogic
Copy link
Member Author

QuLogic commented Jul 7, 2022

So the idea was pulled from mplcairo, but I guess @anntzer should be able to review this as well?

@anntzer anntzer merged commit 89331ee into matplotlib:main Jul 7, 2022
@QuLogic QuLogic mentioned this pull request Aug 17, 2022
1 task
@QuLogic QuLogic deleted the update-cibuildwheel branch August 18, 2022 06:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Build CI: Run cibuildwheel Run wheel building tests on a PR Maintenance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.