diff --git a/pyproject.toml b/pyproject.toml index 3d1ad7d..fc0479d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,51 +7,51 @@ license = "MIT" requires-python = ">=3.12" dependencies = [ # Runtime stack (mirrors requirements_ci.txt; pyproject.toml is the single source of truth). - "fastapi>=0.115.8,<0.140", - "starlette>=0.40.0,<0.42", - "uvicorn[standard]==0.30.6", - "sqlalchemy[asyncio]==2.0.35", - "asyncpg==0.29.0", - "alembic==1.13.2", - "redis==5.1.0", - "arq==0.26.1", + "fastapi>=0.115.8,<0.164", + "starlette>=0.40.0,<1.11", + "uvicorn[standard]==0.54.0", + "sqlalchemy[asyncio]==2.1.8", + "asyncpg==0.32.0", + "alembic==1.20.1", + "redis==8.1.0", + "arq==0.28.0", "anthropic>=0.49.0", "openai>=1.50.0", "instructor>=0.6.0", "google-genai>=1.0.0", - "opencv-python-headless==4.10.0.84", + "opencv-python-headless==5.0.0.93", "pytesseract==0.3.13", - "pdfplumber==0.11.4", - "pymupdf==1.24.11", - "boto3==1.35.42", - "pydantic-settings==2.5.2", - "pydantic==2.9.2", + "pdfplumber==0.11.10", + "pymupdf==2.1", + "boto3==1.44.3", + "pydantic-settings==2.16.3", + "pydantic==2.14.3", "PyYAML>=6.0", "filetype==1.2.0", "python-multipart>=0.0.22", - "sse-starlette==2.1.3", - "httpx==0.27.2", - "eml-parser==1.17.5", - "extract-msg==0.52.0", - "pgvector==0.3.5", + "sse-starlette==3.7.0", + "httpx==0.28.1", + "eml-parser==4.7.0", + "extract-msg==0.58.2", + "pgvector==0.5.1", "cryptography>=46.0.6", "streamlit>=1.54.0", "streamlit-extras>=0.4.0", - "plotly==5.24.1", - "locust==2.32.1", - "pytest==8.3.3", - "pytest-asyncio==0.24.0", - "anyio==4.14.2", - "fakeredis==2.26.1", - "respx==0.21.1", - "aiosqlite==0.20.0", - "ruff==0.6.9", - "mypy==1.11.2", - "pytest-cov==5.0.0", + "plotly==7.1.0", + "locust==2.47.0", + "pytest==9.2.0", + "pytest-asyncio==1.5.0", + "anyio==4.16.0", + "fakeredis==2.40.0", + "respx==0.23.1", + "aiosqlite==0.22.1", + "ruff==0.17.5", + "mypy==2.4.1", + "pytest-cov==7.1.0", "mcp>=1.0", "rank-bm25>=0.2.2", "networkx>=3.3", - "scikit-learn>=1.5.0,<1.6", + "scikit-learn>=1.5.0,<1.10", "pandas>=2.0.0", "aiofiles>=24.0.0", "opentelemetry-api>=1.27.0", diff --git a/requirements_ci.txt b/requirements_ci.txt index cc8e923..7cfff33 100644 --- a/requirements_ci.txt +++ b/requirements_ci.txt @@ -1,50 +1,50 @@ # CI test job -- lean install, no torch/deepeval (~2 min cold vs ~25 min with requirements_full.txt). # Full stack (dev, evals, ML training): requirements_full.txt -fastapi>=0.115.8,<0.140 -starlette>=0.47.0,<0.48 -uvicorn[standard]==0.30.6 -sqlalchemy[asyncio]==2.0.35 -asyncpg==0.29.0 -alembic==1.13.2 -redis==5.1.0 -arq==0.26.1 +fastapi>=0.115.8,<0.164 +starlette>=0.47.0,<1.11 +uvicorn[standard]==0.54.0 +sqlalchemy[asyncio]==2.1.8 +asyncpg==0.32.0 +alembic==1.20.1 +redis==8.1.0 +arq==0.28.0 anthropic>=0.49.0 openai>=1.50.0 instructor>=0.6.0 google-genai>=1.0.0 -opencv-python-headless==4.10.0.84 +opencv-python-headless==5.0.0.93 pytesseract==0.3.13 -pdfplumber==0.11.4 -pymupdf==1.24.11 -boto3==1.35.42 -pydantic-settings==2.5.2 -pydantic==2.9.2 +pdfplumber==0.11.10 +pymupdf==2.1 +boto3==1.44.3 +pydantic-settings==2.16.3 +pydantic==2.14.3 PyYAML>=6.0 filetype==1.2.0 python-multipart>=0.0.22 -sse-starlette==2.1.3 -httpx==0.27.2 -eml-parser==1.17.5 -extract-msg==0.52.0 -pgvector==0.3.5 +sse-starlette==3.7.0 +httpx==0.28.1 +eml-parser==4.7.0 +extract-msg==0.58.2 +pgvector==0.5.1 cryptography>=46.0.6 streamlit>=1.54.0 streamlit-extras>=0.4.0 -plotly==5.24.1 -locust==2.32.1 -pytest==8.3.3 -pytest-asyncio==0.24.0 -anyio==4.14.2 -fakeredis==2.26.1 -respx==0.21.1 -aiosqlite==0.20.0 -ruff==0.6.9 -mypy==1.11.2 -pytest-cov==5.0.0 +plotly==7.1.0 +locust==2.47.0 +pytest==9.2.0 +pytest-asyncio==1.5.0 +anyio==4.16.0 +fakeredis==2.40.0 +respx==0.23.1 +aiosqlite==0.22.1 +ruff==0.17.5 +mypy==2.4.1 +pytest-cov==7.1.0 mcp>=1.0 rank-bm25>=0.2.2 networkx>=3.3 -scikit-learn>=1.5.0,<1.6 +scikit-learn>=1.5.0,<1.10 pandas>=2.0.0 aiofiles>=24.0.0 opentelemetry-api>=1.27.0 diff --git a/requirements_demo.txt b/requirements_demo.txt index 4504503..080cbd2 100644 --- a/requirements_demo.txt +++ b/requirements_demo.txt @@ -3,4 +3,4 @@ # This file covers only what streamlit_demo.py needs. streamlit>=1.54.0 streamlit-extras>=0.4.0 -plotly==5.24.1 +plotly==7.1.0 diff --git a/requirements_full.txt b/requirements_full.txt index 037b72b..fdc6515 100644 --- a/requirements_full.txt +++ b/requirements_full.txt @@ -1,50 +1,50 @@ # Full development stack -- includes ML training (deepeval, ragas, langchain) and all optional deps. # CI uses requirements_ci.txt (excludes torch). Streamlit Cloud uses requirements.txt. -fastapi>=0.115.8,<0.140 -starlette>=0.47.0,<0.48 -uvicorn[standard]==0.30.6 -sqlalchemy[asyncio]==2.0.35 -asyncpg==0.29.0 -alembic==1.13.2 -redis==5.1.0 -arq==0.26.1 +fastapi>=0.115.8,<0.164 +starlette>=0.47.0,<1.11 +uvicorn[standard]==0.54.0 +sqlalchemy[asyncio]==2.1.8 +asyncpg==0.32.0 +alembic==1.20.1 +redis==8.1.0 +arq==0.28.0 anthropic>=0.49.0 openai>=1.50.0 instructor>=0.6.0 google-genai>=1.0.0 -opencv-python-headless==4.10.0.84 +opencv-python-headless==5.0.0.93 pytesseract==0.3.13 -pdfplumber==0.11.4 -pymupdf==1.24.11 -boto3==1.35.42 -pydantic-settings==2.5.2 -pydantic==2.9.2 +pdfplumber==0.11.10 +pymupdf==2.1 +boto3==1.44.3 +pydantic-settings==2.16.3 +pydantic==2.14.3 PyYAML>=6.0 filetype==1.2.0 python-multipart>=0.0.22 -sse-starlette==2.1.3 -httpx==0.27.2 -eml-parser==1.17.5 -extract-msg==0.52.0 -pgvector==0.3.5 +sse-starlette==3.7.0 +httpx==0.28.1 +eml-parser==4.7.0 +extract-msg==0.58.2 +pgvector==0.5.1 cryptography>=46.0.6 streamlit>=1.54.0 streamlit-extras>=0.4.0 -plotly==5.24.1 -locust==2.32.1 -pytest==8.3.3 -pytest-asyncio==0.24.0 -anyio==4.14.2 -fakeredis==2.26.1 -respx==0.21.1 -aiosqlite==0.20.0 -ruff==0.6.9 -mypy==1.11.2 -pytest-cov==5.0.0 +plotly==7.1.0 +locust==2.47.0 +pytest==9.2.0 +pytest-asyncio==1.5.0 +anyio==4.16.0 +fakeredis==2.40.0 +respx==0.23.1 +aiosqlite==0.22.1 +ruff==0.17.5 +mypy==2.4.1 +pytest-cov==7.1.0 mcp>=1.0 rank-bm25>=0.2.2 networkx>=3.3 -scikit-learn>=1.5.0,<1.6 +scikit-learn>=1.5.0,<1.10 pandas>=2.0.0 aiofiles>=24.0.0 opentelemetry-api>=1.27.0 @@ -58,11 +58,11 @@ langfuse>=4.2.0 braintrust>=0.26.0 deepeval>=3.0.0 ragas>=0.4.3 -langchain-anthropic>=0.3.0 -datasets>=2.14.0 +langchain-anthropic>=1.7.10 +datasets>=5.2.0 opentelemetry-instrumentation-anthropic>=0.48b0 structlog>=24.0.0 # Experiment tracking (optional - set WANDB_API_KEY to enable) -wandb>=0.16.0 +wandb>=0.31.0 fpdf2>=2.7.0