Nomearod Claude Opus 4.6 (1M context) commited on
Commit
47c5b20
·
1 Parent(s): 7a93bae

fix(ci): declare psutil runtime dependency

Browse files

CI on main broke after PR #10 merge because agent_bench/serving/app.py
imports psutil unconditionally (used at line 111 for multi-corpus RSS
baseline logging) but psutil was never added to pyproject.toml
dependencies. Local test runs passed because psutil was installed in
the project's Python site-packages from some earlier ad-hoc install;
CI's fresh `pip install -e ".[dev]"` did not pick it up, producing
ModuleNotFoundError at test collection for three test modules that
import agent_bench.serving.app.

psutil.Process() and memory_info() are stable since psutil 5.x, so
`>=5.9.0` is a safe floor matching the style of the other declared
runtime deps.

Verified with full `pytest tests/` — 443 passed (same count as before
the CI break), no regressions.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

Files changed (1) hide show
  1. pyproject.toml +1 -0
pyproject.toml CHANGED
@@ -18,6 +18,7 @@ dependencies = [
18
  "httpx>=0.27.0",
19
  "simpleeval>=1.0.0",
20
  "numpy>=1.26.0",
 
21
  "langchain>=0.2.0,<1.0.0",
22
  "langchain-openai>=0.1.0",
23
  "langchain-anthropic>=0.1.0",
 
18
  "httpx>=0.27.0",
19
  "simpleeval>=1.0.0",
20
  "numpy>=1.26.0",
21
+ "psutil>=5.9.0",
22
  "langchain>=0.2.0,<1.0.0",
23
  "langchain-openai>=0.1.0",
24
  "langchain-anthropic>=0.1.0",