Live data from Hacker News

Uv is the best thing to happen to the Python ecosystem in a decade

emily.space

581–590 of 1001 posts

Re: Uv is the best thing to happen to the Python ecosystem in a decade

#583

I gotta say, I feel pretty vindicated after hearing for years how Python’s tooling was just fine and you should just use virtualenv with pip and how JS must be worse, that when Python devs finally get a taste of npm/cargo/bundler in their ecosystem, they freaking love it. Because yes, npm has its issues but lock files and consistent installs are amazing

I’ve been saying this for years! JS gets alot of hate for dependency hell.

Why?

It’s almost too easy to add one compared to writing your own functions.

Now compare that to adding a dependency to a c++ project

Re: Uv is the best thing to happen to the Python ecosystem in a decade

#584

Seems like a commercial blog. And imho hatch is better from a Foss perspective. UV means getting more strings attached with VC funded companies and leaning on their infrastructure. This is a high risk for any FOSS community and history tells us how this ends….

This is going to sound harsh, but the problem with hatch is that it's pypa. And look at all the people that equate python-the-language with problems in pypa-managed solutions already. Pypa does not make good stuff or make good decisions. Speaking of history, I was very sympathetic to the "we are open-source volunteers, give us a break" kind of stuff for the first N years.. but pypa has a pattern of creating problems,…

> Pypa does not make good stuff or make good decisions.

yep, I've been saying this for years, and astral have proved it in the best way: with brilliant, working software

python was a dying project 10 years ago, after the python 3000 debacle

the talent left/lost interest

then the machine learning thing kicked off (for some reason using python), and now python is everywhere and suddenly massively important

and the supporting bureaucracies, still in their death throes, are unable to handle a project of its importance

Re: Uv is the best thing to happen to the Python ecosystem in a decade

#585
post #21

I must be the odd man out but I am not a fan of uv. 1. It tries to do too many things. Please just do one thing and do it well. It's simultaneously trying to replace pip, pyenv, virtualenv, and ruff in one command. 2. You end up needing to use `uv pip` so it's not even a full replacement for pip. 3. It does not play well with Docker. 4. It adds more complexity. You end up needing to understand all of these new enviro…

When do you use `uv pip`? I never use it. It feels like an edge case only command.

Re: Uv is the best thing to happen to the Python ecosystem in a decade

#586
post #115

Earlier quoted context omitted.

This isn't a comment just about Python.. but it should just work. There shouldn't be constant ceremony for getting and keeping environments running.

It does, Python has essentially solved it for years.

lol no it hasn't

Why else is this discussion getting hundreds of comments?

For any random python tool out there, I had about a 60% chance it would work out of the box. uv is the first tool in the python ecosystem that has brought that number basically to 100%. Ironically, it's written in Rust because python does not lend itself well to distributing reliable, fast tools to end users.

Re: Uv is the best thing to happen to the Python ecosystem in a decade

#588
post #570

Earlier quoted context omitted.

It doesn't really matter that it's Rust. npm is written in JS.

npm runs dog slow IME

Yep, it’s next up for language package tooling that runs dog slow in CI and is consistently a pain in my side.

Re: Uv is the best thing to happen to the Python ecosystem in a decade

#589
post #88

Earlier quoted context omitted.

You might be interested in pixi, which is roughly to conda as uv is to pip (also written in Rust, it reuses the uv solver for PyPI packages)

I wish the Python ecosystem would just switch to Rust. Things are nice over here… please port your packages to crates.

The unspoken assertion that Rust and Python are interchangeable is pretty wild and needs significant defense, I think. I know a lot of scientists who would see their first borrow checker error and immediately move back to Python/C++/Matlab/Fortran/Julia and never consider rust again.
Post reply on HN