From cf33475cdaefa873546129d475b362e420a6f5c1 Mon Sep 17 00:00:00 2001 From: Many Kasiriha Date: Mon, 16 Nov 2026 09:26:27 +0100 Subject: [PATCH] fix(eval): sut-platynui fixture requires Python 3.12 PlatynUI 0.12.0.dev330 needs Python 3.12+, but the fixture declared requires-python >=3.10. uv then can't resolve the project, so `uv run` in an eval workspace fails and agents can't use the fixture's own environment. Raise the floor to 3.12 and add a test for it. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01FHEmzL3ErAhGQykKWDx2wP --- eval/fixtures/sut-platynui/pyproject.toml | 2 +- tests/eval/test_eval_content.py | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) 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")