# Runtime dependencies for the brain_api container.
# Pinned to minor versions that match the local dev venv we validated against.
# If you bump one, rebuild the image and re-run scripts/09_brain_api_demo.py.

# Web framework
fastapi>=0.135,<0.140
uvicorn>=0.44,<0.50

# HTTP client (used by every shared client)
httpx>=0.28,<0.30

# Config / validation
pydantic>=2.12,<3.0
pydantic-settings>=2.13,<3.0
python-dotenv>=1.2,<2.0

# Retries
tenacity>=9.1,<10.0

# Logging + pretty console
structlog>=25.5,<26.0
rich>=14.3,<15.0

# PostgreSQL (verification cache)
asyncpg>=0.30,<0.32

# Observability — Prometheus metrics + OpenTelemetry traces
prometheus-fastapi-instrumentator>=7.0,<8.0
opentelemetry-instrumentation-fastapi>=0.50b0
opentelemetry-instrumentation-asyncpg>=0.50b0
opentelemetry-instrumentation-httpx>=0.50b0
opentelemetry-exporter-otlp-proto-grpc>=1.30.0
