← Back to issue list

bases: improve errors for ESM bases

View original Github issue

Metadata

Project
snapcraft
Number
#4274
Type
pull request
State
merged
Author
sergiusens
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #4274 as dbe76f21d, improving unsupported ESM-base errors to identify prior supported Snapcraft versions/channels and fixing #4246.

Resolution: closed resolved

Reason: PR #4274 was merged into main as commit dbe76f21d. Its changes fix issue #4246 by replacing misleading errors with clearer ESM-base guidance.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Bases that were once supported and no longer supported in the current version provide a reference to the version/channel of Snapcraft where they once were. - [ ] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] Have you successfully run `make lint`? - [ ] Have you successfully run `pytest tests/unit`? ----- Fixes #4246

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #4274 as dbe76f21d, improving unsupported ESM-base errors to identify prior supported Snapcraft versions/channels and fixing #4246.
stealth/space-bunny-alpha — closed resolved Merged into main as dbe76f21d, improving errors for unsupported ESM bases to name the Snapcraft version/channel where support existed and fixing #4246.
qwen/qwen3.6-35b-a3b — — Merged into main. Updates error handling for deprecated ESM bases to reference the specific Snapcraft version and channel where they were supported. Resolves #4246. Approved by reviewer and passed CI.
qwen3.6-35b-a3b-mtp-q6 — — Merged. Improves error messages for deprecated ESM bases by referencing the Snapcraft version and channel where they were previously supported. Resolves #4246.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/snapcraft#4246 (confidence 100%)

    The merged PR explicitly fixes this misleading error for unsupported core18 and other ESM bases.

Related issues

Issue Project State Summary Similarity
#5388 fix: don't fail when checking the base snapcraft merged Merged PR #5388 in commit 5c43d861c, deferring base-check failures so invalid base definitions reach Snapcraft's user-friendly validation errors (SNAPCRAFT-313).
72%
#6338 docs: update supported bases snapcraft merged Merged PR #6338 (commit 2a6aadac6), updating the docs to identify Snapcraft 9 as preferred for core22, core24, and core26.
71%
#2309 snap: improve early base detection logic snapcraft merged Merged PR #2309 (commit 3565ed2e7), fixing early base detection when Snapcraft runs in a build provider outside the project directory (LP #1795501).
70%