←back to thread

Fun with uv and PEP 723

(www.cottongeeks.com)
640 points deepakjois | 1 comments | | HN request time: 0.001s | source
Show context
k__ ◴[] No.44369974[source]
Pretty nice!

Some Python devs told me, it's an awesome language, but they envy the Node.js ecosystem for their package management.

Seems like uv finally removed that roadblock.

replies(1): >>44370245 #
Y_Y ◴[] No.44370245[source]
I think they must have been joking!
replies(1): >>44370573 #
wavemode ◴[] No.44370573[source]
Probably not. NPM has its problems but Python packaging has always been significantly messier (partly because, Python is much older than Node and, indeed, much older than the very concept of resolving dependencies over the internet).
replies(2): >>44371476 #>>44371637 #
1. int_19h ◴[] No.44371476[source]
The upside in Python is that dependencies tend to be more coarse grained and things break less when you update. With JS you have to be on the treadmill constantly to avoid bitrot, and because packages tend to be so small and dependency trees so large, there's a lot of potential points of failure when updating anything.