From 5094e6800a9e9275366fe17585babb70cd1366fd Mon Sep 17 00:00:00 2001 From: Andy Lee Date: Sun, 10 Aug 2025 17:20:24 -0700 Subject: [PATCH] fix: use correct Python version for wheel builds MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Replace --python python with --python ${{ matrix.python }} - This ensures wheels are built for the correct Python version in each matrix job - Fixes Python version mismatch where cp39 wheels were used in cp311 environments 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- .github/workflows/build-reusable.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-reusable.yml b/.github/workflows/build-reusable.yml index eaf82ed..dce01f7 100644 --- a/.github/workflows/build-reusable.yml +++ b/.github/workflows/build-reusable.yml @@ -150,9 +150,9 @@ jobs: export CC=clang export CXX=clang++ export MACOSX_DEPLOYMENT_TARGET=11.0 - uv build --wheel --python python + uv build --wheel --python ${{ matrix.python }} else - uv build --wheel --python python + uv build --wheel --python ${{ matrix.python }} fi cd ../.. @@ -164,9 +164,9 @@ jobs: export CXX=clang++ # DiskANN requires macOS 13.3+ for sgesdd_ LAPACK function export MACOSX_DEPLOYMENT_TARGET=13.3 - uv build --wheel --python python + uv build --wheel --python ${{ matrix.python }} else - uv build --wheel --python python + uv build --wheel --python ${{ matrix.python }} fi cd ../..