Commit 11056ed
committed
Install cp315 numpy from the nightly index instead of building from source
PyPI publishes no cp315/cp315t numpy wheels, so `pip install numpy` in the
smoke-test step falls back to a source build. That is merely slow on Linux and
macOS, but a hard failure on Windows:
numpy/_core/src/common/simd/simd.h(4): fatal error C1083:
Cannot open include file: 'stdalign.h': No such file or directory
error: metadata-generation-failed
download.pytorch.org/whl/nightly carries preview cp315 and cp315t numpy wheels
for every platform (manylinux x86_64/aarch64, macosx arm64/x86_64, win_amd64),
so pull numpy from there for 3.15 and forbid a source fallback with
--only-binary=:all:. Other python versions keep using PyPI unchanged.1 parent 74c0c77 commit 11056ed
1 file changed
Lines changed: 13 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
203 | | - | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
204 | 216 | | |
205 | 217 | | |
206 | 218 | | |
| |||
0 commit comments