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

MNT: cleanup cibuildwheel configuration and move it to pyproject.toml #4949

Merged
merged 1 commit into from
Jul 25, 2024

Conversation

neutrinoceros
Copy link
Member

PR Summary

This should help testing wheel building locally, and was also an opportunity to clean up our cibuildwheel configuration.

@@ -35,16 +35,6 @@ jobs:
uses: pypa/[email protected]
with:
output-dir: dist
env:
CIBW_BUILD: "cp39-* cp310-* cp311-* cp312-*"
CIBW_SKIP: "*-musllinux_*" # numpy doesn't have wheels for musllinux so we can't build some quickly and without bloating
Copy link
Member Author

Choose a reason for hiding this comment

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

I didn't keep this comment because it's not true anymore, but I'm still skipping musllinux wheels

CIBW_SKIP: "*-musllinux_*" # numpy doesn't have wheels for musllinux so we can't build some quickly and without bloating
CIBW_ARCHS_LINUX: "x86_64"
CIBW_ARCHS_MACOS: auto
MACOSX_DEPLOYMENT_TARGET: "10.9" # as of CIBW 2.9, this is the default value, pin it so it can't be bumped silently
Copy link
Member Author

Choose a reason for hiding this comment

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

I removed this option entirely because Python 3.13 will only support MacOS 10.13 and above, and cibuildwheel already does the right thing for us so it's not worth constraining it
See https:/pypa/cibuildwheel/blob/6c5cf878718641c3cbf21d69c670ff2e53a8263c/cibuildwheel/macos.py#L297-L308

@neutrinoceros neutrinoceros changed the title MNT: move cibuildwheel configuration to pyproject.toml MNT: cleanup cibuildwheel configuration and move it to pyproject.toml Jul 21, 2024
@neutrinoceros neutrinoceros added build related to the build process enhancement Making something better labels Jul 21, 2024
@neutrinoceros neutrinoceros added this to the 4.4.0 milestone Jul 21, 2024
@neutrinoceros neutrinoceros marked this pull request as ready for review July 21, 2024 10:52
@neutrinoceros
Copy link
Member Author

I'll merge this now to help working on #4953 locally

@neutrinoceros neutrinoceros merged commit 935a6d6 into yt-project:main Jul 25, 2024
19 checks passed
@neutrinoceros neutrinoceros deleted the mnt/cibw_static_conf branch July 25, 2024 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build related to the build process enhancement Making something better
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants