Migrate the project to UV (closes #104) - #105
Open
kocielnik wants to merge 1 commit into
Open
Conversation
Is this not gonna break deployments to Google App Engine? ========================================================= It seems UV is already supported: > Python development on Google Cloud just got a lot faster and easier as > I am excited to announce that uv now comes pre-installed in Cloud Shell! -- Jack Wotherspoon, https://medium.com/google-cloud/lightning-fast-python-on-google-cloud-a8ee4438a977 Other platforms support UV too. Vercel's app deployment engine already *requires* UV: > Vercel now uses uv, a fast Python package manager written in Rust, as > the default package manager during the installation step for all Python > builds. > > This change makes builds 30-65% faster and adds support for more > dependency formats. In addition to requirements.txt or Pipfile, projects > can now declare dependencies with a uv.lock or pyproject.toml file. -- Ricardo Gonzalez and Luke Phillips-Sheard, https://vercel.com/changelog/python-package-manager-uv-is-now-available-for-builds-with-zero Is this tool stable? ==================== Yes. In my experience, UV was able to do everything Poetry does, and more. In addition, is lighter (a single binary), and much faster - comparison here: https://github.com/astral-sh/uv). When asked about the best package manager for today's Python, another Python developer says: > For most Python projects in 2026, uv is the right default. ‒ Tim Hopper, "Python Developer Tooling Handbook", https://pydevtools.com/handbook/explanation/which-python-package-manager-should-i-use/ He says that for any project able to migrate easily (this appears to be one of them), it shouldn't hurt to switch to UV. About Tim Hopper: > Tim Hopper is an AI research engineer at Spotify and a CPython contributor. – https://pydevtools.com/about/ What if it does not work for this particular project? ===================================================== To switch back to Poetry we would only need to revert the migration commit.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ref. #104
Is this not gonna break deployments to Google App Engine? =========================================================
It seems UV is already supported:
-- Jack Wotherspoon,
https://medium.com/google-cloud/lightning-fast-python-on-google-cloud-a8ee4438a977
Other platforms support UV too. Vercel's app deployment engine already requires UV:
-- Ricardo Gonzalez and Luke Phillips-Sheard,
https://vercel.com/changelog/python-package-manager-uv-is-now-available-for-builds-with-zero
Is this tool stable?
Yes. In my experience, UV was able to do everything Poetry does, and more.
In addition, is lighter (a single binary), and much faster - comparison here: https://github.com/astral-sh/uv).
When asked about the best package manager for today's Python, another Python developer says:
‒ Tim Hopper, "Python Developer Tooling Handbook",
https://pydevtools.com/handbook/explanation/which-python-package-manager-should-i-use/
He says that for any project able to migrate easily (this appears to be one of them), it shouldn't hurt to switch to UV.
About Tim Hopper:
– https://pydevtools.com/about/
What if it does not work for this particular project? =====================================================
To switch back to Poetry we would only need to revert the migration commit.