Commit 301a86d
Fix CI: unpin mypy target version, bump actions
mypy was pinned to python_version 3.11 while the matrix runs it on 3.12 and
3.13. Targeting 3.11 makes mypy reject numpy's stubs, which use `type`
statements introduced in 3.12, so both newer jobs failed before checking any of
our own code. Dropping the pin lets each matrix job type-check against its own
interpreter, which is better coverage than the pin gave.
Also bumps checkout/setup-python off the deprecated Node 20 runtime.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent 376ac2a commit 301a86d
2 files changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
63 | 66 | | |
64 | 67 | | |
65 | 68 | | |
| |||
0 commit comments