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

Migrate from poetry to uv #560

Merged
merged 6 commits into from
Sep 13, 2024
Merged

Migrate from poetry to uv #560

merged 6 commits into from
Sep 13, 2024

Conversation

KapJI
Copy link
Collaborator

@KapJI KapJI commented Sep 12, 2024

uv is written in rust and much faster than poetry. It now can be used as a full featured package manager: https://astral.sh/blog/uv-unified-python-packaging

  • It's a relatively small binary which can be installed without pip or caching, which greatly simplifies our CI.
  • Use https://github.com/pypa/twine for publishing as suggested by uv docs: https://docs.astral.sh/uv/guides/publish/
  • Use proper dynamic versioning which automatically infers version from git tag using vcs plugin for hatchling.
  • Update some dependencies as well.
  • Updated docs and checked that there are no more references to poetry in this repo.
  • CI is even faster now.

@KapJI KapJI added the dependencies Pull requests that update a dependency file label Sep 12, 2024
@KapJI KapJI merged commit e83580e into leikoilja:master Sep 13, 2024
7 checks passed
@KapJI KapJI deleted the uv branch September 13, 2024 08:03
@leikoilja
Copy link
Owner

Boom what an amazing change 🚀 thank you 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants