diff options
| author | SulfurNitride <SulfurNitride@users.noreply.github.com> | 2026-05-15 17:13:29 -0500 |
|---|---|---|
| committer | SulfurNitride <lukew19@proton.me> | 2026-05-16 12:57:25 -0500 |
| commit | f782b0ca53b2353011ebc517302f1509690040ee (patch) | |
| tree | 1f59a1b1e8eb74695a4a8756eb9c6e9cdea542f4 /libs/plugin_python/.github | |
| parent | d55f61bd392d7e1e00dfbcb236aabfbe6f98589e (diff) | |
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) <noreply@anthropic.com>
Diffstat (limited to 'libs/plugin_python/.github')
| -rw-r--r-- | libs/plugin_python/.github/workflows/linting.yml | 9 |
1 files changed, 3 insertions, 6 deletions
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 |
