← Back to issue list

Version without quotation marks results in an error

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1806058
Type
issue
State
closed
Author
~igorljubuncic-deactivatedaccount
Labels
Created
Updated
Closed

Current evaluation

⚠️ This summary may be outdated — the issue content or evaluation prompts have changed since this evaluation was made.

Closed without resolution due to inactivity. The build failure caused by unquoted version strings in snapcraft.yaml was not fixed or documented.

Suggested action:

No scores available.

Issue body

If one uses version without quotation marks, snapcraft build fails. The displayed error (and matching documentation) does not mention the requirement to use the quotation marks: Issues while validating snapcraft.yaml: The ‘version’ property does not match the required schema: 1.0 is not a valid snap version string. version: 1.0 Quotation marks not mentioned in the description: Snap versions consist of upper- and lower-case alphanumeric characters, as well as periods, colons, plus signs, tildes, and hyphens. They cannot begin with a period, colon, plus sign, tilde, or hyphen. They cannot end with a period, colon, or hyphen. Expected behavior: - Auto-encapsulate numbers - Change documentation to reflect behavior

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Closed without resolution due to inactivity. The build failure caused by unquoted version strings in snapcraft.yaml was not fixed or documented.
qwen/qwen3.6-35b-a3b Closed without resolution due to inactivity. The reported validation error when omitting quotation marks around the version field in snapcraft.yaml remains unfixed.
qwen3.6-35b-a3b-mtp-q6 Closed without resolution. The YAML float parsing issue causing snapcraft build failures for unquoted version strings remains unfixed. Documentation updates and auto-quoting were not implemented.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1815812 Totally misleading error on non-string version snapcraft (launchpad) closed Closed without resolution. The suggested improvement for clearer error handling when non-string versions are provided in snapcraft.yaml was not implemented.
74%