pypa / hatch

Modern, extensible Python project management
https://hatch.pypa.io/latest/
MIT License
6.1k stars 309 forks source link

`hatch -v` is mysteriously silent when using `uv` #1767

Closed dhdaines closed 1 month ago

dhdaines commented 1 month ago

When my project uses really big dependencies like PyTorch, I like to use hatch -v to know what the h*ck is going on during the 3 to 75 minutes while it is " .. Installing project in development mode".

I first noticed that hatch -v test no longer does this, and wondered why until I realized that it is now using uv by default. That's cool, but it means that I am now using twice the disk space and network bandwidth unless I also use uv in my default environment... and also I need to make sure to set UV_EXTRA_INDEX_PATH if I don't want 10 gigabytes of NVidia garbage to download along with torch. I'll submit a documentation PR :)

But also, uv is deathly silent even when -v is passed to hatch. So, I dunno... is my network broken? Did I run out of disk space again because of those 10 gigabytes of NVidia nonsense? (yes)

It looks like maybe we can just pass on -v to uv?

dhdaines commented 1 month ago

Oops! Sorry! This problem has already been fixed... Closing it now.