Commit b273b79
committed
fix(ci): finish the 3.10 compat leg — test-side pydantic helpers, SYSTEM_PYTHON
The new tag-gated compat job (first exercise of the Python 3.10 /
pydantic v1 half of the matrix) surfaced the remaining first-contact
debt:
- Tests called model_dump()/model_validate_json() on models directly;
routed through the schema compat helpers like the analyzer code.
- The venv-building CLI tests need a base interpreter that can create
virtual environments; inside uv's venv on the runner the discovery
walk has no anchor, so the compat job now sets SYSTEM_PYTHON — the
escape hatch that error message documents.
Verified locally on 3.10 + pydantic 1.10.26: every test that does not
spawn a CLI subprocess passes; the subprocess ones fail locally only
because ray 2.0.0 ships an x86_64 grpc wheel that Apple Silicon cannot
load in child processes — the ubuntu runner imports it fine. 3.12:
patched files 21/21 green.1 parent 56aac4e commit b273b79
4 files changed
Lines changed: 13 additions & 6 deletions
File tree
- .github/workflows
- test
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
42 | 47 | | |
43 | 48 | | |
44 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
86 | 86 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
186 | 187 | | |
187 | 188 | | |
188 | 189 | | |
189 | | - | |
| 190 | + | |
190 | 191 | | |
191 | 192 | | |
192 | 193 | | |
193 | | - | |
| 194 | + | |
194 | 195 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
184 | 185 | | |
185 | 186 | | |
186 | 187 | | |
187 | | - | |
| 188 | + | |
188 | 189 | | |
0 commit comments