Remix.run Logo
curiousgal 3 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.

necubi 3 days ago | parent | next [-]

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

simonw 3 days ago | parent | prev | next [-]

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.

bmitc 3 days ago | parent [-]

Poetry had already solved that.

simonw 3 days ago | parent | next [-]

What's the poetry equivalent of this?

  uv run --with boto3 python
bmitc 3 days ago | parent [-]

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.

simonw 3 days ago | parent [-]

That command is an environment command. It runs Python in a temporary environment with boto3 installed - I use that trick all the time.

saaspirant 3 days ago | parent | prev [-]

It was very slow compared to uv

bmitc 3 days ago | parent [-]

Yes, but it still solves dependencies and environments.

pixl97 3 days ago | parent [-]

"Solves one problem by introducing another, possibly worse problem"

And you wonder why people didn't adopt it.

roflcopter69 14 hours ago | parent | prev | next [-]

+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!

3 days ago | parent | prev | next [-]
[deleted]
freehorse 3 days ago | parent | prev [-]

Well it is much faster so you can keep iterating installing dependencies until you fix the issue in much less time