Commit graph

12 commits

Author SHA1 Message Date
Miss Islington (bot)
4999cdbced
[3.13] gh-131531: Android test fixes (GH-136845) (#136963)
Modifies the test runner script to no longer export the the HOST environment
variable, and to allow for tests that produce no Python output (output from the
Android console is still expected and required). These changes stem from
knowledge gained during developing a PR for Android support in cibuildwheel.
(cherry picked from commit 149bddcc21)

Co-authored-by: Malcolm Smith <smith@chaquo.com>
2025-07-22 19:27:02 +08: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 2e1544fd2b)

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
Miss Islington (bot)
bf8eecdca7
[3.13] gh-131531: Make Android build retry after network failures (GH-133193) (#133236)
Adds a retry strategy when downloading compilation resources for Android, plus some other cleanups.
(cherry picked from commit feac343d1a)

Co-authored-by: Malcolm Smith <smith@chaquo.com>
2025-05-01 04:41:44 +00: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 fe5c4c53e7)

Co-authored-by: Malcolm Smith <smith@chaquo.com>
2025-04-01 10:05:39 +08:00
Miss Islington (bot)
67087d9327
[3.13] gh-129917: Update installers to use SQLite 3.49.1 (GH-131025) (#131957)
gh-129917: Update installers to use SQLite 3.49.1 (GH-131025)

(cherry picked from commit 45a3ab5a81)

Co-authored-by: Erlend E. Aasland <erlend@python.org>
Co-authored-by: Ned Deily <nad@python.org>
2025-03-31 21:37:14 +00: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 e68d4b08ff)

Co-authored-by: Malcolm Smith <smith@chaquo.com>
2024-10-25 08:37:38 +08:00
Miss Islington (bot)
e9b531d239
[3.13] gh-116622: Android test script improvements (GH-124012) (#124034)
gh-116622: Android test script improvements (GH-124012)

* Set Android test script stdout to line-buffered
* Print warning logcat messages on stderr
* Add a -vv option to display high-volume messages which are rarely useful
* Documentation and comment improvements
(cherry picked from commit 1f9d163850)

Co-authored-by: Malcolm Smith <smith@chaquo.com>
2024-09-23 17:33:33 -07:00
Miss Islington (bot)
d8324335b5
[3.13] gh-123418: Update Android build to use OpenSSL 3.0.15 (GH-123685) (#123715)
gh-123418: Update Android build to use OpenSSL 3.0.15 (GH-123685)
(cherry picked from commit 1fdfce9452)

Co-authored-by: Zachary Ware <zach@python.org>
2024-09-04 23:08:38 +00: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 f84cce6f25)

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 82db572813)

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
Malcolm Smith
3ec57307e7
gh-71052: Add Android build script and instructions (#116426) 2024-03-22 00:52:29 +01:00