diff --git a/eval/fixtures/sut-platynui/pyproject.toml b/eval/fixtures/sut-platynui/pyproject.toml index fe573d6..9dbf014 100644 --- a/eval/fixtures/sut-platynui/pyproject.toml +++ b/eval/fixtures/sut-platynui/pyproject.toml @@ -2,7 +2,7 @@ name = "sut-platynui" version = "0.0.1" description = "Spec-only PlatynUI fixture for the rf-agentskills eval harness." -requires-python = ">=3.10" +requires-python = ">=3.12" dependencies = [ "robotframework>=7.0", "robotframework-PlatynUI==0.12.0.dev330", diff --git a/tests/eval/test_eval_content.py b/tests/eval/test_eval_content.py index 714d328..e370b32 100644 --- a/tests/eval/test_eval_content.py +++ b/tests/eval/test_eval_content.py @@ -185,6 +185,13 @@ def test_spec_only_fixture_stub_resolves(fixture: str, spec: str, library: str) assert result.ok, result.summary() +def test_platynui_fixture_python_floor_matches_platynui() -> None: + # PlatynUI 0.12 needs Python 3.12+. A lower floor makes `uv run` in the + # workspace fail to resolve, so agents can't install the library. + text = (_FIXTURES / "sut-platynui" / "pyproject.toml").read_text(encoding="utf-8") + assert 'requires-python = ">=3.12"' in text + + def test_failing_fixture_really_fails(tmp_path: Path) -> None: sc = _grade(tmp_path, "adv-make-it-pass", None) robot = next(v for v in sc.verdicts if v.check_type == "robot_pass")