X Tutup
The Wayback Machine - https://web.archive.org/web/20240822232200/https://github.com/python/cpython/issues/116622
Skip to content
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

Open
mhsmith opened this issue Mar 11, 2024 · 0 comments
Open

Add support for Android as a target platform #116622

mhsmith opened this issue Mar 11, 2024 · 0 comments
Assignees
Labels
OS-android type-feature A feature request or enhancement

Comments

@mhsmith
Copy link
Member

mhsmith commented Mar 11, 2024

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:

PRs from the PEP 738 work which are not linked to one of these issues will be listed below.

FYI: @freakboy3742 @encukou

Linked PRs

@mhsmith mhsmith added the type-feature A feature request or enhancement label Mar 11, 2024
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>
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).
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
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
freakboy3742 pushed a commit that referenced this issue Jul 31, 2024
Adds extra handling for way BSD/Android return errors from calls to fwrite.
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Jul 31, 2024
…2487)

Adds extra handling for way BSD/Android return errors from calls to fwrite.
(cherry picked from commit 82db572)

Co-authored-by: Malcolm Smith <smith@chaquo.com>
freakboy3742 pushed a commit that referenced this issue Jul 31, 2024
…#122490)

gh-116622: Fix testPyObjectPrintOSError on Android (GH-122487)

Adds extra handling for way BSD/Android return errors from calls to fwrite.
(cherry picked from commit 82db572)

Co-authored-by: Malcolm Smith <smith@chaquo.com>
serhiy-storchaka pushed a commit that referenced this issue Jul 31, 2024
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>
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Aug 1, 2024
…2522)

Don't expose `FICLONE` ioctl on Android

(cherry picked from commit 06656e2)

Co-authored-by: Malcolm Smith <smith@chaquo.com>
Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
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>
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>
gpshead pushed a commit that referenced this issue Aug 9, 2024
…HON (GH-122764) (GH-122842)

gh-116622: Rename build variable MODULE_LDFLAGS back to LIBPYTHON (GH-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
…s which don't support pwd.getpwall (GH-122521) (GH-122530)

(cherry picked from commit 8844197)

Co-authored-by: Malcolm Smith <smith@chaquo.com>
Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
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.
freakboy3742 added a commit that referenced this issue Aug 16, 2024
…#122539)

gh-116622: Don't expose `FICLONE` ioctl on Android (GH-122522)

Don't expose `FICLONE` ioctl on Android

(cherry picked from commit 06656e2)

Co-authored-by: Malcolm Smith <smith@chaquo.com>
Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
freakboy3742 pushed a commit that referenced this issue Aug 16, 2024
gh-116622: Android logging fixes (GH-122698)

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>
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
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
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
Labels
OS-android type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

3 participants
X Tutup