Repository navigation
chore: drop Python 3.10 support for 4.3.0 - #274
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests.
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
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
Breaking, targeting 4.3.0: require Python 3.11 or newer. Python 3.10 applications should use
that-depends<4.3; 4.2.1 is the latest compatible release when preparing this change. Python 3.10 reached upstream end of life on October 1, 2026 (the October 31 date in the issue is incorrect).Closes #262.
Document that minor releases may drop end-of-life Python versions, while patches retain their minor series' Python floor. The Python API remains compatible on retained interpreters. Release 4.3.0 should put the breaking notice above at the top of its release notes; the tag-driven placeholder version remains unchanged in this PR.
Changes
requires-python.tomllibdirectly and remove the directtomlidev requirement. Keeptyping-extensionsfor APIs unavailable on 3.11/3.12.datetime.UTC, direct ISO timestamp parsing, and stdlib typing imports.Validation performed locally on macOS:
just lint-cion Python 3.11: Ruff formatting/lint, strict mypy and pyrefly pass.<0.6.0and>=0.6.0: 458 tests pass in each of 10 combinations, with integrations required.llms-full.txt.Requires-Python >=3.11,<4, exclude the 3.10 classifier and retaintyping-extensions. Installing the wheel on Python 3.10 is rejected as expected.just adr-checkandgit diff --checkpass.The ignored
uv.lockwas regenerated locally. No new regression test is needed for this support-policy/configuration change; existing integration tests cover the lint-driven simplifications. Existing dependency deprecation warnings remain, and the build warns about the pre-existing unboundeduv_buildrequirement.Checklist
ruff)mypyandpyrefly)uv build) if packaging or build config changeddescription, profile blurb) if this touches packaging