← Back to issue list

uv: Support workspace packages arguments

View original Github issue

Metadata

Project
craft-parts
Number
#1613
Type
issue
State
open
Author
pedro-avalos
Labels
—
Created
Updated
Closed
—

Current evaluation

Feature request: add a `uv-packages` part property to the uv plugin so `uv sync` can be scoped with `--all-packages` or `--package=<name>`, enabling multi-package artifacts. Open, untriaged.

Suggested action: needs triage

Reason: The request is a concrete, valid gap: `UvPlugin._get_package_install_commands` currently emits only `uv sync --no-dev --no-editable --reinstall` plus `--extra`/`--group` flags, with no way to select workspace members, and neither `uv_plugin.py` nor `docs/common/craft-parts/reference/plugins/uv_plugin.rst` documents such a property. Implementation is small and follows an existing pattern (`colcon_packages` list[str] in colcon_plugin.py, and the uv extras/groups handling with a matching unit-test parametrization in tests/unit/plugins/test_uv_plugin.py), but the exact property semantics are still unresolved in the body itself ("EDIT: Or `none` could just be an empty list `[]` actually"), and the issue has zero comments, no labels, and no maintainer response or assignee — so it has not been triaged yet.

Evaluated by: mr-cal-bot

Impact: 42 Quick Win: 18 Complexity: 25 Confidence: 72 Actionability: 58

Issue body

### What needs to get done The `uv` plugin should support a `uv-packages` property; I think this should be a string or list property that maybe allows: 1. `none` (current behavior): Run `uv sync` without any `--all-packages` or `--package` arguments 1. `all`: Run `uv sync` command with `--all-packages` to ensure all workspace packages get included in the final artifact 1. A list of strings: Adds `--package=<name>` for each package name in the property EDIT: Or `none` could just be an empty list `[]` actually ### Why it needs to get done This would allow building either: 1. One artifact with multiple `bin/` executables: Maybe a project has a `client` library with two components that provide either CLIs or tools that should be bundled into one artifact. 1. Multiple artifacts (snaps, rocks, etc.) per workspace: Maybe a project has a `client` library that has a user CLI and a agent/service tool that should be built as separate artifacts.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 42
Quick Win: 18
Complexity: 25
Confidence: 72
Actionability: 58
needs triage Feature request: add a `uv-packages` part property to the uv plugin so `uv sync` can be scoped with `--all-packages` or `--package=<name>`, enabling multi-package artifacts. Open, untriaged.
stealth/space-bunny-alpha
Impact: 45
Quick Win: 15
Complexity: 40
Confidence: 82
Actionability: 55
needs triage Feature request to add a `uv-packages` property to the uv plugin so `uv sync` can take `--all-packages` or `--package=<name>` for uv workspaces; unimplemented, no maintainer response.
stealth/space-bunny-alpha
Impact: 40
Quick Win: 18
Complexity: 30
Confidence: 55
Actionability: 65
needs triage Feature request to add a uv-packages property to the uv plugin so uv sync can pass --all-packages or repeated --package=<name> for workspace members; no maintainer triage or implementation yet.
stealth/space-bunny-alpha
Impact: 45
Quick Win: 24
Complexity: 28
Confidence: 92
Actionability: 75
needs triage Proposed uv workspace package selection via uv sync flags, supporting combined or separate artifacts; remains open without maintainer triage or implementation.
qwen3.6-35b-a3b-mtp-q6
Impact: 50
Quick Win: 35
Staleness: 65
Complexity: 30
Confidence: 80
Support Request: 0
needs triage Feature request to add a `uv-packages` property to the `uv` plugin for specifying workspace packages during sync. Untriaged and inactive for 88 days.
qwen/qwen3.6-35b-a3b
Staleness: 45
Complexity: 20
Confidence: 90
Support Request: 10
needs triage Feature request to add a uv-packages property to the uv plugin for specifying workspace packages during sync. Currently unlabelled and awaiting maintainer review.
qwen3.6-35b-a3b-mtp-q6
Staleness: 25
Complexity: 20
Confidence: 90
Support Request: 0
needs triage Feature request to add a uv-packages property to the uv plugin, enabling --all-packages or --package flags for workspace sync. Untriaged and awaiting maintainer review.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.