deps!: drop Python 3.9 support to allow urllib3 >=2.7.0#227
Merged
Conversation
urllib3 2.7.0 dropped Python 3.9, which blocked transitive updates while the project still declared python = ">=3.9,<4". Python 3.9 reached EOL on 2025-10-31, so this raises the floor to Python 3.10. BREAKING CHANGE: Python 3.9 is no longer supported. Minimum supported version is now Python 3.10. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
khvn26
previously approved these changes
Jun 26, 2026
Contributor
There was a problem hiding this comment.
Code Review
This pull request bumps the minimum supported Python version from 3.9 to 3.10 in pyproject.toml and updates Black's target version accordingly. The feedback suggests simplifying the mypy and pre-commit development dependency definitions by removing redundant Python version constraints that are already covered by the root project constraint.
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
khvn26
approved these changes
Jun 26, 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
python = ">=3.9,<4". Python 3.9 reached EOL on 2025-10-31, so this raises the floor to Python 3.10.urllib3to2.7.0(and pulls forwardrequests,types-requests, and others as a side effect of regenerating the lock file).3.9from the CI test matrix and bumpsblack'starget-versiontopy310.Breaking change
Python 3.9 is no longer supported. Minimum supported version is now Python 3.10. This should land as a major version bump (
5.5.0→6.0.0).Test plan
poetry install --with devpoetry run pytest(108 passed)poetry run mypy --strict .(no issues)🤖 Generated with Claude Code