uv icon indicating copy to clipboard operation
uv copied to clipboard

[feat]: Request for more output in stdout/stderr for non-interactive process

Open robinjhuang opened this issue 10 months ago • 13 comments

Summary

Hi!

We are using uv to install python venvs and pytorch in our desktop application. I previously posted our issue of not getting interactive output in a regular subprocess https://github.com/astral-sh/uv/issues/9129.

Would it be possible to include more detailed output? Doesn't have to be interactive. The issue is that right now when we install a requirements.txt file, we don't see any output until everything is finished.

If I launch uv pip instal torch torchvision torchaudio, nothing is written to stdout or stderr until it's finished. Since torch with cuda is large, this can take a while.

[stderr] Resolved 14 packages in 7ms
[stderr] Installed 14 packages in 327ms
[stderr]  + filelock==3.17.0
 + fsspec==2024.12.0
 + jinja2==3.1.5
 + markupsafe==3.0.2
 + mpmath==1.3.0
 + networkx==3.4.2
 + numpy==2.2.2
 + pillow==11.1.0
 + setuptools==75.8.0
 + sympy==1.13.1
 + torch==2.6.0
 + torchaudio==2.6.0
 + torchvision==0.21.0
 + typing-extensions==4.12.2

What would be ideal is:

Resolved 14 packages in 7ms
Installing fsspec...
Finished installing fsspec.
Installing jinja2...


Example

No response

robinjhuang avatar Jan 30 '25 23:01 robinjhuang