Skip to content

Fix #18285: Restore sysconfig.get_platform() android behaving as linux#18296

Closed
Benjamin-Loison wants to merge 1 commit intoastral-sh:mainfrom
Benjamin-Loison:main
Closed

Fix #18285: Restore sysconfig.get_platform() android behaving as linux#18296
Benjamin-Loison wants to merge 1 commit intoastral-sh:mainfrom
Benjamin-Loison:main

Conversation

@Benjamin-Loison
Copy link

@Benjamin-Loison Benjamin-Loison commented Mar 4, 2026

https://peps.python.org/pep-0738/#sys

Summary

See #18285.

Personal notes: Benjamin_Loison/Voice_assistant/issues/9#issuecomment-11198012

Test Plan

I tested successfully this change with Python 3.13 uv venv only on current Termux package version being 0.9.15 due to termux/termux-packages/issues/27547 on Virtual Machine Manager x86-64 LineageOS 23.0 (Android 16) virtual machine and aarch64 Fairphone 4 LineageOS 23.2.

@zanieb zanieb closed this in #18301 Mar 6, 2026
pull bot pushed a commit to Reality2byte/uv that referenced this pull request Mar 6, 2026
Python 3.13+ changed how it reports platform information on Android; see
https://peps.python.org/pep-0738/#architectures

Here we add support for the new platform values, without which uv will
fail due to an unrecognized interpreter.

Closes astral-sh#18296
Closes astral-sh#18285
Closes astral-sh#18313

---------

Co-authored-by: Claude <noreply@anthropic.com>
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