3 ms·
uv and its flexibility is an a absolute marvel. Where pip took 10 minutes, uv can handle it in 20-30s.
by slau 1y ago
uv and its flexibility is an a absolute marvel. Where pip took 10 minutes, uv can handle it in 20-30s.
- ljm 1y agoIt’s an absolute godsend. I thought poetry was a nice improvement but it had its flaws as well (constant merge conflicts in the lock file in particular). Uv works more or less the same as I’m used to with other tooling in Ruby, JS, Rust, etc.
- robertlagrant 1y agoHow does uv avoid merge conflicts in lock files? I need a reason to switch.
- ljm 1y agoI never got a chance to see the difference there because I moved on shortly after. It was just that almost constant conflicts with poetry (and the errors about the project being out of sync) with a team developing in parallel were painful enough for me to suggest we try uv instead. It seemed uniformly better with a simpler docker setup too (although I liked how pants would created executable bundles and you could just ship those).
- robertlagrant 1y agoFair enough! I'm a bit surprised that anyone could get regular out of sync errors unless a team member were constantly updating dependencies every commit. But then if they did that with uv I'd imagine they'd have the same issue. Unless uv does something extra smart and creates you a new environment for every git branch.