Skip to content

deps!: drop Python 3.9 support to allow urllib3 >=2.7.0#227

Merged
matthewelwell merged 3 commits into
mainfrom
deps/urllib3-2.7
Jun 26, 2026
Merged

deps!: drop Python 3.9 support to allow urllib3 >=2.7.0#227
matthewelwell merged 3 commits into
mainfrom
deps/urllib3-2.7

Conversation

@matthewelwell

Copy link
Copy Markdown
Contributor

Summary

  • urllib3 2.7.0 dropped Python 3.9, blocking 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.
  • Bumps the resolved urllib3 to 2.7.0 (and pulls forward requests, types-requests, and others as a side effect of regenerating the lock file).
  • Removes 3.9 from the CI test matrix and bumps black's target-version to py310.

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.06.0.0).

Test plan

  • poetry install --with dev
  • poetry run pytest (108 passed)
  • poetry run mypy --strict . (no issues)
  • CI matrix (3.10–3.13) green

🤖 Generated with Claude Code

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>
@matthewelwell matthewelwell requested a review from a team as a code owner June 26, 2026 12:07
@matthewelwell matthewelwell requested review from khvn26 and removed request for a team June 26, 2026 12:07
khvn26
khvn26 previously approved these changes Jun 26, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread pyproject.toml Outdated
Comment thread pyproject.toml Outdated
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@matthewelwell matthewelwell merged commit 814e67e into main Jun 26, 2026
5 checks passed
@matthewelwell matthewelwell deleted the deps/urllib3-2.7 branch June 26, 2026 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants