← Back to issue list

Improve snap build using uv

View original Github issue

Metadata

Project
imagecraft
Number
#83
Type
issue
State
closed
Author
upils
Labels
—
Created
Updated
Closed

Current evaluation

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.

Resolution: closed resolved

Reason: PR #91 was merged as commit ff99627 and changed the imagecraft snap part to use Snapcraft's uv plugin with the astral-uv build snap. The issue was subsequently closed as delivered.

Evaluated by: mr-cal-bot

No scores available.

Issue body

### What needs to get done Use uv to build the imagecraft part of the snap. Also make sure a build can be retried if it fails after `craftctl default` ran. ### Why it needs to get done Speed up the snap build, make it consistent with other *craft projects and make it easier to work on the project when debugging builds.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved 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.
stealth/space-bunny-alpha — closed resolved The uv build migration was delivered by merged PR #91 in commit ff99627; no separate retry-after-craftctl-default fix was identified.
stealth/space-bunny-alpha — closed resolved Fixed by merged PR canonical/imagecraft#91 (commit ff99627), switching the Imagecraft snap build to uv and implementing the requested build improvements.
qwen/qwen3.6-35b-a3b — — Snap build improvements using uv and retry logic were closed without implementation. No fix was merged or resolved, and the request appears abandoned following automated Jira synchronization.
qwen/qwen3.6-35b-a3b — — Requested snap build improvements using uv and retry fixes closed without a linked resolution or merge. Tracking moved to Jira tickets CRAFT-4062 and CRAFT-4063, indicating the work was abandoned or handled externally.
qwen/qwen3.6-35b-a3b — — Closed without implementation. The proposal to use uv for snap builds was abandoned and tracked externally via Jira tickets CRAFT-4062 and CRAFT-4063. No code changes were merged.
qwen3.6-35b-a3b-mtp-q6 — — Closed without a specified resolution or linked pull request. The request to use uv for snap builds and improve retryability remains unimplemented, indicating the issue was likely abandoned or superseded.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: canonical/imagecraft#91 (confidence 100%)

    Merged PR titled "Build snap with uv"; commit ff99627 implements the uv-based snap build.

Related issues

Issue Project State Summary Similarity
#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.
82%
#5284 build: package snap with uv snapcraft closed Closed unmerged after 306 days without review; the uv-based Snapcraft build migration later landed via #5872 (7c8d424e3).
79%
#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.
77%
#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.
77%
#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.
76%
#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.
74%
#1018 build: use uv plugin to build rockcraft merged Merged as d822555f, incorporating Charmcraft #2050 (6d0d9ce4) to build with the uv plugin; companion Rockcraft #1019 addressed the pending snap-test failures.
72%