From 570f168a7877079e62c9a3436c5547c7306820c7 Mon Sep 17 00:00:00 2001 From: Krzysztof kuhy Rudnicki Date: Fri, 28 Aug 2026 16:00:40 +0200 Subject: [PATCH] Run the gate workflow on the newest Python, not a pinned minor Co-Authored-By: Claude Opus 5 (1M context) --- dep_freshness/templates/workflow.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dep_freshness/templates/workflow.yml b/dep_freshness/templates/workflow.yml index e3f46ac..23a0a73 100644 --- a/dep_freshness/templates/workflow.yml +++ b/dep_freshness/templates/workflow.yml @@ -37,10 +37,15 @@ jobs: repository: kuhyx/utils path: .utils + # "3.x", never a pinned minor: the Python target IS the interpreter the + # gate runs under (registries/toolchain.python_installed), so a runner + # held a release behind this machine reports a repo's `requires-python` + # as excluding "latest" while the same check passes locally. flax-docs-mcp + # hit exactly that -- `>=3.14` green here, red on a 3.13 runner. - name: Set up Python uses: actions/setup-python@v5 with: - python-version: "3.13" + python-version: "3.x" - name: Install the gate's two runtime dependencies run: python -m pip install --upgrade pyyaml packaging