Hacker News new | ask | show | jobs
by simonw 89 days ago
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.

1 comments

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.