Require CMake 4.3 #2618
<!-- 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/rapidsai/rmm/pull/2618?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
Raised the minimum required CMake version from 4.0 to 4.3 across project builds and documented requirements. The maximum version remains below 4.5 where specified.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
The pull request raises the minimum CMake version from 4.0 to 4.3 across project requirements, package build constraints, and the README. Existing <4.5 upper bounds and fatal-error behavior remain. Two CMake copyright notices are also updated.
Changes: CMake Minimum Version
|Layer / File(s)|Summary|
|:---|:---|
|CMake requirements and build constraints <br> cmake/RAPIDS.cmake, cpp/CMakeLists.txt, cpp/cmake/tests/, cpp/examples/basic/CMakeLists.txt, python//CMakeLists.txt, conda/environments/all_cuda-_arch-.yaml, conda/recipes//conda_build_config.yaml, dependencies.yaml, python//pyproject.toml, README.md|CMake minimum-version declarations and package constraints now specify 4.3 instead of 4.0. Existing <4.5 upper bounds and fatal-error behavior remain. Copyright notices in cmake/RAPIDS.cmake, cpp/examples/basic/CMakeLists.txt, and python/librmm/CMakeLists.txt are updated.|
<!-- change_assessment_start -->
Estimated code review effort: 2 (Simple) | ~5 minutes
<!-- change_assessment_commit:"d65d92e0bc465fe6457c9bc95165a9486242005f" -->
<!-- change_assessment_priority:{"version":1,"urgency":"p2","manual":false} -->
Change: Other
<!-- change_assessment_end -->
Possibly related PRs
Suggested reviewers: kylefromnvidia, vyasr
</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>d65d9</code></summary>
<dl>
<dd>
<br>
<!-- final_review_risk_start -->
<!-- final_review_risk_label
Merge Risk: ⚪ Minimal · up to d65d9
-->
<!-- final_review_risk_coverage:{"sourceCommitId":"d65d92e0bc465fe6457c9bc95165a9486242005f","coveredCommitId":"d65d92e0bc465fe6457c9bc95165a9486242005f","kind":"reviewed"} -->
This change raises the minimum required CMake version to 4.3 consistently across build files, packaging constraints and documentation. No concrete merge-blocking issue was found. The Label Checker status still needs the missing category and breaking labels added.
<!-- final_review_risk_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 "Require CMake 4.3" names the main change: raising the minimum required CMake version from 4.0 to 4.3 across the build files, dependency manifests, and conda and pyproject configurations. It… |
| Description check | !Passed | The description states the purpose (raising the minimum CMake version to 4.3 to enable CMP0186-CMP0210 NEW behavior), lists the files and areas touched (dependencies.yaml, conda environment files, con… |
| 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 "Require CMake 4.3" names the main change: raising the minimum required CMake version from 4.0 to 4.3 across the build files, dependency manifests, and conda and pyproject configurations. It is short, specific, and matches the changeset and objectives.
</dd>
</dl>
</details>
<details>
<summary><strong>Full details: Description check</strong></summary>
<dl>
<dd>
<br>
Explanation
The description states the purpose (raising the minimum CMake version to 4.3 to enable CMP0186-CMP0210 NEW behavior), lists the files and areas touched (dependencies.yaml, conda environment files, conda recipes, pyproject.toml, documentation, CI images, presets), and lists related cross-project PRs. This matches the changeset.
</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>
<!-- finishing_touch_suggestion:fix_ci -->
<details open>
<summary><strong>Fix failing CI checks</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>
09da4d9b-33f6-4e99-9dda-01e41b09ff79</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 5df46ae6fb4ff7a86d5981348a64e13d52e35bb2 and d65d92e0bc465fe6457c9bc95165a9486242005f.
</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: 19</strong></summary>
<dl>
<dd>
<br>
README.md
cmake/RAPIDS.cmake
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/librmm/conda_build_config.yaml
conda/recipes/rmm/conda_build_config.yaml
cpp/CMakeLists.txt
cpp/cmake/tests/CMakeLists.txt
cpp/cmake/tests/rmm_abi_namespace/CMakeLists.txt
cpp/cmake/tests/rmm_abi_namespace/consumer/CMakeLists.txt
cpp/cmake/tests/rmm_abi_namespace/verify_symbol_versions.cmake
cpp/examples/basic/CMakeLists.txt
dependencies.yaml
python/librmm/CMakeLists.txt
python/librmm/pyproject.toml
python/rmm/CMakeLists.txt
python/rmm/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
cryos
robertmaynard
Description
Raise the minimum required CMake version to 4.3.
Before this PR is merged, the PRs for the following projects should already be merged, or at least have passing CI:
Contributes to rapidsai/build-planning#349
Checklist