Skip to content

armgit / LEANN

Public Imported from GitHub
0

[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.

fix(ci): use Python 3.13 in Arch Linux smoke test

Andy Leee1dd817916f8
diff --git a/.github/workflows/build-reusable.yml b/.github/workflows/build-reusable.yml
index de01140..35b9164 100644
--- a/.github/workflows/build-reusable.yml
+++ b/.github/workflows/build-reusable.yml
@@ -448,7 +448,8 @@ jobs:
# Initialize pacman keyring to avoid "no secret key available" error
pacman-key --init
pacman -Syu --noconfirm
- pacman -S --noconfirm python python-pip gcc git zlib openssl
+ # Install build essentials (uv will manage Python version)
+ pacman -S --noconfirm gcc git zlib openssl
- name: Download ALL wheel artifacts from this run
uses: actions/download-artifact@v5
@@ -461,7 +462,9 @@ jobs:
- name: Create virtual environment and install wheels
run: |
- uv venv
+ # Use Python 3.13 explicitly (Arch has Python 3.14 which PyO3/tokenizers doesn't support yet)
+ uv python install 3.13
+ uv venv --python 3.13
source .venv/bin/activate || source .venv/Scripts/activate
uv pip install --find-links wheels leann-core
uv pip install --find-links wheels leann-backend-hnsw