mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-11-10 18:47:04 +01:00
The key said `py3.12` as a literal while the job installs `3.x`, which is 3.14.7 today. A `language: python` hook env is built by whichever Python pre-commit ran under, so the cache kept handing back envs built on 3.12.14 and the hooks kept running there -- invisibly, right up to the first syntax 3.12 cannot parse. PEP 758 was that syntax. The previous commit's `except A, B:` reached pylint and the debug-statement hook on cached 3.12 interpreters and came back as "multiple exception types must be parenthesized", a failure with no local reproduction: developer caches were built on 3.14, where the same pylint 3.3.2 and the same pylint 4.0.7 both parse the file fine. The syntax was never the defect; the stale interpreter was. `steps.setup-python.outputs.python-version` cannot drift from what was installed, so this cannot recur on the next release either. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SfnJmxxsZ534AKk16rC2Gr |
||
|---|---|---|
| .. | ||
| agents | ||
| skills | ||
| workflows | ||
| copilot-instructions.md | ||