-
Notifications
You must be signed in to change notification settings - Fork 892
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
uv swallows output from build backend even in verbose mode #5893
Comments
I think we might only show build backend output if it fails, the relevant code being Lines 721 to 738 in cb47aed
I agree it sounds nice to stream the output if verbose mode is enabled. |
I can confirm that output is shown on errors 👍🏻 |
I can help if needed. |
@eth3lbert feel free! We just need to stream the output from the subprocess in verbose mode. |
Well, I say "just" but it's probably a bit more complicated to make sure it displays nicely with all the concurrency we're doing. Honestly not entirely sure how feasible it will be for it to work well. |
When installing a package with regular pip in verbose mode, one typically also gets output from the build backend. For example
python -m venv .venv . .venv/bin/activate pip install -v git+https://github.com/pybind/scikit_build_example
Console Output
On the other hand, running the same commands with
uv
, i.e.,uv venv . .venv/bin/activate uv pip install -v git+https://github.com/pybind/scikit_build_example
Console Output
Note that there is no output between the following two lines
which is where I would have expected to see the information from the build backend similar to how pip displays the information.
Am I overlooking something or is
uv
swallowing the build system output? If so, is this intended (even in verbose mode)?Note that the build backend in question is scikit-build-core. I am not quite sure whether that contributes to the problem.
This was tested on
uv 0.2.33
on macOS Catalina. However, this dates back to at leastuv 0.2.21
.The text was updated successfully, but these errors were encountered: