← Back to issue list

yaml merge tags are not supported

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1700765
Type
issue
State
closed
Author
~tim-sueberkrueb
Labels
Created
Updated
Closed

Current evaluation

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

Abandoned without resolution. The request to add YAML merge tag support to snapcraft was closed due to inactivity, leaving the feature unimplemented.

Suggested action:

No scores available.

Issue body

The current yaml loading implementation in snapcraft doesn't support yaml merge tags. Example: parts: base: &base plugin: nil source: . my-part: plugin: dump <<: *base Snapcraft fails with the following error message: could not determine a constructor for the tag 'tag:yaml.org,2002:merge' in "snap/snapcraft.yaml", line 20, column 5 The problem lies in the yaml dict constructor implementation: https://github.com/snapcore/snapcraft/blob/master/snapcraft/__init__.py#L433

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Abandoned without resolution. The request to add YAML merge tag support to snapcraft was closed due to inactivity, leaving the feature unimplemented.
qwen/qwen3.6-35b-a3b Abandoned and closed without resolution. The reported YAML merge tag loading error in snapcraft remains unfixed due to prolonged inactivity and zero comments. No patches or workarounds were implemented.
qwen3.6-35b-a3b-mtp-q6 Closed without resolution. The YAML merge tag feature remains unsupported in snapcraft's loader.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1384 Support yaml merge tags snapcraft merged Merged. Fixes snapcraft's YAML loader to support merge tags. Custom dict constructors previously caused parsing failures. The update restores standard PyYAML merge tag handling, approved by two reviewers and passing CI.
71%