← Back to issue list

edge/components out of date

View original Github issue

Metadata

Project
snapcraft
Number
#4576
Type
issue
State
closed
Author
xnox
Labels
—
Created
Updated
Closed

Current evaluation

latest/edge/components snap revision 10646 restored core24 provider support; the reporter confirmed that core24 builds worked after the release.

Resolution: closed resolved

Reason: Revision 10646 mapped core24 to BuilddBaseAlias.NOBLE, and the reporter confirmed the fix worked locally. The remaining Launchpad configuration requirement was split into launchpad#2053056.

Evaluated by: mr-cal-bot

No scores available.

Issue body

### Bug Description building snap `build-base:core24` works with latest/edge but not if one uses latest/edge/components Please auto build latest/edge/components and keep it up to date ```diff $ diff 10568/lib/python3.10/site-packages/snapcraft/providers.py 10607/lib/python3.10/site-packages/snapcraft/providers.py | head diff --git a/10568/lib/python3.10/site-packages/snapcraft/providers.py b/10607/lib/python3.10/site-packages/snapcraft/providers.py index e7c389c0ba..6f676258fd 100644 --- a/10568/lib/python3.10/site-packages/snapcraft/providers.py +++ b/10607/lib/python3.10/site-packages/snapcraft/providers.py @@ -42,6 +42,7 @@ SNAPCRAFT_BASE_TO_PROVIDER_BASE = { "core18": bases.BuilddBaseAlias.BIONIC, "core20": bases.BuilddBaseAlias.FOCAL, "core22": bases.BuilddBaseAlias.JAMMY, + "core24": bases.BuilddBaseAlias.DEVEL, "devel": bases.BuilddBaseAlias.DEVEL, ``` ### To Reproduce snapcraft against snapcraft.yaml with build-base:core24 ### Environment ubuntu ### snapcraft.yaml ```shell build-base:core24 ``` ### Relevant log output ```shell $ snapcraft Traceback (most recent call last): File "/snap/snapcraft/10568/bin/snapcraft", line 8, in <module> sys.exit(run()) File "/snap/snapcraft/10568/lib/python3.10/site-packages/snapcraft/cli.py", line 258, in run _run_dispatcher(dispatcher, global_args) File "/snap/snapcraft/10568/lib/python3.10/site-packages/snapcraft/cli.py", line 230, in _run_dispatcher dispatcher.run() File "/snap/snapcraft/10568/lib/python3.10/site-packages/craft_cli/dispatcher.py", line 487, in run return self._loaded_command.run(self._parsed_command_args) File "/snap/snapcraft/10568/lib/python3.10/site-packages/snapcraft/commands/lifecycle.py", line 265, in run super().run(parsed_args) File "/snap/snapcraft/10568/lib/python3.10/site-packages/snapcraft/commands/lifecycle.py", line 138, in run parts_lifecycle.run(self.name, parsed_args) File "/snap/snapcraft/10568/lib/python3.10/site-packages/snapcraft/parts/lifecycle.py", line 112, in run _run_command( File "/snap/snapcraft/10568/lib/python3.10/site-packages/snapcraft/parts/lifecycle.py", line 158, in _run_command _run_in_provider(project, command_name, parsed_args) File "/snap/snapcraft/10568/lib/python3.10/site-packages/snapcraft/parts/lifecycle.py", line 490, in _run_in_provider build_base = providers.SNAPCRAFT_BASE_TO_PROVIDER_BASE[snapcraft_base] KeyError: 'core24' ``` ### Additional context _No response_

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved latest/edge/components snap revision 10646 restored core24 provider support; the reporter confirmed that core24 builds worked after the release.
stealth/space-bunny-alpha — closed resolved Core24 support reached edge/components in snapcraft revision 10646; the reporter confirmed it worked locally, with remaining Launchpad configuration tracked separately.
stealth/space-bunny-alpha — closed resolved The components snap was updated with core24 support by revision 10646. The reporter verified it, then tracked a separate Launchpad configuration requirement in Launchpad#2053056.
stealth/space-bunny-alpha — closed resolved Core24 builds worked in latest/edge/components revision 10646; the stale-build report was closed after verification, while Launchpad required a separate configuration update.
stealth/space-bunny-alpha — closed resolved Core24 support was confirmed in latest/edge/components revision 10646; component-based core24 builds worked locally, though Launchpad still needed a configuration update.
qwen/qwen3.6-35b-a3b — — The missing core24 provider mapping in latest/edge/components was fixed and released. Maintainer confirmed the update is available, but noted a separate Launchpad configuration change is still required for full CI compatibility. Issue closed.
qwen/qwen3.6-35b-a3b — — Fixed by adding the missing core24 base mapping to providers.py and releasing the update to the latest/edge/components channel. The change resolved the build failure and was verified locally, with a separate Launchpad configuration update also required.
qwen/qwen3.6-35b-a3b — — The missing core24 base mapping was released in snapcraft snap 10646, resolving the local KeyError. The issue closed as the upstream package was updated, though a separate Launchpad configuration change remains for CI integration.
qwen/qwen3.6-35b-a3b — — The latest/edge/components snap was updated and released with the missing core24 base support. Local testing confirmed the fix, though a separate Launchpad configuration change remains pending. Closed.
qwen3.6-35b-a3b-mtp-q6 — — Added core24 base mapping to snapcraft providers and released in latest/edge/components. Resolves the KeyError locally. A separate Launchpad configuration update remains necessary for full integration.

Update history

No update history recorded yet.

Related work

  • Related To: launchpad#2053056 (confidence 99%)

    Separate Launchpad configuration work was required after Snapcraft revision 10646 resolved the components-channel issue.

Related issues

Issue Project State Summary Similarity
#2051567 Using core24 fails due to change in apt sources snapcraft (launchpad) closed Fixed by snapcore/snapcraft#4551, which bumped craft-providers to 1.22.0; the reporter confirmed the fix on latest/edge.
72%
#4656 Install snapd from edge only when components are enabled snapcraft closed Core24 component support now selects edge snapd only when components are enabled, retaining stable by default. Completed via merged PR #4700 (070c7e995).
70%