Skip to content

Initial support for Python 3.15.0a8 - #21255

Merged
hauntsaninja merged 3 commits into
python:masterfrom
cdce8p:python-315-initial
Apr 16, 2026
Merged

hauntsaninja merged 3 commits into
python:masterfrom
cdce8p:python-315-initial

Conversation

@cdce8p

@cdce8p cdce8p commented Apr 16, 2026

Copy link
Copy Markdown
Collaborator
@cdce8p cdce8p changed the title Initial support for Python 315 Apr 16, 2026
@github-actions

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

@hauntsaninja hauntsaninja left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks!

@hauntsaninja
hauntsaninja merged commit ebaa73a into python:master Apr 16, 2026
23 checks passed
@cdce8p
cdce8p deleted the python-315-initial branch April 16, 2026 18:14
@cdce8p

cdce8p commented Apr 16, 2026

Copy link
Copy Markdown
Collaborator Author

@hauntsaninja Is this something worth cherry-picking for the 1.20.2? It would allow users to compile mypy with mypyc themselves for 3.15.0a8 if they want to.

@hauntsaninja

Copy link
Copy Markdown
Collaborator

Seems like a good idea, thanks for suggesting it!

JukkaL pushed a commit that referenced this pull request Apr 21, 2026
Some minor changes to be able to compile mypy with mypyc on Python
3.15.0a8.

- Update `typing-extensions` to `>=4.14.0` for Python `>=3.15` due to
the removal of `typing.no_type_check_decorator`
python/cpython#133601

https://docs.python.org/3/library/typing.html#typing.no_type_check_decorator
https://github.com/python/typing_extensions/blob/4.14.0/CHANGELOG.md
- `TypeAliasType.__qualname__` was added in
python/cpython#139817
- Some new FutureWarnings for b64_decode
python/cpython#125346
python/cpython#141128
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants