Live data from Hacker News

uv: Deduplicate all files in the wheel cache

github.com

41–50 of 126 posts

Re: uv: Deduplicate all files in the wheel cache

#42

[flagged]

> Astral people are already in the comments making pro AI coding statements. I can't see any other comment on this post mentioning AI, did you just make this up?

I think this sockpuppet is referring to a different thread I commented in yesterday. But I think it would be an uncharitable stretch to read what I wrote in an official voice, much less “pro” in an unqualified sense.

Re: uv: Deduplicate all files in the wheel cache

#43

uv is the backbone of any modern Python library. I’m excited to see improvements. https://stephenlf.dev/blog/python-library-in-2026/

Good article. But the Makefile part should really be replaced by tox as a best practice. Tox even has a uv runner now that will handle setting up all the environments.

Re: uv: Deduplicate all files in the wheel cache

#45
post #2

People say uv is good because it's fast, but honestly I don't care about that. We switched to using it for distribution of our Python-based tools because it makes it very convenient to install directly from a git repository and then to subsequently update from same repository. No need to build a package.

I have never gotten the speed argument either. Yes it's noticeably faster - but in all my projects it's 1s vs 0.1s, not enough to make a meaningful difference. Even in their benchmarks, the worst number they ever give for pip is 7s [1] (and those numbers are 2+ years old, with python's improvements pip should be doing a little better now). I just can't say I've ever cared about installing dependencies, something you do once, taking 7s longer. Nor do I care how long CI takes, it running in the background is the point.

The one use I can give it is for running scripts with inline dependencies. I have found it a noticeable improvement over pipx there. But that's more due to needing to parse dependencies every single launch, if it's something I use regularly I end up just installing them normally instead, and it's faster than either.

[1] https://github.com/astral-sh/uv/blob/main/BENCHMARKS.md

Re: uv: Deduplicate all files in the wheel cache

#47

Earlier quoted context omitted.

Whereas I made a mistake and bought an underspeced MacBook and my 512GB disk is constantly on the brink of full as I reclaim the last 40 GB over and over from different caches, downloads, and wherever else and had to simply give up on several projects because of their disk usage. Disk isn't free, especially now.

Exactly my experience, even worse because for me it's 2x256GB drives. Eventually I bit the bullet and upgraded one of them to 1TB, but not the one my root partition is mounted on (too lazy for that), so now I find myself moving various large directories across to my "extra" drive and symlinking them. Funnily enough I don't remember this ever being a problem back when 50GB was considered a lot.

Yea, I remember when the family computer had a 40MB hard drive and it was never ever filled to capacity. Now I’m wondering how many new disks to add to my ZFS pool, and when. And how to budget for it.

Re: uv: Deduplicate all files in the wheel cache

#48

[flagged]

If you're going to be unemployed anyway, and they don't gain a single penny by you using it, then what does this protest gain?

Wrong assumptions:

- "unemployed anyway" does not appear in the post you reply to.

- They gain market share and goodwill from fools. Not all gains have to be immediate monetary gains.

You could as well say that using ChatGPT is beneficial since it causes losses to OpenAI right now.

Re: uv: Deduplicate all files in the wheel cache

#49

uv is the backbone of any modern Python library. I’m excited to see improvements. https://stephenlf.dev/blog/python-library-in-2026/

Good article. But the Makefile part should really be replaced by tox as a best practice. Tox even has a uv runner now that will handle setting up all the environments.

There’s a bit of a bootstrap problem there in that Tox (and its dependencies) have to be installed first, unless your makefile is calling “uv run tox” or similar. Uv’s standalone nature makes it ideal for bootstrapping projects in a way that tox isn’t.
Post reply on HN