← Back to issue list

Move to using uv plugin to build

View original Github issue

Metadata

Project
charmcraft
Number
#2039
Type
issue
State
closed
Author
bepri
Labels
—
Created
Updated
Closed

Current evaluation

Charmcraft’s snap build was migrated to the uv plugin in merged PR #2412 via commit 5d8ea0e4, resolving #2039.

Resolution: closed resolved

Reason: PR #2412 was merged as commit 5d8ea0e4 and migrated the snap to core24, with snap/snapcraft.yaml using `plugin: uv`. A maintainer explicitly marked #2039 as addressed by that PR.

Evaluated by: mr-cal-bot

No scores available.

Issue body

### What needs to get done The build process in charmcraft's `snapcraft.yaml` should use the new uv plugin. ### Why it needs to get done Charmcraft currently uses its "own" uv plugin using `override-build`.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Charmcraft’s snap build was migrated to the uv plugin in merged PR #2412 via commit 5d8ea0e4, resolving #2039.
stealth/space-bunny-alpha — closed resolved Charmcraft’s snap now uses the upstream uv plugin instead of the custom override-build workaround, via merged PR #2412 (commit 5d8ea0e4).
stealth/space-bunny-alpha — closed resolved Charmcraft’s snap now uses the upstream uv plugin instead of its override-build workaround, resolving #2039 in merged PR #2412 via commit 5d8ea0e4.
stealth/space-bunny-alpha — closed resolved Charmcraft’s snap build migration to the uv plugin was addressed in merged PR #2412 (commit 5d8ea0e4), migrating the snap to core24.
stealth/space-bunny-alpha — closed resolved Charmcraft’s snap build was migrated from custom override-build handling to the official uv plugin by merged PR #2412 (commit 5d8ea0e4).
qwen3.6-35b-a3b-mtp-q6 — — Switched charmcraft's build process to the official uv plugin. The request was resolved and closed after the change was merged via pull request #2412.
qwen/qwen3.6-35b-a3b
Staleness: 80
Complexity: 20
Confidence: 75
Support Request: 10
needs triage Proposal to replace the custom uv plugin in snapcraft.yaml with the official uv plugin. Unlabelled and inactive for over a year with no maintainer assessment.
qwen3.6-35b-a3b-mtp-q6
Staleness: 88
Complexity: 35
Confidence: 85
Support Request: 5
needs triage Proposes switching charmcraft's snapcraft.yaml build process from a custom uv plugin to the official uv plugin. Currently unlabelled, no maintainer response, and inactive for nearly a year.
qwen3.6-35b-a3b-mtp-q6
Staleness: 92
Complexity: 35
Confidence: 85
Support Request: 10
needs triage Proposes migrating charmcraft's snapcraft build process from a custom override-build to the official uv plugin. Unlabelled, unassessed, and inactive for over a year with only automated sync comments.

Update history

Date Change
closed

Related work

  • Likely Fixed By: canonical/charmcraft#2412 (confidence 100%)

    Merged PR that migrated the snap build and introduced the uv plugin configuration.

Related issues

Issue Project State Summary Similarity
#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.
83%
#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.
76%
#2050 feat: add uv plugin to charmcraft charmcraft merged Merged PR #2050 as commit 6d0d9ce4, adding uv plugin support to Charmcraft and closing #2040 after prerequisite craft-parts#945.
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.
75%
#2040 Add support for the uv plugin charmcraft closed uv plugin support landed in charmcraft via merged PR canonical/charmcraft#2050, commit 6d0d9ce4, adding charmcraft/parts/plugins/_uv.py and registering the plugin. The plugin is still present at HEAD.
74%
#2120 Add a how-to for switching to uv charmcraft closed Added and published a Charm-to-uv migration how-to via merged PR #2156 (commit 7947040c).
74%
#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.
72%
#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.
72%
#1867 experimental: switch to uv charmcraft closed Landed in main via commit 31fd757e, migrating Charmcraft to uv and updating dependency freezing; related partial work had landed in #2003.
72%
#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).
71%