Skip to content

Commit 6a6f355

Browse files
authored
PEP 738: clarify Android CI availability (#3700)
1 parent a8d040a commit 6a6f355

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed

peps/pep-0738.rst

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,10 @@ an Android-compatible build from the unpatched CPython source code. It does not
205205
necessarily require there to be any officially distributed Android artifacts on
206206
python.org, although these could be added in the future.
207207

208+
Android will be built using the same configure and Makefile system as other
209+
POSIX platforms, and must therefore be built *on* a POSIX platform. Both Linux
210+
and macOS will be supported.
211+
208212
A Gradle project will be provided for the purpose of running the CPython test
209213
suite. Tooling will be provided to automate the process of building the test
210214
suite app, starting the emulator, installing the test suite, and executing
@@ -323,13 +327,17 @@ identical or very similar operating system binaries, testing on emulators will
323327
be adequate. x86_64 emulators can be run on Linux, macOS or Windows, but ARM64
324328
emulators are only supported on ARM64 Macs.
325329

326-
GitHub Actions is able to host Android emulators on their Linux and macOS
327-
runners. The free tier currently only provides x86_64 machines; however ARM64
328-
macOS runners `recently became available on paid plans <https://github.blog/
329-
2023-10-02-introducing-the-new-apple-silicon-powered-m1-macos-larger-runner-for-github-actions/>`__.
330-
331-
If necessary, `Anaconda <https://anaconda.com>`__ has also offered to provide
332-
Android CI resources.
330+
Anaconda `has offered
331+
<https://discuss.python.org/t/pep-738-adding-android-as-a-supported-platform/40975/20>`__
332+
to provide physical hardware to run Android buildbots. These will include both
333+
Linux x86_64 and macOS ARM64 machines, which would cover both supported runtime
334+
architectures and both supported build platforms.
335+
336+
CPython does not currently test Tier 3 platforms on GitHub Actions, but if this
337+
ever changes, their Linux and macOS runners are also able to host Android
338+
emulators. macOS ARM64 runners have been free to all public repositories
339+
`since January 2024
340+
<https://github.blog/changelog/2024-01-30-github-actions-introducing-the-new-m1-macos-runner-available-to-open-source/>`__.
333341

334342

335343
Packaging

0 commit comments

Comments
 (0)