fix(deps): declare psutil in requirements.txt — green API Documentation CI

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.
This commit is contained in:
ruv 2026-06-02 12:11:55 +02:00
parent 4856afbd0c
commit e239af3636
1 changed files with 1 additions and 0 deletions

View File

@ -36,3 +36,4 @@ scikit-learn>=1.2.0
# Monitoring dependencies # Monitoring dependencies
prometheus-client>=0.16.0 prometheus-client>=0.16.0
psutil>=5.9.0 # system metrics — imported by health.py / metrics.py / status.py / monitoring.py