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

Fix abi3 wheel build when no Python interpreters found #1072

Merged
merged 1 commit into from
Aug 31, 2022

Conversation

messense
Copy link
Member

@messense messense commented Aug 31, 2022

Now for abi3 wheels,

  • maturin build without -i should work
  • maturin build -i python when python is 2.7 or not found will print an error
  • maturin build -i python3 when python3 is not found will print an error
  • maturin build -i python3.10 python3.10 is in our bundled sysconfig, it should work regardless of whether python3.10 exists on host or not

Fixes PyO3/maturin-action#71

@netlify
Copy link

netlify bot commented Aug 31, 2022

Deploy Preview for maturin-guide canceled.

Name Link
🔨 Latest commit 9c49838
🔍 Latest deploy log https://app.netlify.com/sites/maturin-guide/deploys/630f86420d73a6000883865f

@messense messense changed the title Fix abi3 build when no interpreters found Fix abi3 wheel build when no interpreters found Aug 31, 2022
@messense messense force-pushed the fix-abi3-interp branch 2 times, most recently from 22f2c4b to 4450bd5 Compare August 31, 2022 15:40
@messense messense changed the title Fix abi3 wheel build when no interpreters found Fix abi3 wheel build when no Python interpreters found Aug 31, 2022
@messense messense enabled auto-merge August 31, 2022 16:03
@messense messense merged commit 75a4587 into PyO3:main Aug 31, 2022
@messense messense deleted the fix-abi3-interp branch August 31, 2022 16:18
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.

Maturin failed to find python interpreter
1 participant