Skip to content

Commit 5fb2f3b

Browse files
committed
fix(ci): SYSTEM_PYTHON must be an absolute path
The override is validated with Path(...).exists(), which never searches PATH, so the bare 'python3.10' spelling was silently ignored and the compat job's venv-building CLI tests kept failing on interpreter discovery. Point it at setup-python's python-path output.
1 parent b273b79 commit 5fb2f3b

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ jobs:
2525
uses: actions/checkout@v4
2626

2727
- name: Set up Python 3.10
28+
id: py310
2829
uses: actions/setup-python@v5
2930
with:
3031
python-version: '3.10'
@@ -43,7 +44,9 @@ jobs:
4344
# The venv-building CLI tests must find a base interpreter that can
4445
# create virtual environments; inside uv's own venv the discovery
4546
# walk has no anchor on the runner, so hand it the setup-python one.
46-
SYSTEM_PYTHON: python3.10
47+
# Must be an absolute path — the override is checked with
48+
# Path(...).exists(), which never searches PATH.
49+
SYSTEM_PYTHON: ${{ steps.py310.outputs.python-path }}
4750

4851
release:
4952
needs: compat

0 commit comments

Comments
 (0)