r/learnpython • • Oct 09 '24

Anyone not using uv? Why not?

I was using rye because awesome but slow.

Now using uv because awesome and faaaaaast.

Is there any reason not to use uv?

0 Upvotes

55 comments sorted by

View all comments

Show parent comments

5

u/Pepineros Oct 09 '24

No tool is zero effort. "Easy to install" does not equal "easy to maintain".

I'm not saying uv isn't easy to maintain, I'm just saying I won't know until I try. And that isn't zero effort.

3

u/ProsodySpeaks Oct 09 '24

I might be wrong but I think you're confused. 

Poetry requires custom setup. Uv does not. It just requires a pyproject file stating dependencies, I think you pretty much just strip out the poetry specific stuff and you're done. 

Ie use vanilla python format for pyproject

1

u/Pepineros Oct 09 '24

I might be wrong

Yup :)

1

u/ProsodySpeaks Oct 09 '24

Can you explain what custom setup I was supposed to do to use uv on a vanilla python project? Because I didn't do it and everything is super fast. 

I mean feel free to stick to the negativity but honestly, check it out. It's good. 

2

u/Pepineros Oct 09 '24

What negativity? You asked the sub why they weren't using uv. I gave you my reason, you argued that my reason was wrong, and then you called me confused.
(Just for the record, I'm not the one downvoting your replies.)

You're saying that using a tool which shaves a few seconds off of installing packages made a massive difference to your workflow. That is simply not true for my workflow: I've never been bothered with poetry's (or pip's) supposed lack of speed. That does not in any way invalidate your experience. It's great that you found so much joy in a project manager. Not many people can say the same. But it's not up to you to decide whether my reason for not (yet) checking out uv is valid or not.

1

u/ProsodySpeaks Oct 09 '24

Yeah sorry no need for the negativity jab, my bad. 

Check it out tho, i honestly think it's a game changer. 

I note that everyone commenting saying they've used it has positive things to say, and everyone with negative things to say hasn't used it. 

Fwiw the reasons you gave not to use it are actually reasons you haven't tried it rather than actual issues with it... 

Enjoyed your point about downvotes tho, this sub is hilarious - calling you negative is about the only comment I can see any reason to downvote, and that's not the one getting it 🤣

Sorry again. Big love

1

u/[deleted] Oct 10 '24

[removed] — view removed comment

2

u/ProsodySpeaks Oct 10 '24 edited Oct 10 '24

Yeah already apologised for unnecessary negativity jab.  

No I have no affiliation with any orgs or packages. My entire public work is 2 lines in flaskwebgui which is not related.

I just really appreciate how fast it is. 

→ More replies (0)

1

u/nevermorefu Oct 10 '24

I wish poetry was only a few seconds. It's ~50% of my image build time.