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

Rustc requires a greater MACOSX_DEPLOYMENT_TARGET than the lower limit of cibuildwheel #2324

Closed
hadialqattan opened this issue Mar 20, 2025 · 2 comments · Fixed by #2326
Closed

Comments

@hadialqattan
Copy link
Contributor

Description

Rustc requires MACOSX_DEPLOYMENT_TARGET >= 3.12 while cibuildwheel sets the minimum possible MACOSX_DEPLOYMENT_TARGET to 10.9 by default. Which causes building wheels for Intel MacOS to fail if the user didn't manually set MACOSX_DEPLOYMENT_TARGET properly.

ref 0: cibuildwheel/macos.py

ref 1: rustc/src/platform-support/apple-darwin.md

Build log

No response

CI config

No response

@henryiii
Copy link
Contributor

Probably should be added to docs as a note, then? Also, CPython 3.12+ requires 10.13 anyway, so it only affects older CPythons. Don't think there's anything cibuildwheel can/should do, other than add a note in docs.

@hadialqattan
Copy link
Contributor Author

@henryiii I do agree with you. I tried to document it in PR #2326.

Thank you for your prompt response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants