Skip to content

[FEA]: Provide separate source distributions for individual packages #754

@mgorny

Description

@mgorny

Is this a duplicate?

Area

General cuda-python

Is your feature request related to a problem? Please describe.

Currently, the cuda-bindings, cuda-core and cuda-python packages on PyPI publish only binary wheels. Source code is available from archives attached to releases, but it includes the whole repository and therefore does not integrate well with standard PEP 517 build process (read: you can't just pip install cuda-python-v12.9.0.tar.gz).

Describe the solution you'd like

While we can work around it, as downstream packagers we would find it much cleaner if you could provide source distributions for each project separately. If you don't want to upload them to PyPI, attaching to releases would also work.

Describe alternatives you've considered

No response

Additional context

I understand that there are currently some cross-package dependencies that require using the monorepo archive. However, I think they could be solved cleanly with help of some symlinks that turn into included subdirectories in sdist. If you agree, I can experiment a bit and prepare a pull request if I get something neat working.

Metadata

Metadata

Assignees

No one assigned

    Labels

    CI/CDCI/CD infrastructureP2Low priority - Nice to haveenhancementAny code-related improvements

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions