uv pip install uvicorn==0.41.0 silently drops the supervisors/ subpackage during wheel extraction. Five files listed in RECORD never appear on disk. pip install uvicorn==0.41.0 in the same venv extracts correctly.
needs-mre
### Summary
uv pip install uvicorn==0.41.0 silently drops the supervisors/ subpackage during wheel extraction. Five files listed in RECORD never appear on disk. pip install uvicorn==0.41.0 in the same venv extracts correctly.
Repro:
$ python3 -m venv /tmp/test
$ uv pip install --python /tmp/test/bin/python3 uvicorn==0.41.0
Resolved 3 packages in 4ms
Installed 3 packages in 5ms
# uv install fails:
$ /tmp/test/bin/python3 -c "from uvicorn.supervisors import ChangeReload"
ModuleNotFoundError: No module named 'uvicorn.supervisors'
$ ls /tmp/test/lib/python3.11/site-packages/uvicorn/supervisors/
ls: no such file or directory
# pip install same wheel works:
$ /tmp/test/bin/pip install uvicorn==0.41.0
$ /tmp/test/bin/python3 -c "from uvicorn.supervisors import ChangeReload; print('OK')"
OK
$ ls /tmp/test/lib/python3.11/site-packages/uvicorn/supervisors/
__init__.py basereload.py multiprocess.py statreload.py watchfilesreload.py
Missing files:
- uvicorn/supervisors/__init__.py
- uvicorn/supervisors/basereload.py
- uvicorn/supervisors/multiprocess.py
- uvicorn/supervisors/statreload.py
- uvicorn/supervisors/watchfilesreload.py
The uvicorn package dir has 19 entries — all except supervisors/ extract fine. The wheel RECORD includes the supervisors entries. This causes Hermes Agent (and any downstream using uv for uvicorn installs) to fail on first import of uvicorn.
### Platform
macOS 14 arm64 (Mac Studio M1 Max)
### Version
uv 0.11.7 (9d177269e 2026-04-15) — system install uv 0.11.19 (7b2cff1c3 2026-06-03) — via pip Both fail identically.
### Python version
Python 3.11.15
*Issue drafted with assistance from Ensemble (ENSEMBLE Framework v3.3.3 protocol on Hermes Agent). Accountable human: @Pauliehedron, Conductor*
关闭于 2026-06-05 2 条评论