← Back to issue list

Improve uv plugin doc

View original Github issue

Metadata

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

Current evaluation

Merged documentation updates for the uv plugin, expanding installation instructions, adding a setuptools dependency, and including a changelog entry. A CLA check failure was identified and resolved via a separate CI workflow update.

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`)? ----- I see that the uv plugin was partly inspired by the Go plugin (looking at the first few commits of #930) so I went ahead and expanded the explanation on how to actually get `uv` installed. I've seen some people define a custom `uv-deps` (like https://github.com/nsg/immich-distribution/blob/75d8511d2ca62b11ba25e66a37869eb06ff767e3/snap/snapcraft.yaml#L301-L310 or @lengau 's own https://github.com/lengau/astral-ty/blob/20a4f83c6fa369a189cdfe15e92f460b7c08f560/snap/snapcraft.yaml#L25-L34 ) but I guess `snap install astral-uv` is just easier? A couple more things: - `uv run --extra dev --extra apt-noble --extra docs sphinx-build ...` initially didn't work because of a missing `setuptools` dependency, so I added it. - Since the checklist asks for a changelog entry I added it, but looking at the history of the file it was not immediately clear to me how you folks handle unreleased entries and there's no `CONTRIBUTING.md` either so I did my best, but let me know if you prefer another approach.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged documentation updates for the uv plugin, expanding installation instructions, adding a setuptools dependency, and including a changelog entry. A CLA check failure was identified and resolved via a separate CI workflow update.
qwen3.6-35b-a3b-mtp-q6 Merged. Updated uv plugin documentation with clearer installation steps and added a missing setuptools dependency. Included a changelog entry. The initial CLA check failure was resolved after a separate workflow update PR merged.

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.
76%
#1486 docs: update uv plugin reference craft-parts merged Merged after approval. The PR updates the reference documentation by adding details for UV_COMPILE_BYTECODE and applying minor fixes to other sections. CI checks passed and changes were integrated.
73%
#956 fix: make uv plugin re-entrant on code changes craft-parts merged Merged a fix ensuring the uv plugin detects source code changes without requiring a build space cleanup. Approved by three reviewers, passed CI, and applied with minimal changes across three files.
70%