From 6920fed97e805224e94c6ecdeb80bc91efebfb76 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Thu, 25 Sep 2025 14:53:21 -0500 Subject: [PATCH] refac --- backend/requirements.txt | 38 ++++++++++++++++++++------------------ pyproject.toml | 3 ++- 2 files changed, 22 insertions(+), 19 deletions(-) diff --git a/backend/requirements.txt b/backend/requirements.txt index cb90cf1c8e..27e0c24cb7 100644 --- a/backend/requirements.txt +++ b/backend/requirements.txt @@ -8,6 +8,10 @@ python-socketio==5.13.0 python-jose==3.4.0 passlib[bcrypt]==1.7.4 cryptography +bcrypt==4.3.0 +argon2-cffi==25.1.0 +PyJWT[crypto]==2.10.1 +authlib==1.6.3 requests==2.32.5 aiohttp==3.12.15 @@ -22,41 +26,42 @@ sqlalchemy==2.0.38 alembic==1.14.0 peewee==3.18.1 peewee-migrate==1.12.2 -psycopg2-binary==2.9.10 -pgvector==0.4.1 -PyMySQL==1.1.1 -bcrypt==4.3.0 - -pymongo -redis -boto3==1.40.5 - -argon2-cffi==25.1.0 -APScheduler==3.10.4 pycrdt==0.12.25 +redis +pymongo + +psycopg2-binary==2.9.10 +pgvector==0.4.1 + +PyMySQL==1.1.1 +boto3==1.40.5 + +APScheduler==3.10.4 RestrictedPython==8.0 loguru==0.7.3 asgiref==3.8.1 # AI libraries +tiktoken +mcp==1.14.1 + openai anthropic google-genai==1.38.0 google-generativeai==0.8.5 -tiktoken -mcp==1.14.1 langchain==0.3.27 langchain-community==0.3.29 fake-useragent==2.2.0 chromadb==1.0.20 +opensearch-py==2.8.0 + pymilvus==2.5.0 qdrant-client==1.14.3 -opensearch-py==2.8.0 playwright==1.49.1 # Caution: version must match docker-compose.playwright.yaml elasticsearch==9.1.0 pinecone==6.0.2 @@ -66,10 +71,10 @@ av==14.0.1 # Caution: Set due to FATAL FIPS SELFTEST FAILURE, see discussion htt transformers sentence-transformers==5.1.1 accelerate -colbert-ai==0.2.21 pyarrow==20.0.0 # fix: pin pyarrow version to 20 for rpi compatibility #15897 einops==0.8.1 +colbert-ai==0.2.21 ftfy==6.2.3 pypdf==6.0.0 @@ -97,11 +102,8 @@ rapidocr-onnxruntime==1.4.4 rank-bm25==0.2.2 onnxruntime==1.20.1 - faster-whisper==1.1.1 -PyJWT[crypto]==2.10.1 -authlib==1.6.3 black==25.1.0 youtube-transcript-api==1.2.2 diff --git a/pyproject.toml b/pyproject.toml index 98e0f860a0..7378d3d287 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,7 +17,7 @@ dependencies = [ "passlib[bcrypt]==1.7.4", "cryptography", "bcrypt==4.3.0", - "argon2-cffi==23.1.0", + "argon2-cffi==25.1.0", "PyJWT[crypto]==2.10.1", "authlib==1.6.3", @@ -28,6 +28,7 @@ dependencies = [ "aiofiles", "starlette-compress==1.6.0", "httpx[socks,http2,zstd,cli,brotli]==0.28.1", + "starsessions[redis]==2.2.1", "sqlalchemy==2.0.38", "alembic==1.14.0",