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

Detect target based on interpreter for pep517 build-wheel #2088

Merged
merged 1 commit into from
May 19, 2024

Conversation

kcking
Copy link
Contributor

@kcking kcking commented May 15, 2024

(re-creation of prematurely-closed #2086)

This PR detects the desired target based on the python interpreter for pep517 commands, similar to the detection already in place for maturin develop.

This fixes maturin pep517 build-wheel building for the host architecture, even when the current python interpreter is a different architecture, ie. when using an x86_64 python on arm64 macos host.

Related issue: #2041

Copy link

netlify bot commented May 15, 2024

Deploy Preview for maturin-guide ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 88bce88
🔍 Latest deploy log https://app.netlify.com/sites/maturin-guide/deploys/6644334bf925f60008ae353a
😎 Deploy Preview https://deploy-preview-2088--maturin-guide.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@messense messense merged commit 2d44d1b into PyO3:main May 19, 2024
43 of 49 checks passed
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 this pull request may close these issues.

Building an x86 extension module against an x86 Python on an ARM macOS machine
2 participants