by hgatrd · 3y ago · 0 comments
Heck, even within the same Python release, I never understood why we need to be in the 2000+ update of pip, for example, and it needs to update itself almost every month or so. It's a ducking dependency installer, just formalize the design and protocols already and keep it at that.
(For context, I never had that issue with npm. Not to any same-order-of-magnitude comparable level at least).
NPM on the other hand: it broke in every project and in trivial cases. E.g. upgrade of postgresql lib.
I hope that deno/smth other will make possible to forget npm finally
Sometimes you want to use the right tool for the job, and sometimes the scripting language that has a lot of environment-based configuration will not be a good fit for an "installer" that needs to handle a lot of environments cleanly.
To your point, One could write something like rye in Python, and then use PyOxidizer to package it up. I imagine a part of this is "Rust is fun", which is totally a legitimate reason to work it. And of course Rust comes with a very good distribution story (Go might have been another good answer for some people).