← Back to issue list

fix(providers): do not install snapd from edge

View original Github issue

Metadata

Project
snapcraft
Number
#4733
Type
pull request
State
merged
Author
mr-cal
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR snapcraft#4733 (commit 6c96bd2b6) removed proactive edge-channel snapd installation in providers, replacing it with a lazy `_retry_with_newer_snapd` decorator on pack_component.

Resolution: closed resolved

Reason: The PR was merged into main as commit 6c96bd2b6; snapcraft/pack.py no longer installs snapd from edge up front, instead `_retry_with_newer_snapd` (pack.py:128) refreshes snapd only after a pack failure and retries.

Evaluated by: mr-cal-bot

No scores available.

Issue body

- [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] Have you successfully run `tox run -m lint`? - [x] Have you successfully run `tox run -e test-py310`? (supported versions: `py39`, `py310`, `py311`, `py312`) ----- snapd was installed from the edge channel to support components. This has been replaced with the `_retry_with_newer_snapd` decorator.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR snapcraft#4733 (commit 6c96bd2b6) removed proactive edge-channel snapd installation in providers, replacing it with a lazy `_retry_with_newer_snapd` decorator on pack_component.
stealth/space-bunny-alpha — closed resolved Merged PR #4733 via commit 6c96bd2b6, removing edge-channel snapd installation in favor of _retry_with_newer_snapd.
qwen/qwen3.6-35b-a3b — — Merged a fix that removes snapd installation from the edge channel, replacing it with the _retry_with_newer_snapd decorator. Approved by two reviewers, passed CI checks, and removed 17 lines across four files.
qwen3.6-35b-a3b-mtp-q6 — — Merged. Replaced edge channel snapd installation with the _retry_with_newer_snapd decorator to manage component support, eliminating unnecessary edge dependencies.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#4656 Install snapd from edge only when components are enabled snapcraft closed Core24 component support now selects edge snapd only when components are enabled, retaining stable by default. Completed via merged PR #4700 (070c7e995).
71%
#4514 fix: install snapd from edge inside build environments snapcraft merged Merged #4514 made component build environments install snapd from edge and refreshed LXD and destructive-mode spread tests.
71%