Resolve release/26.12 forward merge with CMake pin #3216
<!-- coderabbit-ai-generated:v1 -->
<!-- This is an auto-generated comment: summarize by coderabbit.ai -->
<!-- review_stack_entry_start -->
<a href="https://app.coderabbit.ai/change-stack/NVIDIA/raft/pull/3216?scope=ghh_OusAJGA4HG8ljoOV0wJvVx8NmnZIjc2DdjmxOu0xZWA&cs_source=review_comment"><picture><source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-stack-buttons-v1/explain-change-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-stack-buttons-v1/explain-change.svg"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-stack-buttons-v1/explain-change.svg" alt="Explain Change →" height="32"></picture></a>
<!-- review_stack_entry_end -->
<!-- recent_review_status_start -->
No actionable comments were generated in the recent review.
<!-- recent_review_status_end -->
<!-- walkthrough_start -->
<details>
<summary><strong>Summary</strong></summary>
<dl>
<dd>
<br>
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Summary by CodeRabbit
Chores
CMake build requirements are now limited to versions 4.0 through below 4.5 across CUDA environments and Python package builds.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
CMake requirements across Conda environments, recipes, shared dependencies, and Python package build configurations now specify versions >=4.0,<4.5.
Changes: CMake Version Bounds
|Layer / File(s)|Summary|
|:---|:---|
|Apply CMake version bounds <br> dependencies.yaml, conda/environments/all_cuda-/all_cuda-_arch-.yaml, conda/recipes//conda_build_config.yaml, python//pyproject.toml|CMake requirements now specify >=4.0,<4.5 across the listed build configurations.|
<!-- change_assessment_start -->
Estimated code review effort: 2 (Simple) | ~8 minutes
<!-- change_assessment_commit:"2d42aaa3639950a54a941aa5b0e74d97e6eb6fab" -->
<!-- change_assessment_priority:{"version":1,"urgency":"p2","manual":false} -->
Change: Other
<!-- change_assessment_end -->
Suggested reviewers: kylefromnvidia, jameslamb
</dd>
</dl>
</details>
<!-- walkthrough_end -->
<details>
<summary><strong>Merge Risk:</strong> <strong><picture><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/risk-unassessed-16.svg" width="16" height="16" align="absmiddle" alt=""></picture> Minimal</strong> · up to <code>2d42a</code></summary>
<dl>
<dd>
<br>
<!-- final_review_risk_start -->
<!-- final_review_risk_label
Merge Risk: ⚪ Minimal · up to 2d42a
-->
<!-- final_review_risk_coverage:{"sourceCommitId":"2d42aaa3639950a54a941aa5b0e74d97e6eb6fab","coveredCommitId":"2d42aaa3639950a54a941aa5b0e74d97e6eb6fab","kind":"reviewed"} -->
This change pins CMake to versions from 4.0 up to but not including 4.5 across the build configurations. This avoids the reported CMake 4.5 CUDA link-dependency export problem. No merge-blocking risk was found.
<!-- final_review_risk_end -->
</dd>
</dl>
</details>
<details>
<summary><strong>Architecture risk:</strong> <strong><picture><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/risk-low-16.svg" width="16" height="16" align="absmiddle" alt=""></picture> Low</strong> · up to <code>2d42a</code></summary>
<dl>
<dd>
<br>
<!-- architecture_review_start -->
<!-- architecture_review_label
Architecture Summary
Architecture risk: 🔵 Low · up to 2d42a
-->
The change affects 3 systems.
Changed systems: conda, python, dependencies.yaml
Architecture concerns
No architecture-level concerns identified.
<details>
<summary><strong>Review details</strong></summary>
<dl>
<dd>
<br>
Systems and components
Before / after behavior
<4.5; previously it had no upper bound.cmake constraint adds an upper bound of <4.5; the previous >=4.0 constraint had no upper bound.<4.5; the previous >=4.0 constraint had no upper bound.cmake dependency changes from >=4.0 to >=4.0,<4.5.</dd>
</dl>
</details>
<!-- architecture_review_end -->
</dd>
</dl>
</details>
<!-- pre_merge_checks_walkthrough_start -->
<details>
<summary><strong>Pre-merge checks: <sup><picture><img src="https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-counter-passed-14-v2.svg" width="14" height="14" align="middle" alt="Passed" title="Passed"></picture></sup> 4</strong></summary>
<dl>
<dd>
<br>
| Check name | Status | Explanation |
| :------------------------ | :--------------------------------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Title check | !Passed | The title names a forward merge of release/26.12 and a CMake pin, which matches the changeset. The changes narrow cmake constraints to >=4.0,<4.5 across environment files, recipes, and pyproject files… |
| Description check | !Passed | The description states that this PR forward-merges release/26.12 into main to propagate the CMake <4.5 pin, and it explains the conflict resolution for Python build requirements. It also describes the… |
| Linked Issues check | !Passed | Check skipped because no linked issues were found for this pull request. |
| Out of Scope Changes check | !Passed | Check skipped because no linked issues were found for this pull request. |
<details>
<summary><strong>Full details: Title check</strong></summary>
<dl>
<dd>
<br>
Explanation
The title names a forward merge of release/26.12 and a CMake pin, which matches the changeset. The changes narrow cmake constraints to >=4.0,<4.5 across environment files, recipes, and pyproject files. The title is specific about the main change, although it does not name the CMake upper bound and mentions the merge mechanics first.
</dd>
</dl>
</details>
<details>
<summary><strong>Full details: Description check</strong></summary>
<dl>
<dd>
<br>
Explanation
The description states that this PR forward-merges release/26.12 into main to propagate the CMake <4.5 pin, and it explains the conflict resolution for Python build requirements. It also describes the generated dependency files, which match the changeset. It is related to the changes, so the check passes.
</dd>
</dl>
</details>
</dd>
</dl>
</details>
<!-- pre_merge_checks_walkthrough_end -->
<!-- finishing_touch_checkbox_start -->
<details>
<summary><strong>Finishing Touches</strong></summary>
<dl>
<dd>
<br>
<details open>
<summary><strong>Generate unit tests (beta)</strong></summary>
<dl>
<dd>
<br>
</dd>
</dl>
</details>
</dd>
</dl>
</details>
<!-- finishing_touch_checkbox_end -->
<!-- autopilot:start -->
<!-- autopilot:end -->
<!-- recent_review_start -->
<h6>
<details>
<summary><strong><picture><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/info.svg" width="12" height="12" align="absmiddle" alt=""></picture> Recent review info</strong></summary>
<dl>
<dd>
<br>
<!-- review_info_content -->
<details>
<summary><strong><picture><source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/cog-dark.svg"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/cog.svg" width="16" height="16" align="absmiddle" alt=""></picture> Run configuration</strong></summary>
<dl>
<dd>
<br>
466ea7f0-bcf1-4044-94c9-d96f1805e9e8</dd>
</dl>
</details>
<details>
<summary><strong><picture><source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/git-commit-horizontal-dark.svg"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/git-commit-horizontal.svg" width="16" height="16" align="absmiddle" alt=""></picture> Commits</strong></summary>
<dl>
<dd>
<br>
Reviewing files that changed from the base of the PR and between 93148ccc63eb76b9d22b3ee94491820e63218087 and 2d42aaa3639950a54a941aa5b0e74d97e6eb6fab.
</dd>
</dl>
</details>
<details>
<summary><strong><picture><source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/file-plus-corner-dark.svg"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/file-plus-corner.svg" width="16" height="16" align="absmiddle" alt=""></picture> Files selected for processing: 11</strong></summary>
<dl>
<dd>
<br>
conda/environments/all_cuda-129_arch-aarch64.yaml
conda/environments/all_cuda-129_arch-x86_64.yaml
conda/environments/all_cuda-134_arch-aarch64.yaml
conda/environments/all_cuda-134_arch-x86_64.yaml
conda/recipes/libraft/conda_build_config.yaml
conda/recipes/pylibraft/conda_build_config.yaml
conda/recipes/raft-dask/conda_build_config.yaml
dependencies.yaml
python/libraft/pyproject.toml
python/pylibraft/pyproject.toml
python/raft-dask/pyproject.toml
</dd>
</dl>
</details>
Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 10 remain after this review.
</dd>
</dl>
</details>
</h6>
<!-- recent_review_end -->
Approved these changes.
/merge nosquash
Could not determine original ForwardMerger PR from branch name. The branch name should follow the pattern <target_branch>-merge-<source_branch> (e.g., branch-25.06-merge-branch-25.04 or main-merge-release/25.06). Please contact @rapidsdevops on Slack for assistance.
bdice
vyasr
Forward-merge
release/26.12intomainto propagate the CMake<4.5pin from #3214. Resolve the Python build-requirements conflict by retaining main's RAPIDS dependency versions and the release branch's CMake bound, with generated dependency files kept consistent.Companion to #3215. Keep the bot PR open and merge this PR with
/merge nosquashto preserve release history and unblock automatic forward merges.