python: Add support for uv package management

Support installing Python dependencies with uv, configured via a new python.uv config section. Two modes are supported:

  • uv sync (default): installs from pyproject.toml/uv.lock, with optional no-group entries translating to --no-group arguments.
  • uv pip install -r <requirements>: enabled with uvpip: true.

The configured uv.version is pip-installed into the Blubber managed venv before use, following the same pattern as Poetry.

Squash of the original MR !119 commits, rebased onto current main (configurable venv path, pyVersionSpecifier helpers).

Bug: T384584

Edited by Santhosh

Merge request reports

Loading