typeshed icon indicating copy to clipboard operation
typeshed copied to clipboard

Install and run unreleased pytype on Windows and Python 3.12

Open Avasam opened this issue 1 year ago • 1 comments

I'm expecting to have issues, but since it's been updated for Python 3.12 and Windows in the last week I figured may as well try it out.

Edit: Actually looks pretty good! This could work as-is.

Avasam avatar Aug 18 '24 06:08 Avasam

Install fails for Python 3.13 because msgspec does not support Python 3.13 yet, see:

  • https://github.com/jcrist/msgspec/issues/651
  • https://github.com/jcrist/msgspec/issues/698
  • https://github.com/jcrist/msgspec/pull/703
  • https://github.com/jcrist/msgspec/pull/711

Avasam avatar Aug 18 '24 07:08 Avasam

We released pytype 2024.09.13 today, which includes basic Python 3.12 support.

Windows also likely works but we can't enable our tests for it, yet, because they run too slowly. We'll have to do some more work there before we can officially declare that pytype supports Windows. Not sure if you want to run tests on Windows before that.

I opened https://github.com/python/typeshed/pull/12653, which only bumps the pytype version and leaves the remaining caveats unchanged. I don't mind which one gets merged, though.

frigus02 avatar Sep 13 '24 11:09 frigus02