deps: add postgres drivers + sse-starlette + restructure requirements
- asyncpg + psycopg2-binary: same fix as gex-llm — service had DATABASE_URL and alembic env.py but no postgres driver installed - sse-starlette: imported by app.py but never declared; the running container had it from a prior manual pip install. Rebuilding the image from canonical requirements dropped it and crashed the container with ModuleNotFoundError on startup. Bundles a pre-existing uncommitted restructuring of requirements.txt into pinned + categorized groups (Core, LLM Clients, Data, Analysis, Database, CLI & UI, Testing, Utilities). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
2e37bc117d
commit
9550cea393
|
|
@ -1,23 +1,55 @@
|
||||||
typing-extensions
|
# TradingAgents - Production Requirements
|
||||||
langchain-core
|
# Core
|
||||||
langchain-openai
|
fastapi>=0.109.0
|
||||||
langchain-experimental
|
uvicorn[standard]>=0.27.0
|
||||||
pandas
|
sse-starlette>=2.1.0
|
||||||
yfinance
|
pydantic>=2.0.0
|
||||||
stockstats
|
python-dotenv>=1.0.0
|
||||||
langgraph
|
httpx>=0.27.0
|
||||||
rank-bm25
|
|
||||||
setuptools
|
# LLM Clients
|
||||||
requests
|
openai>=1.0.0
|
||||||
alpaca-py
|
anthropic>=0.40.0
|
||||||
tqdm
|
ollama>=0.4.0
|
||||||
pytz
|
langchain-core>=0.3.0
|
||||||
fastapi
|
langchain-openai>=0.2.0
|
||||||
uvicorn[standard]
|
langchain-anthropic>=0.2.0
|
||||||
sse-starlette
|
langchain-google-genai>=2.0.0
|
||||||
langchain_anthropic
|
langgraph>=0.2.0
|
||||||
langchain-google-genai
|
|
||||||
typer
|
# Data
|
||||||
rich
|
pandas>=2.1.0
|
||||||
python-dotenv
|
numpy>=1.26.0
|
||||||
questionary
|
yfinance>=0.2.0
|
||||||
|
alpaca-py>=0.20.0
|
||||||
|
|
||||||
|
# Analysis
|
||||||
|
scikit-learn>=1.4.0
|
||||||
|
scipy>=1.12.0
|
||||||
|
stockstats>=0.5.0
|
||||||
|
rank-bm25>=0.2.2
|
||||||
|
|
||||||
|
# Database (runtime + migrations)
|
||||||
|
alembic>=1.13.0
|
||||||
|
SQLAlchemy>=2.0.0
|
||||||
|
asyncpg>=0.30.0
|
||||||
|
psycopg2-binary>=2.9.9
|
||||||
|
|
||||||
|
# Circuit breaker support
|
||||||
|
redis>=5.0.0
|
||||||
|
requests>=2.31.0
|
||||||
|
|
||||||
|
# CLI & UI
|
||||||
|
typer>=0.12.0
|
||||||
|
rich>=13.0.0
|
||||||
|
questionary>=2.0.0
|
||||||
|
|
||||||
|
# Testing
|
||||||
|
pytest>=8.0.0
|
||||||
|
pytest-asyncio>=0.23.0
|
||||||
|
pytest-cov>=4.1.0
|
||||||
|
|
||||||
|
# Utilities
|
||||||
|
tqdm>=4.66.0
|
||||||
|
pytz>=2024.0
|
||||||
|
setuptools>=69.0.0
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue