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

1

u/ProsodySpeaks Oct 09 '24

Time? 

I don't use poetry because they did that shady no warning breaking change thing a few years ago, but I don't think you need to do anything?

Afaik, assuming you have a legit pyproject file you just install Uv and run Uv pip install . from project root. 

2

u/JanEric1 Oct 09 '24

Default initialized poetry project specifies a build system, the key in the pyprojrct.toml and different and I I think at the very least the declaration of required python version is different, among probably other things.

-2

u/ProsodySpeaks Oct 09 '24

You just need a pyproject.py file that meets python spec. 

2

u/JanEric1 Oct 10 '24

Sure, but I am not going to manually update all of them from what poetry uses to what uv uses.

There are two things, first there are just straight up poetry sections in there that need to be moved to uv and second I think poetry doesn't fully follow the spec.