Commit fda5944
authored
fix: restore Python 3.11 support and stop ty failing CI on warnings (#898)
Two independent root causes had kept main red since 2026-07-05.
Renovate bumped numpy to >=2.5.1. numpy 2.5.0 dropped Python 3.11 wheels entirely (2.5.1 declares requires_python >=3.12; 2.4.6 declares >=3.11), which contradicts this project's own requires-python >=3.11 and its 3.11-3.14 CI matrix, so uv could not resolve on any runner. Reverting the pin restores what commit 4ad79c3 had deliberately established before Renovate undid it, and a renovate.json packageRule now prevents the same regression.
The same Renovate commit bumped ty from 0.0.51 to 0.0.57, which exits non-zero on warning-only output. pyproject.toml deliberately downgrades seven rules to warn, with comments explaining why (llama_cpp is an optional dependency; onnxruntime ships incomplete stubs). Passing ty's own --exit-zero-on-warning restores that intent. Error-level diagnostics still fail the build.1 parent 59b22ed commit fda5944
6 files changed
Lines changed: 44 additions & 105 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
80 | 87 | | |
81 | 88 | | |
82 | 89 | | |
| |||
0 commit comments