Install and run unreleased pytype on Windows and Python 3.12
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.
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
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.