Repository navigation
TYP,TST: Bump mypy from 1.11.1 to 1.13.0 - #27652
Conversation
|
Thanks Joren. |
|
Strangely, this fail on 32 bit windows after merge I think this is a problem with the pyproject.toml parser and unrelated to this PR. EDIT: Definitely unrelated. Will open an issue. |
|
mypy 1.13 uses EDIT: Maybe I'm missing something, but I don't see any |
|
@jorenham maybe we should skip the typing tests on the 32 bit linux CI? |
Maybe it's easier to skip installing |
|
That would work too! It is a pain to keep the 32 bit linux tests running and eventually we'll turn it off but if we can keep it running it does sometimes help catch bugs. |
|
We should only be running the Mypy tests in the 3 dedicated GHA CI jobs (e.g, https://github.com/numpy/numpy/actions/runs/11586301285). Or was this changed recently? If not, better to install This change also broke the free-threaded wheel builds on Linux and macOS (see latest wheel build log). Based on both of those things, it looks to me like we should revert the |
Yea should work. Locally you could always install orjson manually yourself I suppose |
Turned out this was already done. I re-triggered the wheel builds and they all passed now. |
By additionally installing
orjson(e.g. through themypy[faster-cache]extra),mypy 1.13should be 5-20% faster than mypy1.12.1.relevant release notes:
1.12.0: https://mypy.readthedocs.io/en/stable/changelog.html#mypy-1-121.12.1: https://mypy.readthedocs.io/en/stable/changelog.html#mypy-1-12-11.13.0: https://mypy.readthedocs.io/en/stable/changelog.html#mypy-1-13