[MLsys2026 Best Paper]: https://arxiv.org/abs/2506.08276. RAG on Everything with LEANN. Enjoy 97% storage savings while running a fast, accurate, and 100% private RAG application on your personal device.
Python aifaissgpt-osslangchainllama-indexllmlocalstorageoffline-firstollamaprivacypythonragretrieval-augmented-generationvector-databasevector-searchvectors
fix: ensure uv build uses correct Python version in CI
Andy Lee2684ee71dcfc
diff --git a/.github/workflows/build-and-publish.yml b/.github/workflows/build-and-publish.ymlindex d0a74a0..dd1a5d7 100644--- a/.github/workflows/build-and-publish.yml+++ b/.github/workflows/build-and-publish.yml@@ -90,7 +90,7 @@ jobs:- name: Build wheelrun: |cd packages/leann-backend-hnsw- uv build --wheel+ uv build --wheel --python python- name: Repair wheel (Linux)if: runner.os == 'Linux'@@ -167,7 +167,7 @@ jobs:- name: Build wheelrun: |cd packages/leann-backend-diskann- uv build --wheel+ uv build --wheel --python python- name: Repair wheel (Linux)if: runner.os == 'Linux'diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex a5436ff..9aa4b72 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -55,12 +55,17 @@ jobs:echo "🔨 Building on ${{ matrix.os }} with Python ${{ matrix.python-version }}..."export UV_SYSTEM_PYTHON=1+ # Verify Python version+ python --version+ which python+# Build each packagefor pkg in leann-core leann-backend-hnsw leann-backend-diskann leann; doecho "Building $pkg..."cd packages/$pkgrm -rf dist/ build/ _skbuild/- uv build --wheel+ # Use explicit python interpreter+ uv build --wheel --python pythonif [ ! -f dist/*.whl ]; thenecho "❌ Failed to build $pkg!"exit 1