BLD: Add Android support#30412
Conversation
|
The 2.3.2-1 wheels here were built using the following procedure:
These wheels pass the entire test suite except for:
|
rgommers
left a comment
There was a problem hiding this comment.
Thanks @mhsmith! It's fine to keep this PR open for reference if that's useful to you, however note that we're unlikely to do another 2.3.x release and even if we did, we'd want the changes to land in main first.
The test suite changes all seem fine, I'd be happy to merge those in a separate PR to main (possibly together with the related changes for iOS, to avoid the duplication).
The hardcoding of longdouble for Android (and iOS) also seems okay and fine to merge separately.
The wheel build changes I'd prefer to not merge, at least until everything upstream is ready and then we can reassess.
|
Thanks: I intend to create a set of similar PRs for numpy, pandas, scipy, and scikit-learn, so I can produce wheels of known versions for some Chaquopy users I'm working with. Once these PRs are fully working, I'll retarget them to the main branch of each project to enable them to release Android wheels on PyPI. |
|
I'd still be happy to merge all the test changes separately. In case you haven't seen it yet, we now have NEP 57 — NumPy platform support, defining CPython-like support tiers. It may be reasonable for this PR to aim to promote Android to Tier 3 by adding a CI job, similar to the current Emscripten one. |
Based on previous work:
I'm currently targeting the 2.3.x branch as part of a project I'm working on, but I'll rebase this PR on main once it's complete.