Skip to content

gh-145616: Detect Android sysconfig ABI correctly on 32-bit ARM Android on 64-bit ARM kernel#145617

Open
robertkirkman wants to merge 2 commits intopython:mainfrom
robertkirkman:sysconfig-32-bit-arm-android-64-bit-arm-kernel
Open

gh-145616: Detect Android sysconfig ABI correctly on 32-bit ARM Android on 64-bit ARM kernel#145617
robertkirkman wants to merge 2 commits intopython:mainfrom
robertkirkman:sysconfig-32-bit-arm-android-64-bit-arm-kernel

Conversation

@robertkirkman
Copy link

@robertkirkman robertkirkman commented Mar 7, 2026

  • When Python is running on 32-bit ARM Android on a 64-bit ARM kernel, os.uname().machine is armv8l. Such devices run the same userspace code as armv7l devices, so apply the same armeabi_v7a Android ABI to them, which works.

… Android on 64-bit ARM kernel

- When Python is running on 32-bit ARM Android on a 64-bit ARM kernel, `os.uname().machine` is `armv8l`. Such devices run the same userspace code as `armv7l` devices, so apply the same `armeabi_v7a` Android ABI to them, which works.

- Issue: python#145616
@robertkirkman robertkirkman requested a review from FFY00 as a code owner March 7, 2026 02:37
@python-cla-bot
Copy link

python-cla-bot bot commented Mar 7, 2026

All commit authors signed the Contributor License Agreement.

CLA signed

@bedevere-app
Copy link

bedevere-app bot commented Mar 7, 2026

Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool.

If this change has little impact on Python users, wait for a maintainer to apply the skip news label instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant