Skip to content

RFC: Make our cuda-* packages depend on the new cuda-toolkit metapackage without version constraints? #903

@leofang

Description

@leofang

I am thinking to add a mandatory dependency cuda-toolkit == 13.* to cuda-bindings. This allows using it to control the version, ex:

pip install cuda-bindings cuda-toolkit=13

or

pip install cuda-bindings[all] cuda-toolkit==12.9

similar to cuda-version on conda.

Admittedly, this won't work fully because pip does not allow us to patch repodata and fix all published all packages to enforce this (we did this for all CUDA packages ever published on conda-forge when cuda-version was introduced). But it is still a step forward I'd argue. Thoughts? @kkraus14 @bdice @rwgk @shwina @carterbox

Originally posted by @leofang in #883 (comment)

Metadata

Metadata

Assignees

Labels

P0High priority - Must do!RFCPlans and announcementscuda.bindingsEverything related to the cuda.bindings modulepackagingAnything related to wheels or Conda packages

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions