-
Notifications
You must be signed in to change notification settings - Fork 289
Description
What’s happening?
We are making Python 3.12 the last supported version for Pytype. We plan to push bugfixes to this repository when needed, but we are not making any more changes for new features. We will make one last PyPI release at a point we’re sure that we no longer will make more changes.
What is the current state and the latest supported runtime version?
Pytype can run on Python 3.12, but may lead to crashes when using PEP 695 syntax.
What alternatives can I consider?
There are four Python static type checkers that can be considered: mypy and Pyright have been released to the community for a while and have well established user bases. Pyrefly, ty were announced recently at PyCon US 2025 and are in active development stage in the current time of August 2025 when this was written.
mypy - https://github.com/python/mypy
Pyright - https://github.com/microsoft/pyright
Pyrefly - https://github.com/facebook/pyrefly
ty - https://github.com/astral-sh/ty