Commit 9069a32
authored
Stop free-threaded CI jobs failing in setup before tests run (#1089)
Three matrix entries were red without ever running pytest: an earlier
setup step aborted under "bash -e", so "run tests" showed as skipped.
Both causes were environment drift, not code.
3.13t (ubuntu + macos): hypothesis has no free-threaded 3.13 wheel and
its source build pulls pyo3-ffi, which reports "PyO3 does not support
the free-threaded build of CPython versions below 3.14". Install it
best-effort. That alone is insufficient -- test_runningstats.py and
test_scalene_json.py import hypothesis at module scope, and a collection
error there interrupts the entire pytest session -- so both now call
pytest.importorskip("hypothesis"), matching the convention already used
for torch and numpy.
3.14t (ubuntu): "apt-get install -y gdb" exited 100 on a 404 for
libc6-dbg, the image's package index being older than the mirror's
contents. Run apt-get update first, and don't let a missing gdb stop the
job -- it only feeds the optional, already-guarded "Collect crash
backtraces" step.
All four free-threaded jobs pass on this PR, up from one.1 parent 57aead6 commit 9069a32
3 files changed
Lines changed: 35 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
91 | 99 | | |
92 | 100 | | |
93 | 101 | | |
| |||
97 | 105 | | |
98 | 106 | | |
99 | 107 | | |
100 | | - | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
101 | 116 | | |
102 | 117 | | |
103 | 118 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
| 4 | + | |
5 | 5 | | |
6 | | - | |
7 | 6 | | |
8 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
9 | 17 | | |
10 | 18 | | |
11 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
| 3 | + | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
8 | 14 | | |
9 | 15 | | |
10 | 16 | | |
| |||
0 commit comments