Remix.run Logo
mtlmtlmtlmtl a day ago

I'm sure it's true and all. But I've been hearing the same claim about all those tools uv is intended to replace, for years now. And every time I try to run any of those, as someone who's not really a python coder, but can shit out scripts in it if needed and sometimes tries to run python software from github, it's been a complete clusterfuck.

So I guess what I'm wondering is, are you a python guy, or are you more like me? because for basically any of these tools, python people tell me "tool X solved all my problems" and people from my own cohort tell me "it doesn't really solve anything, it's still a mess".

If you are one of us, then I'm really listening.

hobofan a day ago | parent | next [-]

I'm one of you.

I'm about the highest tier of package manager nerd you'll find out there, but despite all that, I've been struggling to create/run/manage venvs out there for ages. Always afraid of installing a pip package or some piece of python-based software (that might muck up Python versions).

I've been semi-friendly with Poetry already, but mostly because it was the best thing around at the time, and a step in the right direction.

uv has truely been a game changer. Try it out!

tinco a day ago | parent | prev | next [-]

As a Ruby guy: uv makes Python feel like it finally passed the year 2010.

llIIllIIllIIl a day ago | parent [-]

Don’t forget to schedule your colonoscopy as a Ruby guy

Yoric a day ago | parent | prev | next [-]

As a developer: it basically solved all of my problems that could be solved by a package manager.

As an occasional trainer of scientists: it didn't seem to help my students.

buildbot a day ago | parent [-]

It installs stuff super fast!

It sadly doesn’t solve stuff like transformer_engine being built with cxx11 ABI and pytorch isn’t by default, leading to missing symbols…

OrderlyTiamat a day ago | parent | prev | next [-]

I'm (reluctantly) a python guy, and uv really is a much different experience for me than all the other tools. I've otherwise had much the same experience as you describe here. Maybe it's because `uv` is built in rust? ¯\_ (ツ)_/¯

But I'd also hesitate to say it "solves all my problems". There's plenty of python problems outside of the core focus of `uv`. For example, I think building a python package for distribution is still awkward and docs are not straightforward (for example, pointing to non-python files which I want to include was fairly annoying to figure out).

OoooooooO a day ago | parent | prev | next [-]

As a mainly Python guy (Data Engineering so new project for every ETL pipeline = a lot of projects) uv solved every problem I had before with pip, conda, miniconda, pipx etc.

beacon294 21 hours ago | parent | prev | next [-]

It doesn't handle python version management, it only handles pip. It doesn't solve bundling Python.

re 8 hours ago | parent [-]

It does handle python version management: https://docs.astral.sh/uv/concepts/python-versions/

J_Shelby_J a day ago | parent | prev | next [-]

Isn’t UV essentially cargo for python?

adastra22 a day ago | parent [-]

Somewhat literally so. It is written in Rust and makes use of the cargo-util crate for some overlapping functionality.

rossant a day ago | parent | prev | next [-]

I know, but uv truly is different.

jhardy54 a day ago | parent | prev [-]

I’m a “Python guy” in that I write Python professionally, but also am like you in that I’ve been extremely underwhelmed by Portry/Pipenv/etc.

Python dependencies are still janky, but uv is a significant improvement over existing tools in both performance and ergonomics.