Skip to content

Android CI and binary releases #137242

Closed
Closed

Description

@mhsmith

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 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.
  • 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

Activity

  1. mhsmith commented on Sep 5, 2025

    @mhsmith
    MemberAuthor

    arm64-v8a binaries are already released, under the name of "aarch64".

    Android on armeabi-v7a is not officially supported by Python, for the reasons given in PEP 738.

  2. added a commit that references this issue on Sep 8, 2025
  3. added a commit that references this issue on Sep 8, 2025
  4. added a commit that references this issue on Sep 8, 2025
  5. added a commit that references this issue on Sep 9, 2025
  6. added a commit that references this issue on Sep 9, 2025
  7. added a commit that references this issue on Sep 9, 2025
  8. added a commit that references this issue on Sep 9, 2025
  9. added a commit that references this issue on Sep 18, 2025
  10. added 2 commits that reference this issue on Sep 18, 2025
  11. added a commit that references this issue on Sep 18, 2025
  12. added a commit that references this issue on Oct 6, 2025
  13. added 2 commits that reference this issue on Oct 6, 2025
  14. added a commit that references this issue on Oct 6, 2025
  15. added a commit that references this issue on Oct 6, 2025
  16. added a commit that references this issue on Oct 7, 2025
  17. nimbuscloudrav3-bot commented on Oct 12, 2025

    @nimbuscloudrav3-bot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    OS-androidinfraCI, GitHub Actions, buildbots, Dependabot, etc.type-featureA feature request or enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions