Depend on unstructured[xlsx] so spreadsheet ingest has required deps.
CI / test (pull_request) Successful in 11s
Unit Tests / test (pull_request) Successful in 10s

Bare unstructured omits networkx/msoffcrypto/xlrd; xlsx partition then
crashes reindex. The [xlsx] extra is the supported install path.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-02 13:56:21 -05:00
co-authored by Cursor
parent 8ff3ad83d1
commit f0b8973334
2 changed files with 36 additions and 6 deletions
+3 -2
View File
@@ -31,7 +31,9 @@ dependencies = [
# Supported: langgraph>=1.2.5,<1.3 (matches langchain 1.3.x).
"langgraph>=1.2.5,<1.3.0",
"chromadb==1.3.5",
"unstructured==0.18.21",
# Fallback loader uses UnstructuredFileLoader; xlsx partition needs the
# [xlsx] extra (networkx, msoffcrypto-tool, xlrd, openpyxl, pandas).
"unstructured[xlsx]==0.18.21",
"pypdf==6.4.0",
"python-docx==1.2.0",
"docx2txt==0.8",
@@ -47,7 +49,6 @@ dependencies = [
"python-dateutil==2.9.0.post0",
"pytz==2025.2",
"stripe>=12.0.0,<14.0.0",
"networkx>=3.0,<4",
]
[dependency-groups]