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(deps): pin pymupdf below 2.0 (#438)

Aakash Suresh0710a9e136a8
diff --git a/packages/leann-core/pyproject.toml b/packages/leann-core/pyproject.toml
index c9040e0..bbb67d2 100644
--- a/packages/leann-core/pyproject.toml
+++ b/packages/leann-core/pyproject.toml
@@ -35,7 +35,7 @@ dependencies = [
"requests>=2.25.0",
"accelerate>=0.20.0",
"PyPDF2>=3.0.0",
- "pymupdf>=1.23.0",
+ "pymupdf>=1.23.0,<2",
"pdfplumber>=0.10.0",
"nbconvert>=7.0.0", # For .ipynb file support
"gitignore-parser>=0.1.12", # For proper .gitignore handling
diff --git a/pyproject.toml b/pyproject.toml
index f96b96d..c8dec75 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -30,7 +30,7 @@ dependencies = [
# PDF parsing dependencies - essential for document processing
"PyPDF2>=3.0.0",
"pdfplumber>=0.11.0",
- "pymupdf>=1.26.0",
+ "pymupdf>=1.26.0,<2",
"pypdfium2>=4.30.0",
# LlamaIndex core and readers - updated versions
"llama-index>=0.12.44",