Commit 35370f4
fix: cap uv concurrency to prevent ENFILE errors during bundling (#14)
When uv extracts many wheel files in parallel, the builder container can
exhaust the system-wide file descriptor limit (os error 23: Too many open
files), especially on Docker Desktop/macOS environments.
Add UV_CONCURRENT_DOWNLOADERS=4 and UV_CONCURRENT_BUILDS=2 to the builder
environment to limit uv's internal parallelism. This prevents the FD
exhaustion without meaningfully impacting performance, since most wheels
are served from cache on subsequent builds.
Fixes intermitent 'CommandExitedWithNonZeroStatus: docker exited with
status 1' errors caused by failed wheel extraction.
Co-authored-by: hermes-agent <hermes@hermes-agent.local>1 parent 38fed9c commit 35370f4
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
365 | 365 | | |
366 | 366 | | |
367 | 367 | | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
368 | 372 | | |
369 | 373 | | |
370 | 374 | | |
| |||
0 commit comments