Skip to content

Commit 03cb00b

Browse files
committed
fix(release): pin builtin models floor
1 parent 35a6d10 commit 03cb00b

2 files changed

Lines changed: 12 additions & 1 deletion

File tree

evaluators/builtin/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ requires-python = ">=3.12"
77
license = { text = "Apache-2.0" }
88
authors = [{ name = "Agent Control Team" }]
99
dependencies = [
10-
"agent-control-models",
10+
"agent-control-models>=7.5.0",
1111
"pydantic>=2.12.4",
1212
"google-re2>=1.1",
1313
"jsonschema>=4.0.0",

scripts/tests/test_build.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import sys
2+
import tomllib
23
from pathlib import Path
34

45
SCRIPTS_DIR = Path(__file__).resolve().parents[1]
@@ -50,3 +51,13 @@ def test_sync_dependency_floors_updates_internal_minimums(tmp_path: Path) -> Non
5051
galileo = ["agent-control-evaluator-galileo>=7.6.0"]
5152
""".strip()
5253
)
54+
55+
56+
def test_builtin_evaluators_manifest_keeps_models_floor_rewritable() -> None:
57+
builtin_pyproject = SCRIPTS_DIR.parent / "evaluators" / "builtin" / "pyproject.toml"
58+
with builtin_pyproject.open("rb") as handle:
59+
manifest = tomllib.load(handle)
60+
61+
dependencies = manifest["project"]["dependencies"]
62+
63+
assert "agent-control-models>=7.5.0" in dependencies

0 commit comments

Comments
 (0)