GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Split Android testbed into a separate package · Issue #158018 · python/cpython

Split Android testbed into a separate package #158018

New issue
Copy link
New issue
Copy link
Open
Open
Split Android testbed into a separate package#158018
Copy link
Labels
OS-androidtype-featureA feature request or enhancementA feature request or enhancement

Description

@mhsmith
mhsmith
opened on Sep 23, 2026
Issue body actions

Feature or enhancement

Proposal:

I'm thinking of splitting out the Android testbed from the cpython repository into a separate package so it's easier to update. Waiting for Python's 2-month release cycle has often been an inconvenience for making testbed changes available to cibuildwheel. And Python 3.13 is about to go into security-only status, which will make this even more difficult.

We can structure this as 3 layers:

  • The top-level Platforms/Android launcher can remain in the cpython repository.
  • The testbed moves to an external package on PyPI, where it can be shared by cpython and cibuildwheel. With the testbed source code installed in a virtual environment, writing to its directory as part of a build would be a bad idea, so we should also introduce a "clone" command like the iOS testbed has.
  • This package would also include a lower-level script for building, running and log-streaming any Android app. This can be shared by the Chaquopy test apps, and maybe in future by Briefcase and other Android development tools. For example, this would allow Briefcase to share the logging improvements from gh-144415: Android testbed fixes #142912.

To avoid breaking compatibility, the testbed would continue to be bundled in Android Python 3.13 - 3.15 releases on python.org, but cibuildwheel wouldn't use it anymore, instead installing it from PyPI. From Python 3.16 onwards, the testbed would no longer be included in the python.org release.

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Linked PRs

  • gh-158018: Factor out non-app-specific parts of the Android testbed #158019

Activity

  1. mhsmith
    added
    type-featureA feature request or enhancementA feature request or enhancement
    on Sep 23, 2026
  2. StanFromIreland
    added
    OS-android
    on Sep 23, 2026
  3. freakboy3742 commented on Sep 23, 2026

    @freakboy3742
    freakboy3742
    on Sep 23, 2026
    Contributor
    More actions

    I understand the reasoning behind this, but I think it might need some broader discussions on DPO - I can't think of any other example where the CPython build requires access to pip, so the management of that process will require some planning. If nothing else, the ownership/provenance of the new Android testbed package will need to be agreed on.

  4. kevinprimeraquecreo-stack
    added this to Project_VKon Oct 18, 2026
  5. github-project-automation
    moved this to Todo in Project_VKon Oct 18, 2026
  6. kevinprimeraquecreo-stack
    added this to Project_VKon Oct 18, 2026
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-androidtype-featureA feature request or enhancementA feature request or enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.