Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider moving from poetry to uv #439

Open
ItsDrike opened this issue Feb 5, 2025 · 0 comments
Open

Consider moving from poetry to uv #439

ItsDrike opened this issue Feb 5, 2025 · 0 comments
Labels
a: dependencies Related to package dependencies and management

Comments

@ItsDrike
Copy link
Member

ItsDrike commented Feb 5, 2025

To follow the latest best / most recommended practices for python project packaging tools, we might want to consider moving to uv.

Previously, uv was just a pip alternative, but it has since been updated and became a full fledged tool for projects packaging & dependecy management. Uv is written in rust and is developed by the same people that work on the ruff linter & formatter which we're already using. It has proper support for all the needs that we currently have when it comes to dependency management, including built-in support for python version picking and dependency groups. Uv can also install the necessary python versions automatically (auto-downloading pre-compiled python binaries). The main advantage of uv would definitely be the speed increase though, which can easily be 10x faster in comparison to poetry.

To be fair, poetry is still not a bad choice and this isn't something that we'd have to quickly push for, but it may be a nice change to make as poetry grows less and less popular in favor of uv.

Note regarding #394: uv is more stable than Rye and even the Rye maintainers suggest using uv instead.

@ItsDrike ItsDrike added the a: dependencies Related to package dependencies and management label Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a: dependencies Related to package dependencies and management
Projects
None yet
Development

No branches or pull requests

1 participant