fix: use correct Python version for wheel builds

- 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 <noreply@anthropic.com>
This commit is contained in:
Andy Lee
2025-08-10 17:20:24 -07:00
parent f08132c525
commit 5094e6800a

View File

@@ -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 ../..