Resolve release/26.12 forward merge with CMake pin #3217
<!-- 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/3217?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
Build Compatibility
Build environments now use CMake versions 4.0 through 4.x before 4.5 across CUDA configurations and Python packages. This keeps CMake version requirements consistent across the project’s supported build setups.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
CMake requirements now specify versions >=4.0,<4.5 in Conda environment and recipe configurations, shared dependency configuration, and Python package build configurations.
Changes: CMake version bounds
|Layer / File(s)|Summary|
|:---|:---|
|Conda build constraints <br> dependencies.yaml, conda/environments/.yaml, conda/recipes//conda_build_config.yaml|Conda environment and recipe requirements, plus the shared cmake_ver dependency, now constrain CMake to versions >=4.0,<4.5.|
|Python build requirements <br> python/libraft/pyproject.toml, python/pylibraft/pyproject.toml, python/raft-dask/pyproject.toml|Python package build requirements now constrain CMake to versions >=4.0,<4.5.|
<!-- change_assessment_start -->
Estimated code review effort: 1 (Trivial) | ~4 minutes
<!-- change_assessment_commit:"2d42aaa3639950a54a941aa5b0e74d97e6eb6fab" -->
<!-- change_assessment_priority:{"version":1,"urgency":"p2","manual":false} -->
Change: Other
<!-- change_assessment_end -->
Suggested reviewers: kylefromnvidia
</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 caps the CMake build dependency below 4.5 for Conda and Python builds, which avoids the incompatibility described in the PR. The bound is applied consistently, and no merge-blocking risk is evident.
<!-- 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 allowed any version >=4.0.cmake constraint adds an upper bound of <4.5; the previous constraint had no upper bound.cmake constraint changes from >=4.0 to >=4.0,<4.5.<4.5; previously, any version >=4.0 was allowed.</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 into main and a CMake pin, which matches the changeset. The changeset narrows cmake to >=4.0,<4.5 across environment files, recipes, dependencies.yaml,… |
| Description check | !Passed | The description states that this PR forward-merges release/26.12 into main to propagate the CMake <4.5 pin from #3214. It also explains the Python build-requirements conflict resolution and the compan… |
| 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 into main and a CMake pin, which matches the changeset. The changeset narrows cmake to >=4.0,<4.5 across environment files, recipes, dependencies.yaml, and pyproject.toml files. The title is specific about the main change, though it does not say the pin is to <4.5. It also does not name the conflict resolution beyond the CMake pin.
</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 from #3214. It also explains the Python build-requirements conflict resolution and the companion PR #3215. This matches the changeset, which changes the cmake constraints to >=4.0,<4.5 in the listed files.
</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>
26d28047-9ae4-4c3a-af72-816ce7d0e970</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; 11 remain after this review.
</dd>
</dl>
</details>
</h6>
<!-- recent_review_end -->
Approved these changes.
/merge nosquash
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.