enthought / enthought/traits

Feature request: publish Android wheels for Traits

Open
#1,900 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
462
Forks
90
PR merge metrics
No merged PRs in 30d

Description

Would you consider adding official Android wheels for Traits?

Android is now an officially supported CPython platform, and the Python packaging ecosystem has recently gained support for standard Android wheel tags and Android builds through cibuildwheel.

Traits is currently one of the remaining packages in my Android Python application that needs to be cross-compiled locally with `python-for-android`. The application uses Traits itself, but not TraitsUI.

`python-for-android` now has support for consuming compatible prebuilt Android wheels, so publishing Traits wheels for Android would remove the need for a dedicated Traits build recipe.

A typical target of interest would be:

```
CPython 3.13+
Android API 24+
arm64-v8a
```

Traits already uses `cibuildwheel` for binary wheel generation on the supported desktop platforms, so I was wondering whether extending the existing wheel build workflow to Android would now be feasible.

I would also be happy to test experimental Android wheels in a real Kivy / traits/python-for-android application if that would be useful.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by inspecting Traits' existing cibuildwheel workflow for desktop binary wheels and checking how Android wheel targets are configured. Verify whether the proposed CPython 3.13+, Android API 24+, arm64-v8a target can be built and consumed by python-for-android. Done means the workflow publishes compatible official Android wheels and they work in a real Kivy/Traits application.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system, mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.