Commit df5b5f2
committed
fix: Remove build_ext_parallel feature
Remove the build_ext_parallel feature which configures parallel builds
of setuptools extensions via dist-extra.cfg. This feature was found to
be unsafe due to race conditions in setuptools/distutils, causing:
- Intermittent build failures in packages like Cython and numba
- Miscompiled wheels with missing symbols (e.g., psutil)
Phase 1 of deprecation:
- Remove code that creates dist-extra.cfg and sets DIST_EXTRA_CONFIG
- Keep the build_ext_parallel option in the schema for compatibility
- Emit deprecation warning when the option is set to True
- Update documentation to mark the option as deprecated
The option will be completely removed in Phase 2 after a few releases.
Fixes: #808
Co-authored-by: Claude <claude@anthropic.com>
Signed-off-by: Ioannis Angelakopoulos <iangelak@redhat.com>1 parent b15ad7b commit df5b5f2
2 files changed
Lines changed: 11 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
245 | | - | |
| 245 | + | |
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
| |||
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
255 | | - | |
256 | | - | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
257 | 259 | | |
258 | 260 | | |
259 | 261 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
| |||
302 | 301 | | |
303 | 302 | | |
304 | 303 | | |
305 | | - | |
306 | | - | |
307 | | - | |
308 | | - | |
309 | | - | |
310 | | - | |
311 | | - | |
312 | | - | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | | - | |
317 | | - | |
318 | | - | |
319 | | - | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
320 | 310 | | |
321 | | - | |
322 | 311 | | |
323 | 312 | | |
324 | 313 | | |
| |||
0 commit comments