From 2e55c823a4e72273ee4acb29125f5cccfa4690bb Mon Sep 17 00:00:00 2001 From: lekss361 Date: Fri, 29 May 2026 23:23:56 +0300 Subject: [PATCH] fix(ci): install uv via official installer in tradein test job (PEP 668) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The #666 pytest gate's 'Install uv' step used `pip install uv`, which fails on the ubuntu-latest runner with PEP 668 externally-managed-environment → the test job errored → build+deploy skipped (deploy blocked). Switch to the official standalone installer (curl astral.sh/uv/install.sh) + $GITHUB_PATH. pytest itself is green locally (1087 passed); this was purely the runner uv install. Unblocks deploy-tradein.yml. --- .forgejo/workflows/deploy-tradein.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/deploy-tradein.yml b/.forgejo/workflows/deploy-tradein.yml index 52f6dc16..5daadc76 100644 --- a/.forgejo/workflows/deploy-tradein.yml +++ b/.forgejo/workflows/deploy-tradein.yml @@ -62,7 +62,11 @@ jobs: - uses: actions/checkout@v4 - name: Install uv - run: pip install --no-cache-dir uv + # Официальный standalone-инсталлер: системный `pip install uv` на + # ubuntu-runner падает с PEP 668 externally-managed-environment (#666 CI). + run: | + curl -LsSf https://astral.sh/uv/install.sh | sh + echo "$HOME/.local/bin" >> "$GITHUB_PATH" - name: Sync deps (incl. dev group — pytest) run: uv sync --frozen