diff --git a/backend/requirements-dev.txt b/backend/requirements-dev.txt index 1a061c6..b10115b 100644 --- a/backend/requirements-dev.txt +++ b/backend/requirements-dev.txt @@ -4,12 +4,12 @@ # encoding on Windows, so non-ASCII comments abort installation. # # Install with: pip install -r requirements.txt -r requirements-dev.txt -pytest>=8.0.0 -pytest-asyncio>=0.23.0 -pytest-cov>=5.0.0 +pytest>=9.2.0 +pytest-asyncio>=1.5.0 +pytest-cov>=7.1.0 # The quant backtest tests (tests/unit/quant/test_backtest*.py) hit pandas' # correlation paths, which import scipy.stats; without scipy they fail with # ModuleNotFoundError. Pinned to the version the suite was run against, same # policy as requirements.txt. -scipy==1.17.0 +scipy==1.17.1 diff --git a/backend/requirements.txt b/backend/requirements.txt index fb1a450..d7c4800 100644 --- a/backend/requirements.txt +++ b/backend/requirements.txt @@ -20,31 +20,31 @@ # pandas + numpy + beautifulsoup4 (yfinance) # FastAPI and Server -fastapi==0.115.0 -uvicorn[standard]==0.22.0 -python-multipart==0.0.32 +fastapi==0.163.1 +uvicorn[standard]==0.54.0 +python-multipart==0.0.34 # Database -sqlalchemy==2.1.1 -pymysql==1.2.3 +sqlalchemy==2.1.8 +pymysql==1.2.4 # LLM (all clients are built by app/services/llm_provider.py) -langchain-core==1.2.7 -langchain-openai==1.1.6 -openai==2.54.0 +langchain-core==1.8.1 +langchain-openai==1.8.0 +openai==3.51.0 # Validation -pydantic==2.10.0 -pydantic-settings==2.12.0 +pydantic==2.14.3 +pydantic-settings==2.16.3 # External Data -yfinance==1.7.0 +yfinance==1.8.0 requests==2.34.2 feedparser==6.0.14 # GPR official daily index is a legacy .xls workbook; xlrd 2.x reads exactly # that format (and nothing else), so it stays pinned alongside the other # external-data clients. -xlrd==2.0.1 +xlrd==2.0.2 # Scheduler apscheduler==3.11.3 @@ -52,11 +52,11 @@ apscheduler==3.11.3 # and without it Asia/Shanghai cannot be loaded. Locally it arrives via # pandas/tzlocal, but the production container installs only this file, so it # has to be listed explicitly. -tzdata==2026.4 +tzdata==2026.6 # Utilities -python-dotenv==1.2.3 -loguru==0.7.3 +python-dotenv==1.2.4 +loguru==0.8.0 # [socks] pulls in socksio. If the host sets a SOCKS proxy, httpx raises while # building a client without it, which makes every LLM call fail (see LLM_TRUST_ENV). httpx[socks]==0.28.1