← Back to issue list

fix: validate uv plugin for newer uv versions

View original Github issue

Metadata

Project
craft-parts
Number
#1086
Type
pull request
State
merged
Author
bepri
Labels
Created
Updated
Closed

Current evaluation

Merged fix for uv plugin validation in versions 0.7.0+. Replaced uv version with uv --version to prevent conflicts with project pyproject.toml parsing, resolving build failures in newer uv environments.

Suggested action:

No scores available.

Issue body

- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [x] Have you added an entry to the changelog (`docs/reference/changelog.rst`)? ----- [uv 0.7.0](https://github.com/astral-sh/uv/releases/tag/0.7.0) changed the UI of the version subcommand in a breaking way way, so any builds attempting to use the latest uv [would break](https://github.com/canonical/rockcraft/actions/runs/14754866945/job/41420894113?pr=870#step:10:533). The uv tests in [this workflow](https://github.com/canonical/rockcraft/actions/runs/14756594240/job/41426328639?pr=876) prove this works.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged fix for uv plugin validation in versions 0.7.0+. Replaced uv version with uv --version to prevent conflicts with project pyproject.toml parsing, resolving build failures in newer uv environments.
qwen3.6-35b-a3b-mtp-q6 Merged fix switching uv plugin validation to uv --version, resolving uv 0.7.0+ breaking changes and local pyproject.toml parsing conflicts that caused version validation failures.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#2413 docs: clarify how to use the uv plugin charmcraft merged Merged docs clarifying uv plugin usage. Added astral-uv snap to examples and updated the migration guide for dependency placement in pyproject.toml and uv.lock. Approved by four reviewers and passed CI checks.
70%