From 2ae9004ad80d23c8c1f5899181ab54d081383fc2 Mon Sep 17 00:00:00 2001 From: Davide Angelocola Date: Sat, 31 Oct 2026 22:43:14 +0100 Subject: [PATCH] ci(local): pin uv's Python to 3.13 for model downloads macOS runners now have Python 3.15, which pyyaml has no wheels for yet; with --no-build, huggingface_hub==2.1.1 can't resolve and the macOS job fails before any Java runs. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/local.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/local.yml b/.github/workflows/local.yml index 6f6de93..7c14bf0 100644 --- a/.github/workflows/local.yml +++ b/.github/workflows/local.yml @@ -37,6 +37,8 @@ jobs: - name: Prepare models if: steps.models.outputs.cache-hit != 'true' + env: + UV_PYTHON: '3.13' # --no-build needs wheels; pyyaml has none yet for the runner's newest Python (3.15) run: | M=~/.cache/typesafe-local uvx --no-build --from huggingface_hub==2.1.1 hf download onnx-community/laya-typed-decisions-ONNX tokenizer.json config.json onnx/model.onnx onnx/model.onnx_data --local-dir $M/laya-fp32