← Back to issue list

snapcraft is ignoring the "assumes" section

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#2019931
Type
issue
State
closed
Author
~alfonsosanchezbeato
Labels
craft-1734
Created
Updated
Closed

Current evaluation

Bug report indicating snapcraft omits the assumes section from snap.yaml when using core22 base. Closed after two days with zero comments, indicating the report was abandoned without resolution.

Suggested action:

No scores available.

Issue body

In a snap with the following assumes section in snapcraft.yaml: assumes:   - snapd2.59.3 snapcraft creates the snap successfully, but inspecting it shows that there is no "assumes" in the meta/snap.yaml file. This is happening with snapcraft 7.3.1. This seems to happen when base is core22 but not when it is core20.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Bug report indicating snapcraft omits the assumes section from snap.yaml when using core22 base. Closed after two days with zero comments, indicating the report was abandoned without resolution.
qwen/qwen3.6-35b-a3b Closed without comments or resolution. The snapcraft assumes section omission for core22 bases was not addressed or fixed.
qwen3.6-35b-a3b-mtp-q6 Closed without resolution or comments. The bug where snapcraft omits the assumes section for core22 bases remains unfixed and the report appears abandoned.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1939713 snapcraft init create base: core18 snap snapcraft (launchpad) closed Closed without resolution. Snapcraft defaults were later updated to core20 or core22, superseding this report.
73%
#1990550 snapcraft init creates boilerplate which opaquely fails to build by default snapcraft (launchpad) closed Closed without resolution. The report recommended updating snapcraft init to default to core22 instead of core20, preventing opaque build failures and CLI mismatches. No fix or pull request was submitted, leaving the request abandoned.
73%
#1866300 snapcraft fails to build core20 snap snapcraft (launchpad) closed Closed without a documented fix. The multipass hang and lxd traceback preventing core20 builds were not addressed, indicating the report was abandoned or superseded by newer snapcraft versions.
72%
#1448 snapcraft build using manifest.yaml snapcraft closed Closed without discussion or comments. The issue appears abandoned or superseded by newer snapcraft build workflows. No resolution or merge details were recorded.
71%
#2103643 snapcraft whoami fails if run in a place with recipe using base: core snapcraft (launchpad) closed Closed without resolution or fix. The snapcraft whoami command incorrectly parsed snapcraft.yaml and failed on outdated base: core configurations. The issue was abandoned after 513 days with no comments or patches.
71%
#4870 snapcraft pack error obtuse on snapd errors snapcraft closed Closed as a duplicate of issue #4548. The snapcraft pack error handling regression affecting core22 and core24 is superseded by the referenced tracking issue.
71%
#2796 meta: ensure Snap's `assumes` is initialized as a set snapcraft merged Merged fix for SNAPCRAFT-16C that converts the assumes configuration from a list to a set during initialization. This resolves a runtime exception when using command-chain by ensuring the add method functions correctly. Includes updated unit tests.
70%