-
-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Android as a target platform #116622
Labels
Comments
erlend-aasland
pushed a commit
that referenced
this issue
Apr 5, 2024
- re-enable test_fcntl_64_bit on Linux aarch64, but disable it on all Android ABIs - use support.setswitchinterval in all relevant tests - skip test_fma_zero_result on Android x86_64 - accept EACCES when calling os.get_terminal_size on Android
sobolevn
added a commit
that referenced
this issue
Apr 9, 2024
…rocesses (#116758) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
diegorusso
pushed a commit
to diegorusso/cpython
that referenced
this issue
Apr 17, 2024
- re-enable test_fcntl_64_bit on Linux aarch64, but disable it on all Android ABIs - use support.setswitchinterval in all relevant tests - skip test_fma_zero_result on Android x86_64 - accept EACCES when calling os.get_terminal_size on Android
diegorusso
pushed a commit
to diegorusso/cpython
that referenced
this issue
Apr 17, 2024
…t subprocesses (python#116758) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
vstinner
pushed a commit
that referenced
this issue
Apr 30, 2024
encukou
pushed a commit
that referenced
this issue
May 1, 2024
Add code and config for a minimal Android app, and instructions to build and run it. Improve Android build instructions in general. Add a tool subcommand to download the Gradle wrapper (with its binary blob). Android studio must be downloaded manually (due to the license).
encukou
pushed a commit
that referenced
this issue
May 1, 2024
SonicField
pushed a commit
to SonicField/cpython
that referenced
this issue
May 8, 2024
…ed in an Android app (python#118063)
SonicField
pushed a commit
to SonicField/cpython
that referenced
this issue
May 8, 2024
Add code and config for a minimal Android app, and instructions to build and run it. Improve Android build instructions in general. Add a tool subcommand to download the Gradle wrapper (with its binary blob). Android studio must be downloaded manually (due to the license).
SonicField
pushed a commit
to SonicField/cpython
that referenced
this issue
May 8, 2024
SonicField
pushed a commit
to SonicField/cpython
that referenced
this issue
May 8, 2024
…ed in an Android app (python#118063)
freakboy3742
pushed a commit
that referenced
this issue
Jul 31, 2024
Adds extra handling for way BSD/Android return errors from calls to fwrite.
serhiy-storchaka
pushed a commit
that referenced
this issue
Jul 31, 2024
… don't support pwd.getpwall (GH-122521)
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Jul 31, 2024
… which don't support pwd.getpwall (pythonGH-122521) (cherry picked from commit 8844197) Co-authored-by: Malcolm Smith <smith@chaquo.com>
freakboy3742
added a commit
that referenced
this issue
Aug 1, 2024
Don't expose `FICLONE` ioctl on Android Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
This was referenced Aug 1, 2024
freakboy3742
pushed a commit
that referenced
this issue
Aug 6, 2024
Modifies the handling of stdout/stderr redirection on Android to accomodate the rate and buffer size limits imposed by Android's logging infrastructure.
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Aug 6, 2024
Modifies the handling of stdout/stderr redirection on Android to accomodate the rate and buffer size limits imposed by Android's logging infrastructure. (cherry picked from commit b0c48b8) Co-authored-by: Malcolm Smith <smith@chaquo.com>
This was referenced Aug 6, 2024
brandtbucher
pushed a commit
to brandtbucher/cpython
that referenced
this issue
Aug 7, 2024
Modifies the handling of stdout/stderr redirection on Android to accomodate the rate and buffer size limits imposed by Android's logging infrastructure.
erlend-aasland
pushed a commit
that referenced
this issue
Aug 8, 2024
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Aug 8, 2024
…ON (pythonGH-122764) (LIBPYTHON was renamed MODULE_LDFLAGS in commit 7f5e3f0.) (cherry picked from commit 2f5c3b0) Co-authored-by: Malcolm Smith <smith@chaquo.com>
serhiy-storchaka
pushed a commit
that referenced
this issue
Aug 12, 2024
freakboy3742
pushed a commit
that referenced
this issue
Aug 16, 2024
Adds a script for running the test suite on Android emulator devices. Starting with a fresh install of the Android Commandline tools; the script manages installing other requirements, starting the emulator (if required), and retrieving results from that emulator.
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Aug 16, 2024
Adds a script for running the test suite on Android emulator devices. Starting with a fresh install of the Android Commandline tools; the script manages installing other requirements, starting the emulator (if required), and retrieving results from that emulator. (cherry picked from commit f84cce6) Co-authored-by: Malcolm Smith <smith@chaquo.com>
freakboy3742
pushed a commit
that referenced
this issue
Aug 16, 2024
gh-116622: Add Android test script (GH-121595) Adds a script for running the test suite on Android emulator devices. Starting with a fresh install of the Android Commandline tools; the script manages installing other requirements, starting the emulator (if required), and retrieving results from that emulator. (cherry picked from commit f84cce6) Co-authored-by: Malcolm Smith <smith@chaquo.com>
blhsing
pushed a commit
to blhsing/cpython
that referenced
this issue
Aug 22, 2024
Adds extra handling for way BSD/Android return errors from calls to fwrite.
blhsing
pushed a commit
to blhsing/cpython
that referenced
this issue
Aug 22, 2024
… which don't support pwd.getpwall (pythonGH-122521)
blhsing
pushed a commit
to blhsing/cpython
that referenced
this issue
Aug 22, 2024
Don't expose `FICLONE` ioctl on Android Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
blhsing
pushed a commit
to blhsing/cpython
that referenced
this issue
Aug 22, 2024
Modifies the handling of stdout/stderr redirection on Android to accomodate the rate and buffer size limits imposed by Android's logging infrastructure.
blhsing
pushed a commit
to blhsing/cpython
that referenced
this issue
Aug 22, 2024
…ON (python#122764) (LIBPYTHON was renamed MODULE_LDFLAGS in commit 7f5e3f0.)
blhsing
pushed a commit
to blhsing/cpython
that referenced
this issue
Aug 22, 2024
Adds a script for running the test suite on Android emulator devices. Starting with a fresh install of the Android Commandline tools; the script manages installing other requirements, starting the emulator (if required), and retrieving results from that emulator.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


I am now working on PEP 738, which proposes adding Android as a Tier 3 supported platform for Python 3.13. I'll use this page to track all the issues related to this work.
This was previously managed at #71052, but most of that issue's history is now irrelevant, so I'm opening a fresh one.
Android-related issues which were open before the PEP 738 work began:
Issues added during the PEP 738 work:
grpmodule attempts to build even ifgetgrentfamily of functions are unavailable #114875test_walk_above_recursion_limituses absolute limits #116057PRs from the PEP 738 work which are not linked to one of these issues will be listed below.
FYI: @freakboy3742 @encukou
Linked PRs
sys.platformfrom "linux" to "android" #116215ctypes.util.find_libraryon Android #116379raise_signalrather thankillinThreadSignals.test_signals#116423raise_signalinThreadSignals.test_signals(GH-116423) #116617raise_signalinThreadSignals.test_signals(GH-116423) #116618test_docteston platforms that don't support subprocesses #116758PosixPathTest.test_expanduser_pwd2on platforms which don't supportpwd.getpwall#122521FICLONEioctl on Android #122522FICLONEioctl on Android (GH-122522) #122539The text was updated successfully, but these errors were encountered: