You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should consider replacing poetry with uv for dependency management.
Pro's of Poetry
Faster than pip
Easy CLI
Pro's of uv:
Faster than Poetry
Replaces a bunch of tools
pipx: Install and run Python applications in isolated environments
pyenv: You just configure your project to require a certain Python version the right Python version is installed, the virtual environment gets created, and the dependencies get installed very fast
Improved dependency resolution
While Poetry does a great job at this, uv is even better when dealing with multiple interdependencies
Relatively new, but rapidly gaining popularity and is considered stable
No direct support yet from Dependabot, although this shouldn't be a big deal since we're always outputting requirements.txt formats that can be scanned
The text was updated successfully, but these errors were encountered:
Is it easy to do a quick benchmark of build-times? Might make the speedup argument a bit clearer, as I think this could be one of the most impactful changes.
If we wish to replace Poetry, we should do so a few releases later
As of today, PyCharm also has official support for using uv. It also still works with older versions of the IDE, you just have to point to the right virtual environment that uv has created for your project
Is it easy to do a quick benchmark of build-times? Might make the speedup argument a bit clearer, as I think this could be one of the most impactful changes.
I can run a comparison soon, but based on my experience installing (Python) dependencies accounts for most of the build time. We should definitely see a noticeable improvement there
We should consider replacing
poetry
withuv
for dependency management.Pro's of Poetry
Pro's of uv:
pyproject.toml
file that adheres to standards-compliant sectionsCons of uv:
The text was updated successfully, but these errors were encountered: