build: use uv plugin to build snapcraft
Metadata
Current evaluation
Merged changes switching snapcraft build to the uv plugin. This constrains maturin to resolve rustc compatibility issues. Approved by reviewers and passed CI validation before integration.
Suggested action: —
No scores available.
Issue body
- [ ] Have you followed the [guidelines for contributing](https://github.com/canonical/snapcraft/blob/main/CONTRIBUTING.md)?
- [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [ ] Have you successfully run `make lint`?
- [ ] Have you successfully run `make test`?
---
Builds snapcraft with the `uv` plugin. This has the added bonus of letting us constrain the maturin version, which is necessary since we don't have a sufficiently new rustc for the latest maturin.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged changes switching snapcraft build to the uv plugin. This constrains maturin to resolve rustc compatibility issues. Approved by reviewers and passed CI validation before integration. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged a build update to use the uv plugin for snapcraft, enabling maturin version constraints to accommodate current rustc limitations. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged the update to build snapcraft using the uv plugin, allowing maturin version constraints to resolve rustc compatibility issues. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #91 feat: Build snap with uv | imagecraft | merged | Merged updates to the snap build process, switching the imagecraft component to uv. Resolves #83 and CRAFT-4062. Approved by two reviewers, passed CI, and modified a single file. | |
| #1018 build: use uv plugin to build | rockcraft | merged | Merged to switch to the uv plugin for building. A failing CI check due to a dependency on PR #1019 was accepted, with the maintainer noting the tests will pass once the dependent PR is integrated. | |
| #5284 build: package snap with uv | snapcraft | closed | 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. | |
| #5554 fix(build): freeze UV in the snap build | snapcraft | merged | Merged a build fix that freezes the UV package version in the snap build and updates the lock file. Approved by two reviewers, passed all CI checks, and integrated into the main branch. | |
| #198 plugins: rust | craft-parts | merged | Merged the rust plugin port from snapcraft to craft-parts. Approved by a reviewer, passed CI, and landed after related PR #199. Addresses CRAFT-955. |