Skip to content

Commit cd81430

Browse files
fix: use correct Python version in release workflow (#67)
## Problem The release workflow was using `${{ matrix.python-version }}` but there's no matrix in this job. `setup-uv` fell back to the latest Python (3.14), which caused `pydantic-core` to fail building from source — pyo3 0.24.1 only supports up to Python 3.13. The `PYTHON_VERSION: "3.10"` env var was already defined but never referenced. ## Fix - `python-version: ${{ matrix.python-version }}` → `${{ env.PYTHON_VERSION }}` - Remove `make install-dependencies` — not needed in the release job (only `uv build` + publish) ## Next step After merging, delete and re-create the `0.0.42` GitHub release to re-trigger this workflow.
1 parent 06929bc commit cd81430

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,11 @@ jobs:
1717
- name: Install uv
1818
uses: astral-sh/setup-uv@v5
1919
with:
20-
python-version: ${{ matrix.python-version }}
20+
python-version: ${{ env.PYTHON_VERSION }}
2121

2222
- name: Set up Python
2323
run: uv python install
2424

25-
- name: Install dependencies
26-
run: make install-dependencies
27-
2825
- name: Build artifact
2926
run: |
3027
uv build

0 commit comments

Comments
 (0)