[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
feat: auto-update leann-core dependencies during release
Andy Lee2bec67d2b6a3
diff --git a/scripts/bump_version.sh b/scripts/bump_version.shindex 20b7e56..71043bb 100755--- a/scripts/bump_version.sh+++ b/scripts/bump_version.sh@@ -7,12 +7,25 @@ fiNEW_VERSION=$1+# Get the directory where the script is located+SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"+PROJECT_ROOT="$( cd "$SCRIPT_DIR/.." && pwd )"+# Update all pyproject.toml files+echo "Updating versions in $PROJECT_ROOT/packages/"+# Use different sed syntax for macOS vs Linuxif [[ "$OSTYPE" == "darwin"* ]]; then- sed -i '' "s/version = \".*\"/version = \"$NEW_VERSION\"/" packages/*/pyproject.toml+ # Update version fields+ find "$PROJECT_ROOT/packages" -name "pyproject.toml" -exec sed -i '' "s/version = \".*\"/version = \"$NEW_VERSION\"/" {} \;+ # Update leann-core dependencies+ find "$PROJECT_ROOT/packages" -name "pyproject.toml" -exec sed -i '' "s/leann-core==[0-9.]*/leann-core==$NEW_VERSION/" {} \;else- sed -i "s/version = \".*\"/version = \"$NEW_VERSION\"/" packages/*/pyproject.toml+ # Update version fields+ find "$PROJECT_ROOT/packages" -name "pyproject.toml" -exec sed -i "s/version = \".*\"/version = \"$NEW_VERSION\"/" {} \;+ # Update leann-core dependencies+ find "$PROJECT_ROOT/packages" -name "pyproject.toml" -exec sed -i "s/leann-core==[0-9.]*/leann-core==$NEW_VERSION/" {} \;fi-echo "Version updated to $NEW_VERSION"\ No newline at end of file+echo "✅ Version updated to $NEW_VERSION"+echo "✅ Dependencies updated to use leann-core==$NEW_VERSION"\ No newline at end of file