Commit e43b523
committed
Build py3.15 wheels against the manylinux python.org interpreter (not conda)
Python 3.15 is still in pre-release and its C-API/ABI is not frozen.
conda-forge's python=3.15.0a* does not match the python.org alpha that the
torch nightly cp315 wheels are built against, so importing torch under a
conda 3.15 interpreter segfaults during module init (observed as
'python setup.py clean' crashing with SIGSEGV / exit 139 in the
torchvision and torchaudio cp315 builds).
For 3.15/3.15t, skip conda and build against the manylinux python.org
interpreter that produced the torch wheels (/opt/python/cp315-cp315[t]).
pkg-helpers already prepends that interpreter's bin to PATH via
BUILD_ENV_FILE, so setting CONDA_RUN='' makes the whole build and smoke
test resolve to it -- no ABI skew. Build tooling (cmake/ninja/wheel) is
pip installed; libpng/libjpeg/libwebp/pkg-config come from the manylinux
image's system packages. All other Python versions keep the conda path.1 parent 13a750a commit e43b523
1 file changed
Lines changed: 50 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 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 | + | |
132 | 182 | | |
133 | 183 | | |
134 | 184 | | |
| |||
0 commit comments