fix(ci): install uv via official installer in tradein test job (PEP 668) #676
No reviewers
Labels
No labels
admin
analytics
auth
automation
bug
business
chore
ci
compliance
data
data-moat
docs
duplicate
dx
enhancement
Fable 5 ревью
feedback/max
generative
GG-форсайт
needs-discussion
needs-human
observability
pause-bots
performance
priority/p0
priority/p1
priority/p2
priority/p3
scope/backend
scope/db
scope/devops
scope/frontend
scope/qa
scrapers
security
site-finder
stage/1
stage/2
status/blocked
status/done
status/needs-analysis
status/needs-fix
status/qa
status/ready
status/review
status/wip
tech-debt
tradein
ux
week ревью 1
wontfix
вторичка
ИРД
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lekss361/gendesign#676
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "fix/tradein-ci-uv-install"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The #666 pytest gate's
Install uvstep usedpip install --no-cache-dir uv, which fails on the ubuntu-latest Forgejo runner witherror: externally-managed-environment(PEP 668) → thetestjob errored →build-backend/deploywere skipped (run #496 onbe63b24). This blocks all tradein deploys.Fix: install uv via the official standalone installer (
curl -LsSf https://astral.sh/uv/install.sh | sh) and add$HOME/.local/binto$GITHUB_PATH. No PEP 668 issue; uv then provisions Python 3.12 itself.pytest itself is green locally (1087 passed, 2 deselected) — this was purely the runner-side uv install, not a test failure.
Verified: log run #496 job 1 showed
error: externally-managed-environmentat the Install uv step.CI fix (#666 follow-up): replace PEP-668-failing pip install uv with astral official standalone installer + add ~/.local/bin to GITHUB_PATH so uv sync resolves. Correct/documented uv install method; HTTPS + -sSf fail-on-error; unblocks the #675 test gate. No secrets, no policy change. ADVISORY (non-blocking): uv version not pinned -> latest each CI run; consider pinning for reproducibility. APPROVE.