Repository navigation
Android CI and binary releases #137242
Copy link
Copy link
Closed
Labels
OS-androidinfraCI, GitHub Actions, buildbots, Dependabot, etc.CI, GitHub Actions, buildbots, Dependabot, etc.type-featureA feature request or enhancementA feature request or enhancement
Description
Proposal:
At the PyCon US language summit a couple of months ago, we discussed adding the following features to the mobile platforms:
- Continuous integration on GitHub Actions
- Official binary releases on python.org
Details of the discussion are in the link below, but I think it's fair to say that there was a consensus in favor of both features. I've talked about this with @hugovk, and he's open to including Android binaries in the 3.14 release series, as long as the process is well-automated, and there are no objections from the core team.
I've created the following PRs to implement this:
-
gh-137242: Add Android CI job #137186
- Add a script which builds and tests on Android, and invoke it from the CI workflow.
- This takes about 20 minutes, which is slightly faster than the existing Windows free-threading job. So the overall workflow is not slowed down.
- Add a script which builds and tests on Android, and invoke it from the CI workflow.
-
Add Android support release-tools#265
- Invoke the same script from the existing workflow which builds the source and docs releases.
- Again, there is a slower existing job, so the overall workflow is not slowed down.
- The Android release artifacts are attached to the workflow, from where the release manager can download them. This will be the only additional manual step required in the release process.
- Add Android support to run_release.py and add_to_pydotorg.py.
- Invoke the same script from the existing workflow which builds the source and docs releases.
-
Add Android release support pythondotorg#2762
- Describes some one-time setup which will need to be done manually through the Django admin interface, and updates the test data to show what that would look like.
- Adds an explanatory note at the top of the Android downloads page.
-
PEP 101: Add Android peps#4541
- Updates the release checklist.
Links to previous discussion of this feature:
Linked PRs
- gh-137242: Add Android CI job #137186
- [3.14] gh-137242: Add Android CI job (GH-137186) #137683
- [3.13] gh-137242: Add Android CI job (GH-137186) #137684
- gh-137242: Build Android artifacts in a reusable workflow #137768
- gh-137242: Add a
--no-randomizeoption, and use it in Android CI #138303 - gh-137242: Mention Android binary releases in documentation #138305
- gh-137242: Add a --no-randomize option, and use it in Android CI #138649
- [3.14] gh-137242: Add a --no-randomize option, and use it in Android CI (GH-138649) #138684
- [3.13] gh-137242: Add a --no-randomize option, and use it in Android CI (GH-138649) #138685
- gh-137242: Allow Android testbed to take all Python command-line options #138805
- [3.14] gh-137242: Mention Android binary releases in documentation (GH-138305) #139124
- [3.13] gh-137242: Mention Android binary releases in documentation (GH-138305) #139125
- [3.14] gh-137242: Allow Android testbed to take all Python command-line options (GH-138805) #139637
- [3.13] gh-137242: Allow Android testbed to take all Python command-line options (GH-138805) #139638
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
OS-androidinfraCI, GitHub Actions, buildbots, Dependabot, etc.CI, GitHub Actions, buildbots, Dependabot, etc.type-featureA feature request or enhancementA feature request or enhancement
Activity
freakboy3742 commentedon Jul 31, 2025
It probably goes without saying, but I'm +1 to this.
mhsmith commentedon Aug 6, 2025
I've now added the website release functionality, and updated the PR list above.
mhsmith commentedon Aug 11, 2025
I've now updated the list above to include a PEP 101 PR, which I think is the last piece required to make this happen.
gh-137242: Add Android CI job (#137186)
[3.14] pythongh-137242: Add Android CI job (pythonGH-137186)
[3.13] pythongh-137242: Add Android CI job (pythonGH-137186)
[3.13] gh-137242: Add Android CI job (GH-137186) (#137684)
[3.14] gh-137242: Add Android CI job (GH-137186) (#137683)
mhsmith commentedon Aug 14, 2025
Android CI is now active on GitHub Actions and Android binaries are included in the release of Python 3.14.0rc2.
pythongh-137242: Add Android CI job (python#137186)
thread101 commentedon Sep 5, 2025
what about binaries for armeabi-v7a and arm64-v8a architectures?
4 remaining items
[3.14] gh-137242: Add a --no-randomize option, and use it in Android …
[3.13] gh-137242: Add a --no-randomize option, and use it in Android …
[3.14] pythongh-137242: Add Android CI job (pythonGH-137186) (python#…
pythongh-137242: Add a --no-randomize option, and use it in Android CI (
gh-137242: Mention Android binary releases in documentation (#138305)
pythongh-137242: Mention Android binary releases in documentation (py…
pythongh-137242: Mention Android binary releases in documentation (py…
[3.14] gh-137242: Mention Android binary releases in documentation (G…
gh-137242: Allow Android testbed to take all Python command-line opti…
pythongh-137242: Allow Android testbed to take all Python command-lin…
pythongh-137242: Allow Android testbed to take all Python command-lin…
[3.13] gh-137242: Allow Android testbed to take all Python command-li…
[3.14] gh-137242: Allow Android testbed to take all Python command-li…
pythongh-137242: Allow Android testbed to take all Python command-lin…
nimbuscloudrav3-bot commentedon Oct 12, 2025