Skip to content

Importer doesn't accept Android SOABI suffix #1370

@mhsmith

Description

@mhsmith

In pypa/cibuildwheel#2349 we now have cibuildwheel producing Android wheels for Python 3.13 and later, in a much cleaner way than Chaquopy's own build-wheel tool. These wheels contain files with the correct suffix .cpython-313-aarch64-linux-android.so. However, Chaquopy's importer doesn't accept this suffix; it only accepts .so.

This will be fixed in Chaquopy 16.1. Unfortunately these wheels will break some existing projects when they're released –specifically, projects that use Python 3.13 (and therefore Chaquopy 16.0), and don't pin all their dependency versions.

  • Hiding the wheels from Chaquopy 16.0 by putting them under a separate index URL is no longer an option, because we're now encouraging most wheels to be released in the main PyPI index.

  • Making cibuildwheel only support Android in Python 3.14 and later would be an unacceptable delay.

  • Making cibuildwheel remove the suffix, in the same way as Chaquopy's build-wheel currently does, would be an unfortunate complication to work around a bug in only one version of Chaquopy.

So the apps themselves will need to be updated in some way. Fortunately there are several easy solutions, which I'll record in a separate issue for visibility: #1377.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions