feat(templates): use uv for testing and packing kubernetes and machine charms
Metadata
Current evaluation
PR merged as commit e451f70f: charmcraft init kubernetes/machine profiles now use pyproject.toml deps, tox-uv, the uv plugin for packing, and a uv.lock template; docs updated, requirements-dev.txt page removed.
Resolution: closed resolved
Reason: PR #2312 was approved by three reviewers and merged as commit e451f70f ("feat(templates): use uv for testing and packing kubernetes and machine charms (#2312)"). The change is present in the tree, e.g. docs/reference/files/tox-ini-file.rst documents `uv tool install tox --with tox-uv` and docs/reference/files/uv-lock-file.rst was added.
Evaluated by: mr-cal-bot
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | PR merged as commit e451f70f: charmcraft init kubernetes/machine profiles now use pyproject.toml deps, tox-uv, the uv plugin for packing, and a uv.lock template; docs updated, requirements-dev.txt page removed. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged in #2312 (commit e451f70f): Kubernetes and machine charm templates now use uv/tox-uv, pyproject.toml, and managed uv.lock files, with init help and docs updated. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged. Updated charmcraft init templates for kubernetes and machine profiles to use uv for testing and packing. Replaced requirements.txt with pyproject.toml, added a managed uv.lock template, updated documentation, and bumped the minimum ops version to 3.0. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Updated charmcraft init templates for kubernetes and machine profiles to use uv for dependency management, testing, and packing. Replaced requirements.txt with pyproject.toml, added managed uv.lock templates, updated docs, and set minimum ops to 3. |
Update history
No update history recorded yet.
Related work
-
Superseded By:
canonical/charmcraft#2754
(confidence 80%)
Later PR (commit 0be5a5e7) removed the bundled uv.lock template files introduced here and bounded the profile dependencies, superseding part of this PR's design.
-
Likely Fixed By:
canonical/charmcraft#2238
(confidence 70%)
Follow-up doc issue cited in the PR; closed with PR #2413 clarifying the uv plugin migration guide.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #2365 Add test configuration templates for charmcraft | charmcraft | closed | Test init profiles delivered by merged PR #2401 (commit a7334d49), adding test-machine and test-kubernetes templates for `charmcraft init`; shipped in Charmcraft 4.0. |