Commit f295847
authored
ci: install gating jobs from a constraints file exported from uv.lock (#194)
* ci: install gating jobs from a constraints file exported from uv.lock
CI resolved dependencies fresh on every run, so an upstream release could
turn main red overnight (numpy 2.5 broke median imputation this way), and
uv.lock had silently drifted from pyproject.toml since July.
- Refresh uv.lock (bumping the yanked build==1.5.1 pin) and export it as
constraints/ci.txt (uv export --no-hashes --all-extras --no-emit-project).
- quality-fast, truthbench, nightly-online-large, large-data-status,
coverage-badge and performance-large install with -c constraints/ci.txt.
- quality-fast type-checks after the tests, downgrading to numpy<2.5 only
for mypy (NumPy 2.5 stubs need Python 3.12; mypy targets 3.10).
- test-matrix stays unpinned as the early warning for upstream breakage.
- New lockfile job fails when uv.lock or constraints/ci.txt is stale;
`make constraints` refreshes both.
* test: expect the constraints install in the large performance workflow contract
The contract test asserted the exact pre-constraints install line in
performance-large.yml, so every test lane failed once the workflow began
installing with -c constraints/ci.txt.1 parent 4554748 commit f295847
6 files changed
Lines changed: 2477 additions & 917 deletions
File tree
- .github/workflows
- constraints
- tests/performance
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
20 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
21 | 44 | | |
22 | 45 | | |
23 | 46 | | |
| |||
30 | 53 | | |
31 | 54 | | |
32 | 55 | | |
33 | | - | |
34 | | - | |
| 56 | + | |
35 | 57 | | |
36 | 58 | | |
37 | | - | |
38 | | - | |
39 | 59 | | |
40 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
41 | 67 | | |
42 | 68 | | |
43 | 69 | | |
| |||
51 | 77 | | |
52 | 78 | | |
53 | 79 | | |
54 | | - | |
| 80 | + | |
55 | 81 | | |
56 | 82 | | |
57 | 83 | | |
| |||
86 | 112 | | |
87 | 113 | | |
88 | 114 | | |
| 115 | + | |
| 116 | + | |
89 | 117 | | |
90 | 118 | | |
91 | 119 | | |
| |||
113 | 141 | | |
114 | 142 | | |
115 | 143 | | |
116 | | - | |
| 144 | + | |
117 | 145 | | |
118 | 146 | | |
119 | 147 | | |
| |||
159 | 187 | | |
160 | 188 | | |
161 | 189 | | |
162 | | - | |
| 190 | + | |
163 | 191 | | |
164 | 192 | | |
165 | 193 | | |
| |||
210 | 238 | | |
211 | 239 | | |
212 | 240 | | |
213 | | - | |
| 241 | + | |
214 | 242 | | |
215 | 243 | | |
216 | 244 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
28 | 36 | | |
29 | 37 | | |
30 | 38 | | |
| |||
0 commit comments