Skip to content

Commit e28d0cb

Browse files
DanMeonclaude
andcommitted
ci(docs): uv pip install --system → uv run --with (PEP 668 회피)
Ubuntu 24.04 의 system Python 이 externally-managed (PEP 668) 라 'uv pip install --system "typer>=0.12"' 가 거부됨 (exit 2). 해결: 'uv run --with "typer>=0.12" python ...' 로 ad-hoc 설치 — uv 가 임시 venv 자동 생성, lint 단발 호출이라 캐시 부담도 없음. 이전 commit baafe82 의 docs.yml 만 영향. ci.yml (build/test) 는 무관. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 97319c8 commit e28d0cb

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/docs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ jobs:
4242
- uses: astral-sh/setup-uv@v8.1.0
4343
with:
4444
python-version: "3.12"
45-
# ^ typer 만 필요 (testing 그룹에 포함). full all 그룹은 CI 빌드용 — lint 는 가벼움.
46-
- run: uv pip install --system "typer>=0.12"
45+
# ^ uv run --with 로 typer ad-hoc 설치 (ubuntu PEP 668 externally-managed 회피).
46+
# full all 그룹은 CI 빌드용 — lint 는 가벼우니 uv 가 만든 임시 venv 면 충분.
4747
- name: Lint docs
48-
run: python scripts/lint_docs.py docs/
48+
run: uv run --with "typer>=0.12" python scripts/lint_docs.py docs/
4949
- name: Verify spec trace report up to date
5050
# ^ tests/ 의 @pytest.mark.spec 변경 시 docs/traces/coverage.md 동기화 필수.
51-
run: python scripts/generate_spec_trace.py --check
51+
run: uv run --with "typer>=0.12" python scripts/generate_spec_trace.py --check

0 commit comments

Comments
 (0)