Hacker News new | ask | show | jobs
by curiousgal 84 days ago
Not to gatekeep things but if you think uv solved python dependency issues then you probably never had those issues in the first place and pip would have been enough for your use case. Conda on the other hand, with external binary dependencies, now we're talking.
4 comments

I’m someone who is not a python developer but has to use python tools and run other people’s python code. I have suffered through learning about anaconda, virtualenv, pip, and more. Uv is the first time there’s a tool that just runs the software without requiring me to become a python ecosystem expert
The key issue uv solved wasn't dependencies, it was environments.

I used to have hundreds of venv folders scattered around my machine. These days I use "uv run" or "uvx" or "uv run --with boto3 python" and uv handles all of the bookkeeping for me.

Poetry had already solved that.
What's the poetry equivalent of this?

  uv run --with boto3 python
The claim was:

> The key issue uv solved wasn't dependencies, it was environments.

and not specific, niche features.

I don't know of such a command in Poetry, but it could still be solved with dev groups or running Python in the virtual environment and installing the package.

That command is an environment command. It runs Python in a temporary environment with boto3 installed - I use that trick all the time.
It was very slow compared to uv
Yes, but it still solves dependencies and environments.
"Solves one problem by introducing another, possibly worse problem"

And you wonder why people didn't adopt it.

+1 for Conda. I also have to mention pixi (https://github.com/prefix-dev/pixi) which kinda is a uv for the Conda ecosystem. Highly recommend!
Well it is much faster so you can keep iterating installing dependencies until you fix the issue in much less time