Skip to content

Commit 3edefbd

Browse files
committed
ci(build): pin uv to 0.9.x to fix Windows build failures
- uv 0.10.2 leaks host Python 3.12 stdlib into cibuildwheel venvs on Windows, causing SRE module mismatch and import errors for non-3.12 Python targets
1 parent 5a81c77 commit 3edefbd

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ jobs:
188188
uses: astral-sh/setup-uv@v5
189189
with:
190190
enable-cache: true
191+
version: "0.9.x"
191192

192193
- name: Remove project venv
193194
run: python -c "import pathlib, shutil; p = pathlib.Path('.venv'); shutil.rmtree(p) if p.exists() else None"
@@ -425,6 +426,7 @@ jobs:
425426
uses: astral-sh/setup-uv@v5
426427
with:
427428
enable-cache: true
429+
version: "0.9.x"
428430

429431
- name: Remove project venv
430432
run: python -c "import pathlib, shutil; p = pathlib.Path('.venv'); shutil.rmtree(p) if p.exists() else None"

0 commit comments

Comments
 (0)