Commit 469b644
test: skip default-nufftax interferometer tests when nufftax absent
The default Interferometer transformer is the JAX-native TransformerNUFFT,
backed by nufftax (declared for Python >= 3.12 only). On 3.9-3.11 (not
officially supported) the backend can't install, so default interferometer /
transformer tests raise ModuleNotFoundError at construction. Add a
pytest_collection_modifyitems hook that skips exactly those when nufftax is
unavailable, keeping the explicit DFT and pynufft transformer tests. On
3.12/3.13 nothing is skipped. Fixes the PyAutoBuild Python Version Matrix red
on 3.9-3.11 (paired with PyAutoArray[optional] in that workflow).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 801b1cf commit 469b644
1 file changed
Lines changed: 39 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
280 | 280 | | |
281 | 281 | | |
282 | 282 | | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
0 commit comments