docs: Rockcraft 1.18.0 documentation claims Ubuntu 26.04 support but it doesn't seem to work in the app
Metadata
Current evaluation
No evaluation has been recorded for this issue yet.
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
No evaluation history available.