News for hackers. Stuff that matters.
Re:uv: An extremely fast Python package and project manager,... by oezi on Monday June 23, 2025 @02:06PM (#44358422)
I continue to be puzzled why sometime running uvx (uv tool run) will redownload all dependencies even though it just downloaded them for another tool. Downloading torch 15 times per day gets old even on 500 mbits
Re:uv: An extremely fast Python package and project manager,... by holysoles on Monday June 23, 2025 @02:22PM (#44358558)
Might be worth opening an issue, the project states it aims to aggressively cache dependencies: https://docs.astral.sh/uv/concepts/cache

Maybe that functionality isnt implemented the same way for uvx.

You could try this equivalent command that is under "uv run" to see if it behaves differently: https://docs.astral.sh/uv/concepts/tools/#relationship-to-uv...

Re:uv: An extremely fast Python package and project manager,... by oezi on Monday June 23, 2025 @02:29PM (#44358616)
I haven't been able to find any kind of rhyme or rhythm to it, so I don't know how to explain when it happens or how to better debug it for a bug report.
Re:uv: An extremely fast Python package and project manager,... by veganjay on Monday June 23, 2025 @02:24PM (#44358572)
Initially, I used `uv tool run <name>`, but later discovered `uv tool install <name>`. The `install` command downloads dependencies once and caches them for future use. It is similar to how `pipx install <name>` works.

e.g.

$ uv tool install asciinema

$ asciinema play example.cast