utils/dep_freshness
Krzysztof kuhy Rudnicki 08a4010a16
Some checks failed
dependency freshness / dependencies on newest stable (push) Has been cancelled
file length / file-length (push) Has been cancelled
md-naming / markdown naming convention (push) Has been cancelled
palette drift / palette (push) Has been cancelled
repo-contract / repo contract (push) Has been cancelled
shared gate tests / gate unit tests (push) Has been cancelled
dep_freshness: Python's latest is python.org's newest release, not the interpreter
toolchain:python's "latest" was platform.python_version(), so the verdict
depended on the machine running the gate: setup-python "3.x" gave kuhyx/spellcode
3.15.0 on one runner and 3.14.8 on another, making its transitive:pyodide
allowlist entry dead (exit 2) on one and required (exit 1) on the other.

Now registries/toolchain.python_latest() reads python.org's release API
(is_published, pre_release=false), keeps only exact "Python X.Y.Z" names (the
feed also lists "Python install manager 26.4"), and takes the newest stable.

The never_cached() carve-out is gone: it existed because a cached
*interpreter* version from an older runner image (3.13.15) was served to a
3.14.7 job in screen-locker's CI. A registry answer is safe to cache, so
python now goes through the normal TTL cache, prefetch, and offline fallback
(expired cache -> DEGRADED; no cache -> unavailable), never the local
interpreter.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01A4VrLZn9YjhPuoxTj54WKk
2026-10-20 22:39:25 +02:00
..
parsers dep_freshness: gittag looks up tags in the dependency's own repo 2026-10-19 12:56:36 +02:00
registries dep_freshness: Python's latest is python.org's newest release, not the interpreter 2026-10-20 22:39:25 +02:00
templates dep_freshness: Python's latest is python.org's newest release, not the interpreter 2026-10-20 22:39:25 +02:00
tests dep_freshness: Python's latest is python.org's newest release, not the interpreter 2026-10-20 22:39:25 +02:00
__init__.py Add the shared dependency-freshness gate 2026-08-28 13:00:35 +02:00
__main__.py Add the shared dependency-freshness gate 2026-08-28 13:00:35 +02:00
_tables.py dep_freshness: Python's latest is python.org's newest release, not the interpreter 2026-10-20 22:39:25 +02:00
allowlist.py dep_freshness: upstream: allowlist predicate for forks; Google API clients judged inside their generation 2026-09-12 20:32:34 +02:00
cache.py dep_freshness: gitcommit ecosystem, no-stable fallback, JitPack repo; report unknowns beside stale 2026-09-12 20:21:34 +02:00
check.py dep_freshness: upstream: allowlist predicate for forks; Google API clients judged inside their generation 2026-09-12 20:32:34 +02:00
constraints.py Add the shared dependency-freshness gate 2026-08-28 13:00:35 +02:00
discover.py dep_freshness: read every *.versions.toml catalog, not only libs 2026-09-12 19:15:04 +02:00
evaluate.py dep_freshness: upstream: allowlist predicate for forks; Google API clients judged inside their generation 2026-09-12 20:32:34 +02:00
install_cli.py Script the gate rollout instead of hand-copying it into sixteen repos 2026-08-28 14:12:00 +02:00
install_main.py Script the gate rollout instead of hand-copying it into sixteen repos 2026-08-28 14:12:00 +02:00
install_precommit_ci.py Re-point paths for the ~ reorganisation (home-tidy) 2026-09-11 18:45:55 +02:00
install.py dep_freshness: per-repo opt-out from the CI workflow (.dep-freshness-no-workflow) 2026-10-10 08:26:10 +02:00
models.py dep_freshness: blocker parsing breaks on scoped npm package names 2026-09-24 13:42:28 +02:00
quarantine.py Make the allowlist inheritable, and cache the quarantine lookups 2026-08-28 13:58:44 +02:00
report.py dep_freshness: upstream: allowlist predicate for forks; Google API clients judged inside their generation 2026-09-12 20:32:34 +02:00
resolve.py dep_freshness: Python's latest is python.org's newest release, not the interpreter 2026-10-20 22:39:25 +02:00
upstream.py dep_freshness: upstream: allowlist predicate for forks; Google API clients judged inside their generation 2026-09-12 20:32:34 +02:00
versions.py dep_freshness: upstream: allowlist predicate for forks; Google API clients judged inside their generation 2026-09-12 20:32:34 +02:00