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:
8
.github/workflows/build-reusable.yml
vendored
8
.github/workflows/build-reusable.yml
vendored
@@ -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 ../..
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user