Repository navigation
Run pre-commit Python hooks on 3.14 (fixes red pre-commit.ci) - #77
Merged
Merged
Conversation
pre-commit.ci has failed on every push since mid-October: with no default_language_version, mypy runs on its older default interpreter and rejects the 3.14-only except syntax. Pin python3.14 as supernotify, autoarm, remote_logger and appliance_autonotify do. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015pBfcbEDqkRkkEEkdd8m4u
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015pBfcbEDqkRkkEEkdd8m4u
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.
pre-commit.ci has failed on every push to
mainsince at least mid-October. It is red on all 12 most recent commits.Cause (reproduced locally): with no
default_language_version, pre-commit.ci builds the hook envs on its default interpreter, which is older than 3.14. mypy then rejects the 3.14-onlyexcept A, B:syntax instream/api.py:250(PEP 758). With 3.14 the full hook set passes.Change: pin
python: python3.14for hooks, as supernotify, autoarm, remote_logger and appliance_autonotify already do. The package requires>=3.14.9anyway.Separate decision, not in this PR: the 10-22 move to
>=3.14.9,!=3.15.0dropped Python 3.13, whichpolicies/python_versions.mdkeeps for PyPI packages until Sep 2027. It's raised in the hq issue linked from the report.Detail: alignment report 2026-11, Python tooling
Generated by Claude Code