From f782b0ca53b2353011ebc517302f1509690040ee Mon Sep 17 00:00:00 2001 From: SulfurNitride Date: Fri, 15 May 2026 17:13:29 -0500 Subject: build: migrate Dockerfile + plugin_python from pip/poetry to uv Dockerfile: drop apt python3/python3-pip, copy the uv static binary from ghcr.io/astral-sh/uv:latest, install python-build-standalone via `uv python install` (replacing the manual curl), run aqtinstall via `uv tool run`, install build-time packages via `uv pip install --system --break-system-packages --python ...`. Same swap applied to the CI workflow's inline package-install step. plugin_python: convert pyproject.toml from [tool.poetry] to PEP 621 [project] + [dependency-groups], drop poetry.lock, replace abatilo/actions-poetry + `poetry install/run` with astral-sh/setup-uv + `uv sync/run` in libs/plugin_python/.github/workflows/linting.yml. Co-Authored-By: Claude Opus 4.7 (1M context) --- libs/plugin_python/.github/workflows/linting.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'libs/plugin_python/.github/workflows') diff --git a/libs/plugin_python/.github/workflows/linting.yml b/libs/plugin_python/.github/workflows/linting.yml index 70b5bca..03d7e0a 100644 --- a/libs/plugin_python/.github/workflows/linting.yml +++ b/libs/plugin_python/.github/workflows/linting.yml @@ -14,11 +14,8 @@ jobs: uses: ModOrganizer2/check-formatting-action@master with: check-path: "." - - uses: actions/setup-python@v4 - with: - python-version: "3.12" - - uses: abatilo/actions-poetry@v2 + - uses: astral-sh/setup-uv@v3 - name: Check format Python tests run: | - poetry install --no-root - poetry run poe lint + uv sync --only-dev + uv run poe lint -- cgit v1.3.1