Skip to content

ci(python): python-runner 인자·핀 검증을 iris-bridge 정본과 일치 - #84

Merged
park285 merged 1 commit into
mainfrom
chore/python-runner-canonical-20260929
Sep 28, 2026
Merged

park285 merged 1 commit into
mainfrom
chore/python-runner-canonical-20260929

Conversation

@park285

@park285 park285 commented Sep 28, 2026

Copy link
Copy Markdown
Owner

scripts/ci/python-runner.sh를 iris-bridge b994317 정본과 byte-identical로 맞춥니다. --만 주거나 --print-interpreter 뒤 인자가 있으면 해석기 탐색 전에 usage exit 2, .python-version은 symlink가 아닌 정규 파일의 3.14.7\n 한 줄만 허용합니다. 로컬 smoke: --/--print-interpreter x/무인자 → 2, --print-interpreter와 -- -c ... → 0, python-runtime.sh repo_python_init 성공. pre-push gate 통과.

scripts/ci/python-runner.sh를 iris-bridge b994317 정본과 byte-identical로 맞춘다.
이전 판은 `--`만 주면 해석기를 인자 없이 exec했고 `--print-interpreter` 뒤 추가
인자와 여러 줄 .python-version을 받았다. 이제 인자를 해석기 탐색 전에 검증해
usage exit 2로 끝내고 .python-version은 symlink가 아닌 정규 파일의 "3.14.7\n" 한
줄만 받는다. 저장소 호출자(python-runtime.sh, python-runtime action, commit-msg
hook)는 --print-interpreter와 `-- <args>`만 쓰므로 동작이 같다.
@park285
park285 merged commit 1e5c725 into main Sep 28, 2026
2 checks passed
@park285
park285 deleted the chore/python-runner-canonical-20260929 branch September 28, 2026 22:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant