Upgrade tenacity to respect min time for exponential backoff

Fix for issue is in tenacity 9.0.0. But older langchain required
tenacity <0.9.0.

Explicitly pin version of langchain sub packages to avoid indexing
and doc parsing breakage.
This commit is contained in:
Debanjum
2025-05-17 14:21:47 -07:00
parent 988bde651c
commit fd591c6e6c
11 changed files with 13 additions and 14 deletions

View File

@@ -44,7 +44,7 @@ dependencies = [
"jinja2 == 3.1.6",
"openai >= 1.0.0",
"tiktoken >= 0.3.2",
"tenacity >= 8.2.2",
"tenacity >= 9.0.0",
"magika ~= 0.5.1",
"pillow ~= 10.0.0",
"pydantic[email] >= 2.0.0",
@@ -57,10 +57,9 @@ dependencies = [
"torch == 2.6.0",
"uvicorn == 0.30.6",
"aiohttp ~= 3.9.0",
"langchain == 0.2.5",
"langchain-community == 0.2.5",
"langchain-text-splitters == 0.3.1",
"langchain-community == 0.3.3",
"requests >= 2.26.0",
"tenacity == 8.3.0",
"anyio ~= 4.8.0",
"pymupdf == 1.24.11",
"django == 5.1.8",