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

Use platform tag from sysconfig.platform on non-portable Linux #709

Merged
merged 4 commits into from
Nov 28, 2021

Conversation

messense
Copy link
Member

@messense messense commented Nov 27, 2021

Stop hard-code linux platform tag for non-portable Linux. This allows build linux_armv8l wheels on 64-bit Linux running in 32-bit mode, for example linux32 python3 -m sysconfig:

Platform: "linux-armv8l"
Python version: "3.8"
Current installation scheme: "posix_prefix"

This removes the need for patch on Alpine Linux armhf and armv7 CI runners, it was painful.

I've tested on a Raspberry Pi running a 64-bit Ubuntu.

See also pypa/packaging#476

@netlify
Copy link

netlify bot commented Nov 27, 2021

✔️ Deploy Preview for maturin-guide canceled.

🔨 Explore the source changes: b6edd31

🔍 Inspect the deploy log: https://app.netlify.com/sites/maturin-guide/deploys/61a311d119fc690008e1e314

@messense
Copy link
Member Author

messense commented Nov 27, 2021

Still having issue with abi3 since it doesn't use a Python interpreter on Linux.

Fixed in d5c8f6d

@messense messense merged commit 03a3290 into PyO3:main Nov 28, 2021
@messense messense deleted the linux-sysconfig-platform branch November 28, 2021 05:39
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.

1 participant