Skip to content

Add Python 3.11 support - #290

Merged
mxr merged 4 commits into
mainfrom
py311-support
Sep 29, 2026
Merged

mxr merged 4 commits into
mainfrom
py311-support

Conversation

@mxr

@mxr mxr commented Sep 29, 2026

Copy link
Copy Markdown
Owner

Problem

The package requires Python 3.12. It can't be installed on 3.11.

Solution

Lower requires-python to 3.11. Add fallbacks for itertools.batched and typing.override (via typing-extensions on <3.12), and replace PEP 695 generics with a TypeVar. Test 3.11 in CI.

Lower requires-python to 3.11 and add fallbacks for itertools.batched and typing.override. Replace PEP 695 generic syntax with a TypeVar. Test 3.11 in CI and use pypy3.
@mxr
mxr enabled auto-merge (squash) September 29, 2026 00:27
@mxr
mxr merged commit 43b8457 into main Sep 29, 2026
14 checks passed
@mxr
mxr deleted the py311-support branch September 29, 2026 00:31
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.

1 participant