uv build fails to include modules that have symlinks elsewhere in project #10915
Labels
compatibility
Compatibility with a specification or another tool
question
Asking for clarification or support
Summary
As best as I can tell,
uv build
refuses to add modules to a wheel file when those modules have symlinks elsewhere in the project. These symlinks are not otherwise involved in the package tree.hatch build
still works correctly.Minimal Reproducible Example
pyproject.toml
uv build
creates a correct wheel at this point:Add a symlink farm to the project root.
uv build
creates an incorrect wheel now:hatch build
creates a correct wheel:Remove a symlink from the farm
uv build
is partially correct: the module that is not symlinked into the farm is now included:Platform
Darwin 24.1.0 arm64
Version
uv 0.5.23 (ba42467 2025-01-23)
Python version
Python 3.13.0, Python 3.12.7
The text was updated successfully, but these errors were encountered: