Skip to content

[FR] Implement building wheels from sdist/tarball artifacts #311

@webknjaz

Description

@webknjaz

This is an important use case for building platform-specific matrixes of wheels. In this scenario, one would build an sdist in a separate job, save it as an artifact, and then a matrix of subsequent jobs would create wheels using the same artifact. As a bonus, other binary artifacts from external ecosystems, like RPM, normally also get built from sdist so such jobs would also be runnable in parallel.

I suggest supporting the following invocation:

$ python -m build --wheel dist/some-tarball.tar.gz

I think this UX is good. And since the CLI already accepts a directory-type source in that place, pointing at a file would be natural.

Refs:

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions