← Back to issue list

build: package snap with uv

View original Github issue

Metadata

Project
snapcraft
Number
#5284
Type
pull request
State
closed
Author
bepri
Labels
—
Created
Updated
Closed

Current evaluation

Closed unmerged after 306 days without review; the uv-based Snapcraft build migration later landed via #5872 (7c8d424e3).

Resolution: closed superseded

Reason: PR #5284 was closed unmerged after 306 days without review or CI. The same build migration was subsequently merged through PR #5872 in commit 7c8d424e3.

Evaluated by: mr-cal-bot

No scores available.

Issue body

- [x] Have you followed the [guidelines for contributing](https://github.com/canonical/snapcraft/blob/main/CONTRIBUTING.md)? - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [x] Have you successfully run `make lint`? - [x] Have you successfully run `make test`? --- Moves snapcraft to build with the uv plugin instead of the python plugin. An attempt was made to remove now-unused files and code, but it began to feel like a separate PR would be preferable to avoid removing stuff that's out-of-scope by mistake.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed superseded Closed unmerged after 306 days without review; the uv-based Snapcraft build migration later landed via #5872 (7c8d424e3).
stealth/space-bunny-alpha — closed stale Closed unmerged after 306 days without reviews or CI; the uv build migration later landed as #5872 in commit 7c8d424e3.
stealth/space-bunny-alpha — closed resolved Merged #5872 in commit 7c8d424e3, switching Snapcraft’s build from the Python plugin to uv and pinning maturin for Rust toolchain compatibility.
qwen/qwen3.6-35b-a3b — — Closed without merging. Proposed switching the snapcraft build from the python plugin to the uv plugin. It received no reviews or CI checks and was abandoned after 306 days of inactivity.
qwen3.6-35b-a3b-mtp-q6 — — Closed without merging. The change proposed switching the snapcraft build process from the python plugin to the uv plugin, deferring unused code cleanup to a separate PR.

Update history

No update history recorded yet.

Related work

  • Superseded By: canonical/snapcraft#5872 (confidence 99%)

    PR #5872 later implemented the same uv-plugin build migration and was merged as commit 7c8d424e3.

Related issues

Issue Project State Summary Similarity
#5872 build: use uv plugin to build snapcraft snapcraft merged Merged #5872 in commit 7c8d424e3, switching Snapcraft’s build to the uv plugin and pinning maturin for compatibility with the available Rust toolchain.
79%
#83 Improve snap build using uv imagecraft closed Snap build was migrated to uv by merged PR canonical/imagecraft#91 (commit ff99627), replacing the previous build flow and allowing the imagecraft part to be rebuilt after failures.
79%
#91 feat: Build snap with uv imagecraft merged Merged PR #91 as commit ff99627, switching the imagecraft snap build to uv and fixing #83/CRAFT-4062.
76%
#5187 Add support for uv plugin snapcraft closed UV plugin support was added by merged PR #5196 in commit 800823a55, enabling Snapcraft users to build parts with the craft-parts uv plugin.
73%
#5554 fix(build): freeze UV in the snap build snapcraft merged Merged #5554 in commit bc22a58cd, freezing UV during snap builds and refreshing uv.lock; all CI checks passed.
73%
#5444 build(deps): refresh uv.lock snapcraft merged Merged #5444 as commit 8877c8f3a, refreshing uv.lock in preparation for the Snapcraft 8.9 release.
72%
#1959 build: replace various homegrown tools with uv charmcraft closed Closed unmerged; its uv migration was landed separately in commit 31fd757e, “build: go all-in on uv”.
72%
#2039 Move to using uv plugin to build charmcraft closed Charmcraft’s snap build was migrated to the uv plugin in merged PR #2412 via commit 5d8ea0e4, resolving #2039.
71%
#803 wip: showcase working uv plugin fix rockcraft closed Closed unmerged as WIP after Snap CI failed on pip hash verification for a git dependency; later PR #1018 merged uv-based builds.
70%