Skip to content

Commit 3bb68ef

Browse files
DanMeonclaude
andcommitted
ci(docs): uv run --no-project — pyproject maturin build skip
이전 fix (uv run --with) 가 PEP 668 은 회피했으나 uv 가 pyproject.toml 의 [project] 를 보고 자동으로 maturin build_editable 을 시도. external/ rhwp submodule 미체크아웃 + Rust toolchain 미설치 → exit 1. 해결: --no-project 추가 → uv 가 pyproject 무시, 임시 venv 에 typer 만 설치. lint script 는 rhwp import 안 하므로 프로젝트 빌드 불필요. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent e28d0cb commit 3bb68ef

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-
# ^ uv run --with 로 typer ad-hoc 설치 (ubuntu PEP 668 externally-managed 회피).
46-
# full all 그룹은 CI 빌드용 — lint 는 가벼우니 uv 가 만든 임시 venv 면 충분.
45+
# ^ --no-project: pyproject.toml 의 maturin build (Rust + submodule 필요) skip.
46+
# --with: typer 만 ad-hoc 설치 (lint 는 rhwp import 안 함, 가벼움).
4747
- name: Lint docs
48-
run: uv run --with "typer>=0.12" python scripts/lint_docs.py docs/
48+
run: uv run --no-project --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: uv run --with "typer>=0.12" python scripts/generate_spec_trace.py --check
51+
run: uv run --no-project --with "typer>=0.12" python scripts/generate_spec_trace.py --check

0 commit comments

Comments
 (0)