Skip to content

Migrate from Poetry to UV #8083

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

Merged
merged 5 commits into from
Apr 23, 2025
Merged

Conversation

chenmoneygithub
Copy link
Collaborator

@chenmoneygithub chenmoneygithub commented Apr 18, 2025

UV is trending, and it has a few solid advantages over poetry:

  • No extra sections in pyproject.toml. With poetry we are duplicating information in pyproject.toml
  • Fast like lightning. The first uv sync installs all deps packages in ~6s, very impressive.

Tested the release on test-pypi, no problem detected: https://github.com/chenmoneygithub/dspy/actions/runs/14610912108

@CyrusNuevoDia
Copy link
Collaborator

This is awesome!

Last I tried uv it failed to install torch on my Mac, but rye (which used uv under the hood, did).

Since Rye is essentially archived right now and all future dev is going to uv this makes a lot of sense

Copy link
Collaborator

@TomeHirata TomeHirata left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@chenmoneygithub chenmoneygithub merged commit 0363c2e into stanfordnlp:main Apr 23, 2025
3 checks passed
@chenmoneygithub chenmoneygithub deleted the uv branch April 25, 2025 21:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants