Earlier quoted context omitted.
> The script now works like a standalone executable But whoever runs this has to install uv first, so not really standalone.
And a shell
Uv is the best thing to happen to the Python ecosystem in a decade
581–590 of 1001 posts
Re: Uv is the best thing to happen to the Python ecosystem in a decade
#582Re: Uv is the best thing to happen to the Python ecosystem in a decade
#583I 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
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
#584Seems 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,…
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
#585I 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…
Re: Uv is the best thing to happen to the Python ecosystem in a decade
#586Earlier 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.
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
#587It’s puzzling why Python became the de facto standard scripting language rather than Ruby when the tooling was so inferior.
Re: Uv is the best thing to happen to the Python ecosystem in a decade
#588Re: Uv is the best thing to happen to the Python ecosystem in a decade
#589Earlier 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.
Re: Uv is the best thing to happen to the Python ecosystem in a decade
#590How do I install it globally on a system? Debian doesn't let me install packages via pip outside of a venv or similar.