feat: add support for core26 (#5677)
Metadata
Current evaluation
Merged core26 support into Snapcraft, adding base recognition and unit-test coverage; core26 initially required build-base: devel.
Resolution: closed resolved
Reason: Merged PR #5767 landed as commit 3b9705baf and resolved the core26 support request in #5677. It added core26 to the current bases, updated compatibility logic, and expanded parametrized unit tests.
Evaluated by: mr-cal-bot
No scores available.
Issue body
- [ ] Have you followed the [guidelines for contributing](https://github.com/canonical/snapcraft/blob/main/CONTRIBUTING.md)?
- [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [ ] Have you successfully run `make lint`?
- [ ] Have you successfully run `make test`?
---
This should include a handful of free unit tests, since tests using `consts.CURRENT_BASES` for parametrization should include `core26`.
As currently implemented, using `base: core26` requires `build-base: devel`. This makes sense, and also has the nice side-effect of enforcing `grade: devel` as well. Less nice is trying to run without specifying a `build-base` which will throw an uncaught exception `Base alias not found for BaseName(name='ubuntu', version='26.04')` originating from craft-providers.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged core26 support into Snapcraft, adding base recognition and unit-test coverage; core26 initially required build-base: devel. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged #5767 in commit 3b9705baf, adding core26 base support and unit tests. Initially, core26 builds require build-base: devel. | |
| qwen/qwen3.6-35b-a3b | — | — | Added core26 base support with unit tests and build-base handling. Merged after maintainer approval and passing CI checks. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Added core26 support and corresponding unit tests for CURRENT_BASES parametrization. Enforces build-base: devel and grade: devel when base is core26, preventing uncaught base alias exceptions. |
Update history
No update history recorded yet.
Related work
-
Likely Fixed By:
canonical/snapcraft#5677
(confidence 99%)
The linked core26 support issue was resolved by merged PR #5767.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #5677 Add core26 support | snapcraft | closed | Core26 support was merged via snapcraft#5767 (commit 3b9705baf), adding devel gating, core24-or-newer handling, tests, and a core26 spread suite. | |
| #6150 docs: use core26 as the default base | snapcraft | merged | Merged #6150 in commit 9b6d7fa9a, documenting core26 as the default base, publishing Snapcraft 9 release notes, and standardizing core/base terminology. | |
| #6225 feat: stable core26 support | snapcraft | merged | Merged #6225 as df4418f67, enabling stable core26 snap builds; it fixes #6088 and supersedes the earlier experimental support in #6182. | |
| #6177 feat: allow building stable base snaps | snapcraft | closed | Closed unmerged in favor of #6147 and a separate early-core26 branch; stable core26 support later merged in #6225 at df4418f67. | |
| #6278 feat(extensions): Add core26 support to the gnome extension | snapcraft | merged | Merged PR #6278 as commit c05aed0c1, adding core26/GNOME 49 support and related tests to Snapcraft's GNOME extension. | |
| #1819290 Support for "base: core" | snapcraft (launchpad) | closed | Implemented by merged snapcore/snapcraft#2499 (commit e1cc2b91c), adding 'base: core' support in snapcraft.yaml and stripping it from generated snap.yaml; Launchpad base config updated by cjwatson. | |
| #2761 Core20 base | snapcraft | merged | Core20 base support was merged via #3579, moving Snapcraft to core20 in commit 18a974e01 (merge ed2baf8bd). | |
| #3583 build providers: snapcraft's new base is core20 (CRAFT-544) | snapcraft | merged | Merged PR #3583 via 2b2d7dbcf, replacing build providers' injected core18 base with core20 to match Snapcraft's new base. | |
| #3579 snap: move base to core20 (CRAFT-509) | snapcraft | merged | Merged PR #3579 via ed2baf8bd, moving Snapcraft's own snap to the core20 base; implementation commit 18a974e01. | |
| #1835532 snapcraft behavior for type: base | snapcraft (launchpad) | closed | Implemented build-base support for base snaps; the proposed branch successfully built core20 using core18 before the issue was closed. |