← Back to issue list

Please add snapcraft version key

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1662634
Type
issue
State
open
Author
~ted
Labels
—
Created
Updated
Closed
—

Current evaluation

A snapcraft.yaml minimum-version key could produce a clear required-version message instead of a schema error; the proposal remains unimplemented and untriaged.

Suggested action: needs triage

Reason: The request has a clear compatibility benefit, but it remains an untriaged design proposal: there are no labels, and the sole comment only suggests "min-snapcraft-version" without accepting the name or semantics. Neither proposed key exists in the current schema or documentation, and implementation must also address how Snapcraft versions predating the key can emit a useful requirement error.

Evaluated by: mr-cal-bot

Impact: 42 Quick Win: 11 Complexity: 56 Confidence: 87 Actionability: 58

Issue body

Can we get a "snapcraft-version" key in the snapcraft.yaml file? When I use the newer features people who have the old version get a schema error. I'd rather they get something like "Snapcraft 2.26 required" so they know how to fix it.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 42
Quick Win: 11
Complexity: 56
Confidence: 87
Actionability: 58
needs triage A snapcraft.yaml minimum-version key could produce a clear required-version message instead of a schema error; the proposal remains unimplemented and untriaged.
stealth/space-bunny-alpha
Impact: 38
Quick Win: 12
Complexity: 52
Confidence: 88
Actionability: 68
keep open Requested a min-snapcraft-version key for actionable errors when older Snapcraft versions encounter unsupported project-file features; it remains unimplemented.
qwen/qwen3.6-35b-a3b
Impact: 30
Quick Win: 13
Complexity: 40
Confidence: 70
Actionability: 70
keep open Feature request to add a snapcraft-version key to snapcraft.yaml for better error messages when users have outdated snapcraft versions
qwen/qwen3.8-27b
Impact: 30
Quick Win: 18
Staleness: 95
Complexity: 40
Confidence: 45
Support Request: 25
needs triage Feature request to add a snapcraft-version key to snapcraft.yaml so users on older snapcraft get a clear 'Snapcraft X required' message instead of a cryptic schema error. Open ~9.5 years with zero comments, no labels, and no maintainer engagement.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 15
Confidence: 95
Support Request: 10
close stale Feature request to add a snapcraft-version key to snapcraft.yaml for clearer backward compatibility errors. Unaddressed for over nine years with zero comments.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 25
Confidence: 90
Support Request: 10
close stale Feature request to add a snapcraft-version key to snapcraft.yaml for better error messages. The issue is over 9 years old with no maintainer response or labels.
qwen3.6-35b-a3b-mtp-q6
Staleness: 98
Complexity: 15
Confidence: 90
Support Request: 10
close stale Feature request to add a snapcraft-version key to snapcraft.yaml for better backward compatibility error messages. Issue is over 9 years old with no maintainer interaction or comments.

Update history

Date Change
created

Related work

  • Related To: snapcraft (launchpad)#1549221 (confidence 92%)

    The title is topically similar, but that request concerned a version field for the snap itself, not the minimum required Snapcraft tool version.

Related issues

No related issues found above the similarity threshold.