]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-145616: Detect Android sysconfig ABI correctly on 32-bit ARM Android on...
authorMalcolm Smith <smith@chaquo.com>
Sat, 28 Mar 2026 07:25:35 +0000 (07:25 +0000)
committerGitHub <noreply@github.com>
Sat, 28 Mar 2026 07:25:35 +0000 (08:25 +0100)
commit793812b104e01ec2e2274372a00a3853ca0e222c
tree4c393c9dfdc406db812d19e409a3673480086530
parentef8475f492c8367391fd72a4789cfa1d9b5250af
[3.13] gh-145616: Detect Android sysconfig ABI correctly on 32-bit ARM Android on 64-bit ARM kernel (GH-145617) (#146539)

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]