Skip to content

Android CI and binary releases #137242

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. freakboy3742 commented on Jul 31, 2025

    @freakboy3742
    Contributor

    It probably goes without saying, but I'm +1 to this.

  2. mhsmith commented on Aug 6, 2025

    @mhsmith
    MemberAuthor

    I've now added the website release functionality, and updated the PR list above.

  3. mhsmith commented on Aug 11, 2025

    @mhsmith
    MemberAuthor

    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.

  4. added 3 commits that reference this issue on Aug 12, 2025
  5. added a commit that references this issue on Aug 12, 2025
  6. added a commit that references this issue on Aug 13, 2025
  7. mhsmith commented on Aug 14, 2025

    @mhsmith
    MemberAuthor

    Android CI is now active on GitHub Actions and Android binaries are included in the release of Python 3.14.0rc2.

  8. added a commit that references this issue on Aug 19, 2025
  9. thread101 commented on Sep 5, 2025

    @thread101

    what about binaries for armeabi-v7a and arm64-v8a architectures?

  10. 4 remaining items

  11. added a commit that references this issue on Sep 9, 2025
  12. added a commit that references this issue on Sep 9, 2025
  13. added a commit that references this issue on Sep 9, 2025
  14. added a commit that references this issue on Sep 9, 2025
  15. added a commit that references this issue on Sep 18, 2025
  16. added 2 commits that reference this issue on Sep 18, 2025
  17. added a commit that references this issue on Sep 18, 2025
  18. added a commit that references this issue on Oct 6, 2025
  19. added 2 commits that reference this issue on Oct 6, 2025
  20. added a commit that references this issue on Oct 6, 2025
  21. added a commit that references this issue on Oct 6, 2025
  22. added a commit that references this issue on Oct 7, 2025
  23. 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