Skip to content

Drop the typing_extensions requirement - #5173

Open
psss wants to merge 2 commits into
psss-drop-python-3.9from
psss-drop-typing-extensions
Open

psss wants to merge 2 commits into
psss-drop-python-3.9from
psss-drop-typing-extensions

Conversation

@psss

@psss psss commented Sep 17, 2026

Copy link
Copy Markdown
Member

With Python 3.12 as the minimal requirement we could drop typing_extensions as everything is available in typing. Drop the deprecated Logger.warn() method which was the only instance of the deprecated decorator available only since Python 3.13.

Pull Request Checklist

  • implement the feature

@psss
psss requested a review from 4N0body5 as a code owner September 17, 2026 13:37
@psss
psss added this pull request to stack #5174 September 17, 2026 13:42
@psss
psss removed this pull request from stack #5174 September 18, 2026 11:01
@psss
psss added this pull request to stack #5178 September 18, 2026 11:03
psss and others added 2 commits September 21, 2026 20:02
With Python 3.12 as the minimal requirement we could drop
`typing_extensions` as everything is available in `typing`. Only
`deprecated` is missing, which could be relatively simply backported.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@psss
psss force-pushed the psss-drop-typing-extensions branch from bf3d584 to 0e8a232 Compare September 21, 2026 18:11
@psss psss added the code | type annotations Related to type annotations and type cleanup label Sep 21, 2026
@psss psss added this to planning Sep 21, 2026
@github-project-automation github-project-automation Bot moved this to backlog in planning Sep 21, 2026
@psss psss moved this from backlog to review in planning Sep 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

code | type annotations Related to type annotations and type cleanup

Projects

Status: review

Development

Successfully merging this pull request may close these issues.

1 participant