News for hackers. Stuff that matters.
Re:uv: An extremely fast Python package and project manager,... by yjftsjthsd-h on Monday June 23, 2025 @04:06PM (#44359522)
> Each user had 10GB of storage allocated and pip's cache was taking up a ton of space & not letting me change the location properly. Switched to uv and everything just worked

Is it better about storage use? (And if so, how? Is it just good at sharing what can be shared?)

Re:uv: An extremely fast Python package and project manager,... by fsh on Monday June 23, 2025 @04:12PM (#44359578)
uv hardlinks identical packages, so adding virtual envs takes up very little space.
Re:uv: An extremely fast Python package and project manager,... by snerbles on Monday June 23, 2025 @04:32PM (#44359776)
Unless you cross mount points, which uv will helpfully warn about.
Re:uv: An extremely fast Python package and project manager,... by codethief on Monday June 23, 2025 @05:42PM (#44360456)
In those situations, have you had a any luck using UV_LINK_MODE=symlink? I eventually had to resort to `copy` mode because it seemed the folder names (hashes) uv created in the package cache were not fully deterministic. So sometimes my cache volume would change and my Docker build would break. :\
Re:uv: An extremely fast Python package and project manager,... by kissgyorgy on Monday June 23, 2025 @05:03PM (#44360060)
There is a global cache for all installed packages in the user home cache dir.
Re:uv: An extremely fast Python package and project manager,... by acheong08 on Monday June 23, 2025 @05:58PM (#44360598)
Both pip and uv cache packages to ~/.cache. Uv lets you change it to /tmp and symlink instead of copying
Re:uv: An extremely fast Python package and project manager,... by esseph on Tuesday June 24, 2025 @02:10AM (#44363289)
Note: /tmp will take awhile to get rid of, but it's definitely on the chopping block.

I'd avoid workflows that lean on it, if anything else for security's sake.