Commit c20124b
committed
Fix Python 3.15 smoke tests on Windows and Linux
numpy does not publish cp315 wheels on PyPI, so installing a freshly built
wheel under 3.15 / 3.15t falls back to the numpy sdist and tries to build it
from source. On Windows that build fails outright in the conda env (meson:
"Cython requires python3 dependency for link testing"), so the wheel is never
installed and the smoke test reports ModuleNotFoundError.
cp315 wheels for both numpy and pillow are published on download.pytorch.org
across cpu / cu126 / cu128 / cu129 / cu130 / xpu, so for 3.15 / 3.15t resolve
runtime deps from there with --pre (numpy is 2.6.0.dev0). All other Python
versions keep installing from PyPI unchanged.
Windows: applies to both the X64 and ARM64 smoke tests.
Linux: re-enables the smoke test for 3.15, which was skipped for this exact
reason, and applies the same dependency resolution.
The binary-build-matrix changes from the earlier revision of this PR are
dropped: #8427 has since enabled 3.15 / 3.15t by default for every OS and
removed the opt-in preview mechanism they were built on.1 parent 83b2d68 commit c20124b
2 files changed
Lines changed: 27 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
304 | | - | |
305 | | - | |
306 | | - | |
307 | | - | |
308 | | - | |
309 | | - | |
| 304 | + | |
310 | 305 | | |
311 | 306 | | |
312 | 307 | | |
| |||
317 | 312 | | |
318 | 313 | | |
319 | 314 | | |
320 | | - | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
321 | 324 | | |
322 | 325 | | |
323 | 326 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
365 | | - | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
366 | 374 | | |
367 | 375 | | |
368 | 376 | | |
| |||
380 | 388 | | |
381 | 389 | | |
382 | 390 | | |
383 | | - | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
384 | 399 | | |
385 | 400 | | |
386 | 401 | | |
| |||
0 commit comments