packaging: simplify snapcraft.yaml
Metadata
Current evaluation
Merged simplification of snapcraft.yaml that removes custom Python compilation and other dependencies, now that snapcraft 2.40 natively supports classic confined snaps. Approved by one reviewer, passed CI, and modified four files.
Suggested action: —
No scores available.
Issue body
Now that 2.40 has been released, we can get rid of compiling our own
python and any other component needed to run correctly in a classic
confined snap.
Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
- [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] If this is a bugfix. Have you checked that there is a bug report open for the issue you are trying to fix on [bug reports](https://bugs.launchpad.net/snapcraft)?
- [x] If this is a new feature. Have you discussed the design on the [forum](https://forum.snapcraft.io)?
- [x] Have you successfully run `./runtests.sh static`?
- [x] Have you successfully run `./runtests.sh unit`?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged simplification of snapcraft.yaml that removes custom Python compilation and other dependencies, now that snapcraft 2.40 natively supports classic confined snaps. Approved by one reviewer, passed CI, and modified four files. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged changes simplifying snapcraft.yaml by removing custom Python compilation and dependencies, now that snapcraft 2.40 natively supports the required classic confined snap configuration. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged simplification of snapcraft.yaml that removes custom Python compilation and other components for classic confined snaps, now that Snapcraft 2.40 is released. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #4 snap: introduce initial snap packaging (CRAFT-578) | rockcraft | merged | Merged initial snap packaging implementation (CRAFT-578). Approved by one reviewer, passed CI checks, and added 86 lines across three files. | |
| #146 Syntax of snapcraft.yaml (1.x) | snapcraft | merged | Merged after rebasing to resolve diff conflicts and squashing commits. The pull request updates snapcraft.yaml (1.x) syntax and received final approval before integration. | |
| #1158 packaging: snapcraft as a snap | snapcraft | merged | Merged integration changes to build snapcraft as a snap. Modified 8 files with 147 additions and 10 deletions to package the tool itself as a snap. Review feedback was addressed prior to merge. | |
| #288 snap: strict -> classic confinement for Charmcraft snap | charmcraft | merged | Merged the change to switch Charmcraft snap confinement from strict to classic. Added python3 stage packages and hardcoded a symlink to bypass a Snapcraft bug. Approved by two reviewers and passed CI. | |
| #96 Updated snapcraft.yaml for new Py deps. | charmcraft | merged | Updated snapcraft.yaml to include new Python dependencies. Merged after approval from two reviewers, adding 67 lines across two files. | |
| #5665 docs: clean up 'snapcraft.yaml' | snapcraft | merged | Merged documentation cleanup for snapcraft.yaml. Updated pydantic-kitbash to v0.0.7, removed library modules from sys.path, and added currentmodule directives to resolve Kitbash warnings. Approved by two reviewers, passed CI, and modified four files. | |
| #49 packages: add snap package support | craft-parts | merged | Merged after implementing snap download and installation for stage and build snaps. Approved by two reviewers, passed CI, and added 1,072 lines across five files. Follows snapcraft conventions with future refactoring planned. | |
| #3637 meta: generate basic snap.yaml (CRAFT-801) | snapcraft | merged | Merged into snapcraft/7.0, adding automatic generation of a basic snap.yaml to enable snap packing. Approved by a reviewer, passed CI, and increased test coverage by 1.16%. |