Repository navigation
Python floor: pin mypy python_version 3.11, fix stale 3.10 comments (Part of #3322) - #6621
Merged
Merged
Conversation
…pin the targets in a test (Part of #3322) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
This was referenced Oct 25, 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.
Part of #3322
Checklist: partial [c:e58bc9e1]
Ruff
target-versionwas alreadypy311andrequires-pythonis>=3.11(#5364). mypy had no pin, so it followed whichever interpreter ran it. This adds[tool.mypy] python_version = "3.11", corrects three comments that still said 3.10 is supported, and pins all three targets in a test.Class table
requires-python>=3.11target-versionpy311python_versioncrucible_pins.toml,_crucible_manifest.py,evidence_report.py:210commentsSibling gaps (Remaining slices)
tomllibfallback (parse_subset) intests/_crucible_manifest.py.test_crucible_pinspins the two parsers against each other, so it needs its own PR.sys.version_infoshims and the 3.9/3.10 comments intests/tools(mainframe_corpus.py:230,refraction_snapshot.py:143,port_invariance.py:128,test_tri_comparison_reconcile.py:144).phase_ab.py, 3.9 vs 3.11).Verification
python tests/mypy_audit.py --ci: no new errors (0-error baseline).test_python_floor_targets.pyandtest_crucible_pins.py: 15 passed, run with plainpytestfrom/tmp.ruff format --checkon the touched files: clean.Lessons for agents
pythonon PATH, so the first edit script failed. Usepython3, and put/srv/storage_16tb/projects/gitgalaxy/db2-venv/binon PATH formypy_audit.~/.local/bin/ruffis not the pinned version. It reports about 15 pre-existing errors inevidence_report.pyand callsPLC0415noqa unused, so don't trust it for lint.🤖 Generated with Claude Code