From 0797008a3fbe813f52a3531aade46c9b12e41b74 Mon Sep 17 00:00:00 2001 From: Andy Lee Date: Mon, 11 Aug 2025 14:15:26 -0700 Subject: [PATCH 1/2] fix: use absolute path for find-links and upgrade backend version - Use GITHUB_WORKSPACE for absolute path to ensure find-links works - Upgrade leann-backend-hnsw to 0.2.8 to match leann-core version --- .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 6d4f188..db92c54 100644 --- a/.github/workflows/build-reusable.yml +++ b/.github/workflows/build-reusable.yml @@ -148,9 +148,9 @@ jobs: export CC=clang export CXX=clang++ export MACOSX_DEPLOYMENT_TARGET=11.0 - uv build --wheel --python ${{ matrix.python }} --find-links ../leann-core/dist + uv build --wheel --python ${{ matrix.python }} --find-links ${GITHUB_WORKSPACE}/packages/leann-core/dist else - uv build --wheel --python ${{ matrix.python }} --find-links ../leann-core/dist + uv build --wheel --python ${{ matrix.python }} --find-links ${GITHUB_WORKSPACE}/packages/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 }} --find-links ../leann-core/dist + uv build --wheel --python ${{ matrix.python }} --find-links ${GITHUB_WORKSPACE}/packages/leann-core/dist else - uv build --wheel --python ${{ matrix.python }} --find-links ../leann-core/dist + uv build --wheel --python ${{ matrix.python }} --find-links ${GITHUB_WORKSPACE}/packages/leann-core/dist fi cd ../.. From 6762e5b2c4c24bd102793c32188880a2f2821bdc Mon Sep 17 00:00:00 2001 From: Andy Lee Date: Mon, 11 Aug 2025 14:38:58 -0700 Subject: [PATCH 2/2] fix: correct version consistency for --find-links to work properly MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - All packages now use version 0.2.7 consistently - Backend packages can find exact leann-core==0.2.7 from local build - This ensures --find-links works during CI builds instead of falling back to PyPI 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- packages/leann-core/pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/leann-core/pyproject.toml b/packages/leann-core/pyproject.toml index be09d29..98e7d12 100644 --- a/packages/leann-core/pyproject.toml +++ b/packages/leann-core/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "leann-core" -version = "0.2.8" +version = "0.2.7" description = "Core API and plugin system for LEANN" readme = "README.md" requires-python = ">=3.9"