← Back to issue list

Recommend using newer versions of snapcraft

View original Github issue

Metadata

Project
snapcraft
Number
#4958
Type
issue
State
open
Author
mr-cal
Labels
good first issue Status: Triaged Type: Enhancement
Created
Updated
Closed
—

Current evaluation

Enhancement to emit a warning recommending a newer Snapcraft for older bases; rescoped by maintainer to 8.x recommending 9.x for core22/core24/core26, contributor assigned, open PR #6240 stalled with failing CI.

Suggested action: keep open

Reason: Maintainer mr-cal explicitly acknowledged and rescoped it ("you should focus on having Snapcraft 8.x recommending using Snapcraft 9.x for core22, core24, and core26 snaps"), named the branch (`hotfix/8.14`), the file (`snapcraft/application.py`), the insertion point, and the test to adapt (`test_esm_error` in tests/unit/test_application.py still exists at HEAD). The original wording (7.x recommending 8.x for core20) is obsolete in main since commit fa7952b4d "chore!: drop core20", but the rescoped version remains valid work and PR #6240 already implements it (still open with 5 unresolved review comments and 4 failing CI checks), so the issue must stay open rather than be closed.

Evaluated by: mr-cal-bot

Impact: 30 Quick Win: 22 Complexity: 15 Confidence: 86 Actionability: 88

Issue body

### What needs to get done * Snapcraft 7.x should recommend using Snapcraft 8.x for `core20` and `core22` snaps ### Why it needs to get done To encourage users to use newer versions of Snapcraft so they can benefit from bug fixes and performance improvements.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 30
Quick Win: 22
Complexity: 15
Confidence: 86
Actionability: 88
keep open Enhancement to emit a warning recommending a newer Snapcraft for older bases; rescoped by maintainer to 8.x recommending 9.x for core22/core24/core26, contributor assigned, open PR #6240 stalled with failing CI.
qwen/qwen3.6-35b-a3b
Impact: 30
Quick Win: 19
Complexity: 20
Confidence: 85
Actionability: 80
keep open Enhancement to recommend newer Snapcraft versions for specific bases; contributor assigned and maintainer redirected scope to 8.x→9.x for core22/core24/core26; PR #6240 implements this.
qwen/qwen3.8-27b
Impact: 25
Quick Win: 19
Staleness: 58
Complexity: 25
Confidence: 80
Support Request: 10
keep open Enhancement to have Snapcraft recommend newer versions (9.x) for core22/core24/core26 bases. Triaged by maintainer with implementation guidance; open PR #6240 targets it but is stalled with unresolved review comments and failing CI.
qwen/qwen3.6-35b-a3b
Staleness: 30
Complexity: 15
Confidence: 95
Support Request: 5
keep open Enhancement to recommend newer Snapcraft versions for specific bases. Contributor actively working on implementation with maintainer providing technical guidance and branch instructions.
qwen3.6-35b-a3b-mtp-q6
Staleness: 10
Complexity: 15
Confidence: 95
Support Request: 5
keep open Enhancement to add a warning recommending Snapcraft 8.x for core20 and core22 snaps. A contributor is actively working on it with maintainer guidance, targeting the hotfix/8.14 branch.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: canonical/snapcraft#6240 (confidence 88%)

    Open PR 'feat: recommend Snapcraft 9.x for core22, core24, and core26 bases' adds exactly this warning (+26/-0, 2 files) but is unmerged with 5 unresolved review comments and 4 failing CI checks.

  • Related To: canonical/snapcraft#6338 (confidence 70%)

    Merged docs PR updating supported bases to state Snapcraft 9 is preferred for core22/core24/core26, matching the intent of this recommendation but not implementing the runtime warning.

Related issues

Issue Project State Summary Similarity
#6240 feat: recommend Snapcraft 9.x for core22, core24, and core26 bases snapcraft open Adds a warning recommending Snapcraft 9.x when building core22/core24/core26 snaps (+26/-0, 2 files). Approved by 1 reviewer but 5 unresolved review comments, 4 failing CI checks, no activity for 147 days.
81%
#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.
72%
#6186 `snapcraft try` error is outdated snapcraft closed Fixed by merged PR #6193 (commit bcae1c3ed): snapcraft try now reports the effective project base, with core24 and core26 test coverage.
71%
#1862256 snapcraft should complain loudly when building base: core20 snap on i386 snapcraft (launchpad) closed Closed as superseded: improved architecture parsing rejects unsupported core20/i386 builds, making a dedicated check unnecessary; snapcraft#4392 improved this handling.
71%
#4118 init: use core22 base for `snapcraft init` snapcraft merged Merged PR #4118 (mr-cal, CRAFT-1670): snapcraft init now scaffolds core22 as the default base instead of core20, with the command moved from snapcraft_legacy/ to snapcraft/ and a spread test added. Squash-merged as 4afc9e4c9.
70%