Skip to content

Add some more examples for the platform_machine environment marker - #1904

Closed
keysmashes wants to merge 1 commit into
python:mainfrom
keysmashes:push-mswlruommvws
Closed

keysmashes wants to merge 1 commit into
python:mainfrom
keysmashes:push-mswlruommvws

Conversation

@keysmashes

@keysmashes keysmashes commented Sep 1, 2025 •

Copy link
Copy Markdown
Contributor

I was surprised to discover that Linux ARM machines report themselves as aarch64, but macOS ARM machines report themselves as arm64. Highlighting both of these possibilities in the table (in the same way that the examples for platform_system include Java) feels useful.


📚 Documentation preview 📚: https://python-packaging-user-guide--1904.org.readthedocs.build/en/1904/

I was surprised to discover that Linux ARM machines report themselves as
`aarch64`, but macOS ARM machines report themselves as `arm64`.
Highlighting both of these possibilities in the table (in the same way
that the examples for `platform_system` include `Java`) feels useful.
@rgommers rgommers added type: enhancement A self-contained enhancement or new feature component: specifications labels Nov 10, 2026
@rgommers

Copy link
Copy Markdown
Contributor

Thank you @keysmashes, this is correct and a useful change. However, this PR now has a merge conflict and this change with some additional clarification was already made in gh-1988. Hence, I'll go ahead and close this PR. Thanks for the contribution though. And thanks @merwok for the review.

@rgommers rgommers closed this Nov 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component: specifications type: enhancement A self-contained enhancement or new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants