Skip to content

cuda.bindings: configure independent CUDA 12 and CUDA 13 packages - #3174

Draft
rwgk wants to merge 2 commits into
rwgk/cb12-on-main-02-source-integrationfrom
rwgk/cb12-on-main-03-package-selection
Draft

rwgk wants to merge 2 commits into
rwgk/cb12-on-main-02-source-integrationfrom
rwgk/cb12-on-main-03-package-selection

Conversation

@rwgk

@rwgk rwgk commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Make the two bindings source roots explicit without changing the distribution name or Python namespace. Both build cuda-bindings / cuda.bindings, in separate environments.

  • Record package paths, current/maintenance roles, toolkit pins, and the supported Python matrix in ci/versions.yml.
  • Keep standard setuptools-scm parsing and per-line tag selection. Where the copied maintenance history lacks a reachable version anchor, create only a local preview tag in a disposable checkout; retained appropriate tags take precedence.
  • Select the matching standalone cuda-python metapackage and validate registry, packaging, toolkit, Pixi, and Core-floor agreement.
  • Add registry-specific checks and matching developer environments; basic CUDA 12 repository-hook coverage is introduced in cuda.bindings: integrate CUDA 12 source with shared build tooling #3173.

The small private CI helper package shares parsing and declares its dependencies. It is not shipped in a CUDA Python runtime wheel; release jobs keep these control helpers separate from tagged package sources.

Stack / Review Boundary

Layer 3 of 8. Previous: #3173. Next: #3175. All layers and integrated validation.

The eight PRs are review boundaries for one change. #3182 contains the final integrated source state; earlier integrated validation is recorded in #3178. The stack is rebased onto main dfad7e3658a9. Full hosted CI has not been rerun after this rebase.

Suggested Review Order

  1. ci/versions.yml
  2. ci/tools/bindings_config.py
  3. ci/tools/bindings_scm_version.py
  4. cuda_python/setup.py

Validation

Configuration, SCM, release-selection, and metadata regressions pass as part of the combined 422-test CI-tool suite (55 subtests). Independent packaging rehearsals built beta/RC and final metapackage sdists and wheels for both majors, including rebuilding outside Git without version overrides.

Checklist

  • Relevant existing and focused regression tests cover the integration behavior.
  • This description identifies the layer's scope and validation boundary.

@rwgk rwgk added this to the cuda.bindings next milestone Oct 21, 2026
@rwgk rwgk added enhancement Any code-related improvements CI/CD CI/CD infrastructure cuda.bindings Everything related to the cuda.bindings module labels Oct 21, 2026
@copy-pr-bot

copy-pr-bot Bot commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@rwgk rwgk self-assigned this Oct 21, 2026
@github-actions github-actions Bot added the cuda.core Everything related to the cuda.core module label Oct 21, 2026
@rwgk
rwgk added this pull request to stack #3179 October 21, 2026 04:48
@rwgk
rwgk force-pushed the rwgk/cb12-on-main-03-package-selection branch from 631efa9 to 051c1ef Compare October 21, 2026 05:27
@rwgk
rwgk force-pushed the rwgk/cb12-on-main-03-package-selection branch 5 times, most recently from 7d9d7e8 to 631b63c Compare October 21, 2026 18:22
rwgk added 2 commits October 21, 2026 12:25
Signed-off-by: Ralf W. Grosse-Kunstleve <rgrossekunst@nvidia.com>
Signed-off-by: Ralf W. Grosse-Kunstleve <rgrossekunst@nvidia.com>
@rwgk
rwgk force-pushed the rwgk/cb12-on-main-03-package-selection branch from 631b63c to ecb50fa Compare October 21, 2026 19:33

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI/CD CI/CD infrastructure cuda.bindings Everything related to the cuda.bindings module cuda.core Everything related to the cuda.core module enhancement Any code-related improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant