Repository navigation
Conversation
Python 3.10 reached end of life on 2026-10-01. Raise requires-python to >=3.11, drop the <3.15 cap, and move the ruff and black targets to py311. Add 3.15 to the graph-integration matrix and the classifiers. The py311 ruff target newly flags 52 UP017 and 46 UP042 findings. Ignore both rules for now so this change stays free of style rewrites. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch was successfully deployed
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.
What changed
requires-pythongoes from>=3.10,<3.15to>=3.11, dropping the upper cap.graph-integrationCI matrix adds 3.15 alongside 3.13 and 3.14. The sharded pytest job stays on 3.14.py310topy311, and black's target list dropspy310.CLAUDE.md,CONTRIBUTING.mdanddocs/population-graph.mdnow state 3.11 as the minimum.Why
Python 3.9 reached end of life on 2025-10-31 and 3.10 on 2026-10-01. CPython now supports 3.11 through 3.15.
Ruff
The
py311target makes ruff report 52 UP017 (datetime-timezone-utc) and 46 UP042 (replace-str-enum) findings. The lint job runsruff check ., so this PR adds both rules toignorerather than rewriting 98 lines. UP042 also changesstr()on the affected enums, so applying it needs its own review.Verification
ruff check .passes locally with ruff 0.17.5 and the new config.graph-integrationjob tests 3.15 in this PR's CI. If 3.15 fails there, it comes out of this PR and the cap stays.--checkruns in the lint job here; this repo was too large to finish it locally.🤖 Generated with Claude Code