← Back to issue list

Support for root packages for core24

View original Github issue

Metadata

Project
snapcraft
Number
#4605
Type
issue
State
closed
Author
sergiusens
Labels
—
Created
Updated
Closed

Current evaluation

Root-level build-packages/build-snaps support was missing in the Craft Application based Snapcraft. Fixed by merged PR #4617 ('feat(craft-application): support root packages for core24'), commit 397f4c8c3; internal ticket CRAFT-2529.

Resolution: closed resolved

Reason: PR canonical/snapcraft#4617 was merged and landed as commit 397f4c8c3, implementing the equivalent of the legacy snapcraft/parts/yaml_utils.py logic (root build-packages and build-snaps bundled into a part) for the Craft Application path so the tests/spread/core24/root-packages spread test passes. The issue was closed by maintainer mr-cal on 2026-02-05 citing that PR.

Evaluated by: mr-cal-bot

No scores available.

Issue body

### What needs to get done In the non Craft Application based snapcraft root level build-packages and stage-packages are bundled into a part before being passed to Craft Parts. This logic is missing in the new Craft Application based Snapcraft ### Why it needs to get done Implement the similar logic to https://github.com/canonical/snapcraft/blob/8a9a5c21229f68a5e0daa7c89d609d7d29006477/snapcraft/parts/yaml_utils.py#L186 and its similar unit tests which would allow `tests/spread/core24/root-packages/task.yaml` to pass

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Root-level build-packages/build-snaps support was missing in the Craft Application based Snapcraft. Fixed by merged PR #4617 ('feat(craft-application): support root packages for core24'), commit 397f4c8c3; internal ticket CRAFT-2529.
stealth/space-bunny-alpha — closed resolved Fixed core24 support for Craft Application root packages by merging PR #4617, commit 397f4c8c3.
stealth/space-bunny-alpha — closed resolved Fixed in PR #4617 (commit 397f4c8c3): Craft Application-based Snapcraft now supports root-level build packages for core24.
qwen/qwen3.6-35b-a3b — — Fixed missing logic for bundling root-level build-packages and stage-packages into a part for core24. Resolved via merged pull request #4617, enabling the root-packages spread test to pass.
qwen/qwen3.6-35b-a3b — — Implemented missing logic to bundle root-level build and stage packages into a part for core24. Fixed and merged in pull request #4617.
qwen/qwen3.6-35b-a3b — — Added missing root package bundling logic for core24 to the Craft Application based Snapcraft. Fixed by merging pull request #4617, which enables the core24 root-packages test to pass.
qwen3.6-35b-a3b-mtp-q6 — — Fixed missing root package bundling logic for core24 Craft Application based Snapcraft. Resolution merged in pull request #4617, enabling the core24 root-packages spread test to pass.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: canonical/snapcraft#4617 (confidence 98%)

    Merged PR titled 'feat(craft-application): support root packages for core24'; commit 397f4c8c3 'feat(craft-application): support root packages for core24 (#4617)' directly implements the requested root-level build-packages/build-snaps bundling.

  • Related To: canonical/snapcraft#3790 (confidence 70%)

    Commit 6688b58bc 'lifecyle: root level build-packages and build-snaps (#3790)' is the prior classic-lifecycle implementation the issue referenced as the model to port.

Related issues

Issue Project State Summary Similarity
#4617 feat(craft-application): support root packages for core24 snapcraft merged Merged PR #4617 added core24 support for root-level build-packages and build-snaps, fixing #4605; landed as 397f4c8c3.
91%
#3790 lifecyle: root level build-packages and build-snaps snapcraft merged Merged PR #3790 as commit 6688b58bc, adding root-level lifecycle build-packages and build-snaps support for CRAFT-1111.
76%
#4693 feat: core24 using Craft Application and core22 components snapcraft merged Merged as commit ab1c86df3: snaps with base core24 are now built using Craft Application and core22 components, a large change (284 files, +10487/-1939) in snapcraft.
74%