Files
AutoGPT/classic/direct_benchmark/pyproject.toml
Nicholas Tindle f07dff1cdd fix(direct_benchmark): add pytest dependency for challenge evaluation
The TicTacToe and other challenges use pytest-based test files for
evaluation. Without pytest installed in the benchmark virtualenv,
these evaluations were silently failing.

Root cause: test.py imports pytest but the package wasn't a dependency,
causing ModuleNotFoundError during evaluation subprocess.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-20 00:21:12 -06:00

43 lines
1.0 KiB
TOML

[tool.poetry]
name = "direct-benchmark"
version = "0.1.0"
authors = ["Significant Gravitas <support@agpt.co>"]
description = "Direct benchmark harness for AutoGPT - parallel execution without HTTP server"
readme = "README.md"
packages = [{ include = "direct_benchmark" }]
[tool.poetry.scripts]
direct-benchmark = "direct_benchmark.__main__:main"
[tool.poetry.dependencies]
python = "^3.12"
# Core dependencies
autogpt-forge = { path = "../forge", develop = true }
autogpt = { path = "../original_autogpt", develop = true }
click = "^8.0"
pydantic = "^2.7.2"
rich = "^13.0"
# Required for evaluating challenges that use pytest-based tests
pytest = "^8.0"
[tool.poetry.group.dev.dependencies]
black = "^23.12.1"
isort = "^5.13.0"
pyright = "^1.1.0"
[tool.black]
line-length = 88
target-version = ['py312']
[tool.isort]
profile = "black"
src_paths = ["direct_benchmark"]
[tool.pyright]
pythonVersion = "3.12"
typeCheckingMode = "basic"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"