google / pytype

A static type analyzer for Python code
https://google.github.io/pytype
Other
4.72k stars 274 forks source link

Please update for Python 3.12. #1475

Open smu-ggl opened 1 year ago

smu-ggl commented 1 year ago

Python 3.12 is in pre-release state. https://www.python.org/downloads/

Once you have resolved https://github.com/google/pytype/issues/1308 - please upgrade for python 3.12 as soon as possible.

Debian packages are already available via Debian's testing track.

rchen152 commented 1 year ago

Just to set expectations, we're hoping to have basic 3.11 support by around October, and support for new 3.11 features will roll out over the following months. Then we'll look at 3.12.

austinnichols101 commented 11 months ago

python 3.12 released

holmanb commented 1 month ago

python 3.12 released

On version 2024.04.11 I see:

$ pytype .        
...
Python versions > 3.11 are not yet supported.
ninja: build stopped: subcommand failed.
Leaving directory '.pytype'
$ pytype --version

@gpshead Is this a repetition of https://github.com/google/pytype/issues/1481 for Python 3.12?

holmanb commented 1 month ago

It looks like the error message I see was updated in https://github.com/google/pytype/commit/4155664968820aad58649d44e42265c4cbab2409, which hasn't been released to PyPI yet - apparently there hasn't been a release since April.

Avasam commented 1 month ago

I just tested main on typeshed and it's working fine for Python 3.12 and Windows ! https://github.com/python/typeshed/pull/12547 🎉

Unfortunately Python 3.13 still fails, but that's due to msgspec not supporting Python 3.13 yet, see: