13 Commits

Author SHA1 Message Date
Miss Islington (bot)
a75c58b6c8
[3.13] gh-142387: Reduce Android testbed API level to 33 (GH-144315) (#144318)
The emulator images for API level 34 and 35 have significant issues with image size and
internet connectivity. Reverts the default API level used for testbed testing to 33.
(cherry picked from commit 6543720b63a62363de540deb5a6701f1ae431bce)

Co-authored-by: Malcolm Smith <smith@chaquo.com>
2026-01-29 08:42:13 +08:00
Miss Islington (bot)
e7d2f62bb3
[3.13] Fix disk space issues in Android CI (GH-142289) (#142293)
Fix disk space issues in Android CI (GH-142289)
(cherry picked from commit cac4b04973ea4cee80b775782453cddcd694635d)

Co-authored-by: Malcolm Smith <smith@chaquo.com>
2025-12-05 16:12:05 +01:00
Miss Islington (bot)
f09a6a2fc8
[3.13] gh-140041: Fix import of ctypes on Android and Cygwin when ABI flags are present (GH-140178) (#140181)
Use sysconfig to determine the full name of libpython, rather than hardcoding
a library name that doesn't have ABI flags.
(cherry picked from commit 7f371ed84ba471bb1b11e79b502f244a9c17ac84)

Co-authored-by: Malcolm Smith <smith@chaquo.com>
2025-10-15 22:03:25 +00:00
Miss Islington (bot)
d3a4e0608b
[3.13] gh-137242: Allow Android testbed to take all Python command-line options (GH-138805) (#139638)
Modifies the Android test runner to ensure that all valid Python command line
options are preserved when running the test suite.
(cherry picked from commit a9b0506d8db1aff8318759ed9324be56bf33eb31)

Co-authored-by: Malcolm Smith <smith@chaquo.com>
2025-10-06 06:25:58 +00:00
Malcolm Smith
fd39aa3a7f
[3.13] gh-131531: android.py enhancements to support cibuildwheel (GH-132870) (#135164)
Modifies the environment handling and execution arguments of the Android management
script to support the compilation of third-party binaries, and the use of the testbed to
invoke third-party test code.
(cherry picked from commit 2e1544fd2b0cd46ba93fc51e3cdd47f4781d7499)

Co-authored-by: Malcolm Smith <smith@chaquo.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
2025-06-05 17:23:46 +08:00
Malcolm Smith
24bee4e5cf
[3.13] Backport miscellaneous Android testbed changes (#131985)
Backport miscellaneous Android testbed changes from #125946, but without the
Android API version bump.
2025-04-02 08:11:57 +08:00
Miss Islington (bot)
38943bef25
[3.13] gh-131531: Add android.py package command (GH-131532) (#131960)
Adds a `package` entry point to the `android.py` build script to support
creating an Android distribution artefact.
(cherry picked from commit fe5c4c53e7bc6d780686013eaab17de2237b2176)

Co-authored-by: Malcolm Smith <smith@chaquo.com>
2025-04-01 10:05:39 +08:00
Miss Islington (bot)
904634b258
[3.13] gh-125940: Android: support 16 KB pages (GH-125941) (#125948)
gh-125940: Android: support 16 KB pages (GH-125941)

Modify Android build tooling to use 16kB pages.
(cherry picked from commit e68d4b08ff13a06a2c2877f63bf856e6bf3c2e77)

Co-authored-by: Malcolm Smith <smith@chaquo.com>
2024-10-25 08:37:38 +08:00
Victor Stinner
d432fa43b9
[3.13] Fix typos (#123775) (#123866)
Fix typos (#123775)

(cherry picked from commit 9017b95ff2dcff16bcb0b0a609ed2b0daa845943)

Co-authored-by: algonell <algonell@gmail.com>
2024-10-07 23:44:31 +02:00
Miss Islington (bot)
7c9bbaaaa3
[3.13] gh-116622: Switch test_stress_delivery_simultaneous from SIGUSR1 to SIGUSR2 (GH-123981) (#123988)
gh-116622: Switch test_stress_delivery_simultaneous from SIGUSR1 to SIGUSR2 (GH-123981)

Use SIGUSR1 instead of SIGUSR2 to improve reliability of signal stress test on Android.
(cherry picked from commit 43303e362e3a7e2d96747d881021a14c7f7e3d0b)

Co-authored-by: Malcolm Smith <smith@chaquo.com>
2024-09-24 10:21:26 -07:00
Miss Islington (bot)
cf6d14b966
[3.13] gh-116622: Add Android test script (GH-121595) (#123061)
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 f84cce6f2588c6437d69a30856d7c4ba00b70ae0)

Co-authored-by: Malcolm Smith <smith@chaquo.com>
2024-08-16 16:36:46 +08:00
Miss Islington (bot)
5212624c42
[3.13] gh-116622: Fix testPyObjectPrintOSError on Android (GH-122487) (#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 82db5728136ebec3a1d221570b810b4128a21255)

Co-authored-by: Malcolm Smith <smith@chaquo.com>
2024-07-31 00:49:14 +00:00
Malcolm Smith
2520eed0a5
gh-116622: Add Android testbed (GH-117878)
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).
2024-05-01 08:36:45 +02:00