hotfix: unblock CI (license headers + pyyaml dep)#882
Merged
Conversation
Three required checks (pre-commit, pytest, rat) currently fail on every open PR because utils/check_cache_settings/ landed on main with two missing pieces: - audit-actions-cache.py + test_audit_actions_cache.py have no Apache license header — pre-commit auto-inserts and exits 1, rat counts 1 unapproved file. - test_audit_actions_cache.py does `import yaml` but no PyYAML is declared anywhere, so `uv run pytest` can't collect the test module (ModuleNotFoundError). Adds the headers and pyyaml>=6.0 to the root dev-dependency group; the affected open PRs can then be unstuck with `@dependabot rebase` (dependabot bumps) or a plain rebase. Generated-by: Claude Opus 4.7 (1M context)
dfoulks1
approved these changes
May 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Three required checks (
pre-commit,pytest,rat) fail on every openPR because
utils/check_cache_settings/was merged with two missingpieces:
audit-actions-cache.py+test_audit_actions_cache.pyare missingApache license headers —
pre-commit'sinsert-licensehook auto-addsthem and exits 1, and
ratcounts 1 unapproved file.test_audit_actions_cache.pydoesimport yamlbut no PyYAML is inany dep set, so
uv run pytestcan't collect the test module:ModuleNotFoundError: No module named 'yaml'.Changes:
pyyaml>=6.0added to rootpyproject.toml[dependency-groups].dev;uv.lockupdated.After this lands, the affected dependabot PRs can be unstuck with
@dependabot rebaseand #876 with a plain rebase.Test plan
prek run --all-files— cleanuv run pytest— 469 passed (previously failed collection)pre-commit,pytest,rat