]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-145616: Detect Android sysconfig ABI correctly on 32-bit ARM Android on 64-bit...
authorRobert Kirkman <31490854+robertkirkman@users.noreply.github.com>
Thu, 26 Mar 2026 12:27:36 +0000 (07:27 -0500)
committerGitHub <noreply@github.com>
Thu, 26 Mar 2026 12:27:36 +0000 (13:27 +0100)
commit3a2b81e919103c0be3bc60a47aaa74d34fea6e9e
tree0f16affa5c8179fa163b5168a0b7eacd30b84b95
parent1516c263999d73a494af735fbbd9abb45dc027b1
gh-145616: Detect Android sysconfig ABI correctly on 32-bit ARM Android on 64-bit ARM kernel (GH-145617)

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.
Lib/sysconfig/__init__.py
Lib/test/test_sysconfig.py
Misc/NEWS.d/next/Library/2026-03-07-02-44-52.gh-issue-145616.x8Mf23.rst [new file with mode: 0644]