fix: use local leann-core when building backend packages

Add --find-links to backend builds to ensure they use the locally built
leann-core with fixed MLX dependencies instead of downloading from PyPI.

Also bump leann-core version to 0.2.8 to ensure clean dependency resolution.
This commit is contained in:
Andy Lee
2025-08-11 13:38:03 -07:00
parent b7516608ab
commit a0c790f285
2 changed files with 5 additions and 5 deletions

View File

@@ -148,9 +148,9 @@ jobs:
export CC=clang
export CXX=clang++
export MACOSX_DEPLOYMENT_TARGET=11.0
uv build --wheel --python ${{ matrix.python }}
uv build --wheel --python ${{ matrix.python }} --find-links ../leann-core/dist
else
uv build --wheel --python ${{ matrix.python }}
uv build --wheel --python ${{ matrix.python }} --find-links ../leann-core/dist
fi
cd ../..
@@ -162,9 +162,9 @@ jobs:
export CXX=clang++
# DiskANN requires macOS 13.3+ for sgesdd_ LAPACK function
export MACOSX_DEPLOYMENT_TARGET=13.3
uv build --wheel --python ${{ matrix.python }}
uv build --wheel --python ${{ matrix.python }} --find-links ../leann-core/dist
else
uv build --wheel --python ${{ matrix.python }}
uv build --wheel --python ${{ matrix.python }} --find-links ../leann-core/dist
fi
cd ../..

View File

@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "leann-core"
version = "0.2.7"
version = "0.2.8"
description = "Core API and plugin system for LEANN"
readme = "README.md"
requires-python = ">=3.9"