]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-145616: Detect Android sysconfig ABI correctly on 32-bit ARM Android on...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 27 Mar 2026 19:43:23 +0000 (20:43 +0100)
committerGitHub <noreply@github.com>
Fri, 27 Mar 2026 19:43:23 +0000 (20:43 +0100)
commit70affe0dc74e6679aa20889373d409208abb8b3d
tree7083a105fcbd297236342a0a41d05807beabc3bd
parentbc8497b77a24d0b2ae963dae8eca70e153b8f600
[3.14] gh-145616: Detect Android sysconfig ABI correctly on 32-bit ARM Android on 64-bit ARM kernel (GH-145617) (#146464)

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.
(cherry picked from commit 3a2b81e919103c0be3bc60a47aaa74d34fea6e9e)

Co-authored-by: Robert Kirkman <31490854+robertkirkman@users.noreply.github.com>
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]