← Back to issue list

Handle cmake 3 vs. cmake 4

View original Github issue

Metadata

Project
craft-parts
Number
#1512
Type
issue
State
closed
Author
lengau
Labels
Status: Triaged
Created
Updated
Closed

Current evaluation

CMake 4 compatibility was addressed by merged PR #1528 (commit 89e8a05f), updating the CMake plugin test requirement and restoring passing tests on Ubuntu Resolute.

Resolution: closed resolved

Reason: PR #1528 was merged as commit 89e8a05f and changed the CMake plugin test requirement to a CMake 4-compatible version, restoring the Resolute test run.

Evaluated by: mr-cal-bot

No scores available.

Issue body

### What needs to get done Ubuntu 26.04 comes with cmake 4, causing all of our integration tests to fail. We either need to fix our tests to work with both cmake 3 and cmake 4, or we need to make a new set of cmake 4 tests. See: https://github.com/canonical/craft-parts/actions/runs/23447756893/job/68216122520?pr=1511#step:5:117 ### Why it needs to get done cmake 4 is the future.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved CMake 4 compatibility was addressed by merged PR #1528 (commit 89e8a05f), updating the CMake plugin test requirement and restoring passing tests on Ubuntu Resolute.
stealth/space-bunny-alpha — closed stale No explicit resolution was recorded. PR #1528 later updated the CMake test requirement for CMake 4, restoring passing tests on Resolute.
qwen/qwen3.6-35b-a3b — — Closed without resolution. The cmake 3 and 4 compatibility issue was triaged and linked to an internal Jira ticket, but no code changes or test updates were implemented. The issue appears abandoned or deferred.
qwen/qwen3.6-35b-a3b — — Closed without resolution. Ubuntu 26.04 ships cmake 4, breaking integration tests. No fixes or pull requests were merged. A Jira ticket was created for tracking, indicating the issue was deferred or abandoned.
qwen/qwen3.6-35b-a3b — — Closed and deferred to internal tracking via Jira ticket CRAFT-5064. No code changes, fixes, or merge details provided.
qwen3.6-35b-a3b-mtp-q6 — — Closed after triage and linking to internal Jira ticket CRAFT-5064. No technical fix or merge was documented. The issue appears deferred pending internal tracking.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: canonical/craft-parts#1528 (confidence 99%)

    Merged resolving PR; commit 89e8a05f updated the CMake plugin test version requirement.

Related issues

Issue Project State Summary Similarity
#1528 test(cmake_plugin): update version requirement craft-parts merged Merged #1528 as 89e8a05f, raising the CMake test projects' minimum version so CMake 4 on Resolute accepts them and the plugin tests pass.
73%