mirror of
https://github.com/ruvnet/RuView
synced 2026-06-09 10:13:17 +00:00
e239af3636
The API Documentation job (and any env without locust) failed with `ModuleNotFoundError: No module named 'psutil'` when importing the app: psutil is imported by src/api/routers/health.py, services/metrics.py, commands/status.py, and tasks/monitoring.py, but was never declared as a dependency — it only happened to be present where locust (Performance Tests) pulled it in transitively. Declare it explicitly (psutil>=5.9.0). Verified locally: `from src.api.main import app; app.openapi()` (the exact docs-job operation) now succeeds.
40 lines
740 B
Plaintext
40 lines
740 B
Plaintext
# Core dependencies
|
|
numpy>=1.21.0
|
|
scipy>=1.7.0
|
|
torch>=1.12.0
|
|
torchvision>=0.13.0
|
|
|
|
# API dependencies
|
|
fastapi>=0.95.0
|
|
uvicorn>=0.20.0
|
|
websockets>=15.0.1
|
|
pydantic>=1.10.0
|
|
python-jose[cryptography]>=3.3.0
|
|
python-multipart>=0.0.6
|
|
passlib[bcrypt]>=1.7.4
|
|
httpx>=0.24.0
|
|
pydantic-settings>=2.0.0
|
|
|
|
# Database dependencies
|
|
sqlalchemy>=2.0.0
|
|
asyncpg>=0.28.0
|
|
aiosqlite>=0.22.1
|
|
redis>=4.5.0
|
|
|
|
# CLI dependencies
|
|
click>=8.0.0
|
|
alembic>=1.10.0
|
|
|
|
# Hardware interface dependencies
|
|
asyncio-mqtt>=0.16.2
|
|
aiohttp>=3.13.5
|
|
paramiko>=3.0.0
|
|
|
|
# Data processing dependencies
|
|
opencv-python>=4.7.0
|
|
scikit-learn>=1.2.0
|
|
|
|
# Monitoring dependencies
|
|
prometheus-client>=0.16.0
|
|
psutil>=5.9.0 # system metrics — imported by health.py / metrics.py / status.py / monitoring.py
|