docs: Rockcraft 1.18.0 documentation claims Ubuntu 26.04 support but it doesn't seem to work in the app
Metadata
Current evaluation
Rockcraft 1.18.0 docs claim ubuntu@26.04 support but build-base ubuntu@26.04 raises KeyError; maintainer clarified devel workaround and stabilization planned. Now resolved in main via PR #1200.
Suggested action: close resolved
Reason: Current rockcraft/plugins/groups.py includes "ubuntu@26.04": _V2_PLUGINS, and commit ad7df6a0 merged PR #1200 to stabilize the ubuntu@26.04 build-base. Docs were also updated in PR #1213, so the reported docs/app mismatch is resolved.
Evaluated by: mr-cal-bot
Impact:
45
Quick Win:
25
Complexity:
30
Confidence:
90
Actionability:
80
Issue body
*Please describe the question or issue you're facing with "Change from ubuntu@24.04 to ubuntu@26.04 - Rockcraft documentation".*
I have rockcraft installed:
```shell
$ rockcraft --version
rockcraft 1.18.0
```
Switching `build-base: ubuntu@24.04` to `build-base: ubuntu@26.04` in my `rockcraft.yaml` file results in:
```
Traceback (most recent call last):
File "/snap/rockcraft/4445/bin/rockcraft", line 12, in <module>
sys.exit(run())
^^^^^
File "/snap/rockcraft/4445/lib/python3.12/site-packages/rockcraft/cli.py", line 51, in run
return app.run()
^^^^^^^^^
File "/snap/rockcraft/4445/lib/python3.12/site-packages/craft_application/application.py", line 685, in run
self._initialize_craft_parts()
File "/snap/rockcraft/4445/lib/python3.12/site-packages/craft_application/application.py", line 821, in _initialize_craft_parts
self._set_plugin_group()
File "/snap/rockcraft/4445/lib/python3.12/site-packages/craft_application/application.py", line 809, in _set_plugin_group
group = self.services.get_class("lifecycle").get_plugin_group(build_plan[0])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/snap/rockcraft/4445/lib/python3.12/site-packages/rockcraft/services/lifecycle.py", line 100, in get_plugin_group
return plugins.get_plugin_group(str(build_info.build_base))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/snap/rockcraft/4445/lib/python3.12/site-packages/rockcraft/plugins/groups.py", line 52, in get_plugin_group
group = _PLUGINS[build_base]
~~~~~~~~^^^^^^^^^^^^
KeyError: 'ubuntu@26.04'
```
Guessing the error is being thrown from https://github.com/canonical/rockcraft/blob/main/rockcraft/plugins/groups.py#L100
Not sure whether the fix is to update the doc for 1.18.0 or fix the app.
---
*Reported from: https://documentation.ubuntu.com/rockcraft/1.18.0/how-to/change-from-ubuntu2404-to-ubuntu2604/*
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| ~deepseek/deepseek-pro-latest |
Impact:
45
Quick Win:
25
Complexity:
30
Confidence:
90
Actionability:
80
|
close resolved | Rockcraft 1.18.0 docs claim ubuntu@26.04 support but build-base ubuntu@26.04 raises KeyError; maintainer clarified devel workaround and stabilization planned. Now resolved in main via PR #1200. | |
| stealth/space-bunny-alpha |
Impact:
32
Quick Win:
24
Complexity:
15
Confidence:
93
Actionability:
88
|
close resolved | Docs advertised build-base ubuntu@26.04 for Rockcraft 1.18.0 but it raised KeyError. Fixed by PR #1200 (commit ad7df6a0) stabilizing the base, shipped in 1.19; a clearer error message was promised but may remain. | |
| qwen/qwen3.6-35b-a3b |
Impact:
30
Quick Win:
22
Complexity:
10
Confidence:
95
Actionability:
80
|
close resolved | Rockcraft 1.18.0 raised KeyError for 'ubuntu@26.04' build-base. Fixed by PR #1200 which added ubuntu@26.04 to the _PLUGINS dictionary. | |
| qwen/qwen3.8-27b |
Impact:
45
Quick Win:
34
Staleness:
55
Complexity:
25
Confidence:
80
Support Request:
30
|
keep open | Rockcraft 1.18.0 docs claim ubuntu@26.04 build-base support but the app raises KeyError; maintainer confirmed 26.04 was devel-only then and promised a better error message. 26.04 is now stabilized in 1.19, so the core issue is resolved. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
20
Complexity:
15
Confidence:
90
Support Request:
5
|
keep open | Documentation claims Ubuntu 26.04 support but app throws KeyError. Maintainer confirmed it is currently a devel base, provided workarounds, and plans to stabilize it in the upcoming 1.19 release. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
35
Complexity:
25
Confidence:
90
Support Request:
10
|
keep open | Documentation claims Ubuntu 26.04 support but Rockcraft 1.18.0 throws a KeyError. Maintainer clarified it is a devel base, provided workarounds, and plans to stabilize full support in v1.19. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
15
Complexity:
10
Confidence:
90
Support Request:
80
|
close not a bug | User reports KeyError when using ubuntu@26.04 as build-base in Rockcraft 1.18.0, citing documentation. Maintainer clarified it is currently a devel base, provided workarounds, and outlined a timeline for stable support in v1.19. |
Update history
No update history recorded yet.
Related work
-
Likely Fixed By:
rockcraft#1200
(confidence 95%)
Merged as ad7df6a0, stabilizing ubuntu@26.04 build-base; current groups.py now maps ubuntu@26.04 to _V2_PLUGINS.
-
Related To:
rockcraft#1213
(confidence 80%)
Docs update to Ubuntu 26 base, addressing the documentation side of the mismatch.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1262 Rockcraft is unable to build rock with "devel" build-bases | rockcraft | open | rockcraft 1.19.0 pack with build-base: devel crashes with ValueError: '26.10' is not a valid BuilddBaseAlias in craft_providers ensure_guest_compatible. Full reproducer rockcraft.yaml and CI log supplied; still untriaged with no maintainer response. |