This file describes cuda_python, the metapackage layer in the cuda-python
monorepo.
cuda_pythonis primarily packaging and documentation glue.- It does not host substantial runtime APIs like
cuda_core,cuda_bindings, orcuda_pathfinder.
pyproject.toml: project metadata and dynamic dependency declaration.setup.py: dynamic dependency pinning logic for matchingcuda-bindingsversions (release vs pre-release behavior).docs/: top-level docs build/aggregation scripts.
- Keep this package lightweight; prefer implementing runtime features in the component packages rather than here.
- Be careful when changing dependency/version logic in
setup.py; preserve compatibility between metapackage versioning and subpackage constraints.
setup.pypinscuda-coreto a minor series (cuda-core~=X.Y.0). Everycuda-corerelease must bump that pin, and acuda-pythonrelease should follow right after, so thatpip install cuda-pythonresolves to the newcuda-core. Thecuda-corerelease checklist (.github/RELEASE-core.md) has this step.- Users should pin
cuda-pythonalone. A separatecuda-corepin next to it can make the install unresolvable after acuda-corerelease. - If you update docs structure, ensure
docs/build_all_docs.shstill collects docs fromcuda_python,cuda_bindings,cuda_core, andcuda_pathfinder.