Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions backend/requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
30 changes: 15 additions & 15 deletions backend/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,43 +20,43 @@
# pandas + numpy + beautifulsoup4 (yfinance)

# FastAPI and Server
fastapi==0.115.0
uvicorn[standard]==0.22.0
python-multipart==0.0.32
fastapi==0.165.0
uvicorn[standard]==0.54.0
python-multipart==0.0.34

# Database
sqlalchemy==2.1.1
pymysql==1.2.3
sqlalchemy==2.1.9
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.4
langchain-openai==1.8.5
openai==3.57.0

# Validation
pydantic==2.10.0
pydantic-settings==2.12.0
pydantic==2.14.4
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
# zoneinfo needs a timezone database: slim images ship without system tzdata,
# 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
Loading