Commit 4211688
CI: green test matrix, three cleanups after the MSVC fix
Previous run confirmed the MSVC-on-Windows fix works — all 12 test
matrix jobs (ubuntu/macos/windows × py3.11/3.12/3.13/3.14) are green.
sdist is green too. Only build-wheels failed, and only for one real
reason (macOS).
Three cleanups in this commit:
1. Remove the temporary Windows DLL diagnostic step from the test job.
It lived at .github/workflows/ci.yml as `Diagnose extension DLL
dependencies (Windows)`. Its purpose was to identify the MinGW-vs-
MSVC issue, which it did, and now that the ilammy/msvc-dev-cmd
step is landed the diagnostic is pure CI log noise. The full
diagnostic recipe (pefile import table + ctypes.WinDLL probe +
spec-load PyInit probe) is preserved in ~/.claude/CI-SETUP-NOTES.md
under "Windows CI for Cython extensions: force MSVC" for future
reuse.
2. Add `fail-fast: false` to the build-wheels matrix. Without it, a
single-OS wheel failure cancels the other OSes mid-build, so the
previous run showed "all three build-wheels jobs failed" when in
reality only macOS actually failed — linux and windows were just
cascade-canceled while pulling the manylinux image / setting up
MSVC. The test matrix already has fail-fast: false; this aligns
build-wheels with the same policy.
3. Drop `brew install libomp` from the cibuildwheel macOS before-all.
The macOS wheel job actually failed because delocate-wheel refused
to bundle Homebrew's libomp 22.1.2: that libomp.dylib has a minimum
macOS target of 15.0, but cibuildwheel's default arm64 target is
11.0, so bundling it would produce a wheel that lies about its
compatibility.
Options considered:
(a) Bump MACOSX_DEPLOYMENT_TARGET to 15.0 — shrinks supported
macOS range by ~4 years.
(b) Build libomp from source with a lower target in before-all —
complex CI, fragile.
(c) Drop libomp entirely, let meson's
`dependency('openmp', required: false)` fall back to serial.
We take (c). Cython's `prange` silently degrades to `range` when
OpenMP is not present, so the tests still pass and every numerical
invariant still holds — the macOS wheel is just single-threaded.
Users who want parallel fits on macOS can install from source after
`brew install libomp` (README will document this in Phase 8).
Linux and Windows wheel builds are unaffected by this change — Linux
has GCC + libgomp in the manylinux container, Windows has MSVC's
vcomp140 activated via ilammy/msvc-dev-cmd. Both continue to produce
parallel wheels.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 9df432b commit 4211688
2 files changed
+17
-108
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | 84 | | |
191 | 85 | | |
192 | 86 | | |
193 | 87 | | |
194 | 88 | | |
195 | 89 | | |
196 | 90 | | |
| 91 | + | |
197 | 92 | | |
198 | 93 | | |
199 | 94 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
123 | | - | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
124 | 138 | | |
125 | 139 | | |
126 | 140 | | |
| |||
0 commit comments