meta: allow support for `build-base: devel`
Metadata
Current evaluation
Merged PR snapcore/snapcraft#4068 added build-base: devel support, selecting Ubuntu devel images and APT repositories and setting grade to devel.
Resolution: closed resolved
Reason: PR snapcore/snapcraft#4068 was approved and merged, completing the CRAFT-1638 change. Follow-up testing also confirmed the encountered apt-update problem was fixed through a new craft-providers release.
Evaluated by: mr-cal-bot
No scores available.
Issue body
- [X] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [X] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [X] Have you successfully run `make lint`?
- [X] Have you successfully run `pytest tests/unit`?
-----
- Allows for `build-base: devel`, which will use the latest Ubuntu `devel` release and `devel` apt repos.
- When build-base is `devel`, the grade will be set to `devel`.
- When using LXD, the `devel` image is the [regular daily](https://cloud-images.ubuntu.com/) image, not the [`buildd` daily](https://cloud-images.ubuntu.com/buildd/daily/) image.
- It will be missing some important packages for using snapcraft, like `build-essentials`.
- Using the buildd image is blocked by https://bugs.launchpad.net/cloud-images/+bug/2007419
(CRAFT-1638)
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR snapcore/snapcraft#4068 added build-base: devel support, selecting Ubuntu devel images and APT repositories and setting grade to devel. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #4068 added support for `build-base: devel`, using Ubuntu devel images and repositories and setting the grade to devel; merged as dcd59d85e. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #4068 added support for build-base: devel, using Ubuntu devel images and apt repositories and setting the grade to devel. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged after approval and CI checks. Enables build-base: devel support and sets the grade to devel. A testing issue requiring manual apt update on the lunar image was resolved via a craft-providers update. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged to enable build-base: devel support. An apt update requirement on the lunar LXD image was identified during testing and resolved via an updated craft-providers release. The feature is now ready for core24 builds. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1819196 support for build-base | snapcraft (launchpad) | closed | Build-base support was implemented in Snapcraft commit 5dea8acba; Launchpad stable revision r19009 added remote support, and eligible snap types were confirmed working. | |
| #4755 tests: fix devel base snap test | snapcraft | merged | Merged #4755, fixing the devel-base integration test to verify Snapcraft can create the base snap and that the resulting devel base is usable. | |
| #4868 Allow specifying build-base in kernel snap | snapcraft | closed | Kernel snaps gained configurable build-base support; merged PR #4914 fixed #4868 by adding interim kernel-snap bases and cross-craft-name documentation. | |
| #4540 fix(lifecycle): return correct base when using devel for build-base (… | snapcraft | merged | Merged in snapcore/snapcraft#4540 via commit 17666fb25, correcting effective-base selection when build-base is devel; it carried the lifecycle fix from #4523. | |
| #2623 build environment: detect base type and use name | snapcraft | merged | Merged #2623, adding build-base support so snaps with type: base use build-base or name to select their build environment. | |
| #1402 build: set grade based on version number | charmcraft | merged | Merged PR #1402 as a968adfa, setting the snap grade to devel for post versions and stable otherwise, resolving #1401. | |
| #6426 feat: add build-base to kernel snaps | snapcraft | closed | Merged PR #6426 (commit dd924c747), adding build-base to kernel snap metadata so users can verify build-environment and target-system compatibility. | |
| #2017515 build-base devel does not work when ubuntu-daily:devel is not available | snapcraft (launchpad) | closed | No Snapcraft fix was needed: the ubuntu-daily:devel image alias was repointed to 23.04 by Ubuntu infrastructure (toabctl, 2023-05-02) and the reporter confirmed build-base: devel builds worked again. | |
| #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. |