Skip to content

Python binding: Use ABI3 wheel build #2656

Open
@Antelox

Description

@Antelox

Since the Python binding doesn't use any direct CPython API it would be possible to produce the so called ABI3 wheels to avoid producing a wheel per python version.

In order to do this a flag named py_limited_api can be used and set to the lowest python version supported by the binding.
Beside this the GitHub workflow will require some refactoring as well in order to run building and testing for all supported python versions in a single matrix rather than split how it's at the moment.

Doing this the required disk space to host all the wheels will be less and the workflow even faster since cibuildwheel will recognize that the built wheel in the previous step is compatible with the next step, going straight to the testing phase.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions