Re:Uv is fantastic, but its package management UX is a mess
by galangalalgol on Thursday May 21, 2026 @08:02PM
(#48230280)
Isn't there a lock file for that? I'm mostly a rust dev, but I thought I saw a lock file in a uv project I was vibe coding
[ Parent
| on HN ]
Re:Uv is fantastic, but its package management UX is a mess
by jim33442 on Thursday May 21, 2026 @08:20PM
(#48230421)
The lockfile does more than just pin the versions of your immediate deps, so one might reset it for some other reason. Or you might want to update individual packages without caring about the specific commands for that, so you edit the package file, delete lockfile, reinstall.
Re:Uv is fantastic, but its package management UX is a mess
by galangalalgol on Thursday May 21, 2026 @09:59PM
(#48231095)
But if I use uv sync and the package I want I don't ever need to toss the whole file right. In rust I'd never sign off on a mr that just randomly updated lots of deps with no reason tied to the issue they were resolving
Re:Uv is fantastic, but its package management UX is a mess
by jim33442 on Sunday May 31, 2026 @06:44PM
(#48350467)
Not sure. Those lockfiles don't seem really human-readable. I wouldn't approve a change that randomly changes the lockfile without explanation, but I would also want the project file to set the requirements rather than relying on the lockfile, cause that's not the lockfile's job.