← Back to issue list

`uv` python plugin

View original Github issue

Metadata

Project
craft-parts
Number
#706
Type
issue
State
closed
Author
lengau
Labels
—
Created
Updated
Closed

Current evaluation

Standalone uv support was added in PR #930, providing a UV Python plugin with uv-based environment setup and documented system-Python configuration.

Resolution: closed resolved

Reason: PR #930 delivered the standalone plugin requested here; the repository now includes craft_parts/plugins/uv_plugin.py and its reference documentation. The separate opt-in for uv venv and uv pip was deferred to craft-parts#936.

Evaluated by: mr-cal-bot

No scores available.

Issue body

### What needs to get done Either a separate plugin or an opt-in configuration option for the Python plugin to use [uv](https://github.com/astral-sh/uv) instead of standard `venv` and `pip`. ### Why it needs to get done We should provide first-class support for multiple Python build systems

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Standalone uv support was added in PR #930, providing a UV Python plugin with uv-based environment setup and documented system-Python configuration.
stealth/space-bunny-alpha — closed superseded UV plugin request was closed without a merged implementation: draft #695 was abandoned, and #825 was deferred to follow-up #936.
qwen/qwen3.6-35b-a3b — — Closed and abandoned after maintainer outlined requirements for a dedicated uv plugin, specifying environment variables and sync behavior. No direct merge or fix was recorded.
qwen/qwen3.6-35b-a3b — — Closed after maintainer provided implementation specs for a dedicated uv plugin, directing use of uv sync with environment variables like UV_PYTHON_PREFERENCE=only-system.
qwen/qwen3.6-35b-a3b — — Closed after clarifying requirements for a dedicated uv plugin. Maintainer specified setting UV_PROJECT_ENVIRONMENT, UV_FROZEN, UV_PYTHON, and UV_PYTHON_PREFERENCE environment variables alongside uv sync. Implementation was tracked via draft PRs #695 and #825.
qwen3.6-35b-a3b-mtp-q6 — — Closed after maintainer clarified requirements for a dedicated uv plugin, specifying environment variables for venv setup. Draft pull requests #695 and #825 were created to explore implementation, but no code was merged or released.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: craft-parts#930 (confidence 98%)

    Added the standalone uv plugin, which is present in the current source tree.

  • Related To: craft-parts#936 (confidence 95%)

    Follow-up request for the distinct opt-in uv venv and uv pip integration.

  • Related To: craft-parts#695 (confidence 90%)

    Earlier draft implementation for a standalone uv Python plugin.

  • Related To: craft-parts#825 (confidence 90%)

    Experimental uv support discussed alongside the plugin proposal but closed unmerged.

Related issues

Issue Project State Summary Similarity
#825 [experimental] UV support for Python plugins craft-parts closed Closed unmerged as unusable with the current codebase; maintainer lengau deferred reconsideration to feature issue #936.
72%