Skip to content

feat: migrate from poetry to uv#136

Merged
long2ice merged 18 commits intolong2ice:devfrom
waketzheng:feat-uv
Mar 28, 2026
Merged

feat: migrate from poetry to uv#136
long2ice merged 18 commits intolong2ice:devfrom
waketzheng:feat-uv

Conversation

@waketzheng
Copy link
Copy Markdown
Contributor

@waketzheng waketzheng commented Sep 1, 2025

Description

Migrate dependencies from [tool.poetry.group.xxx] section to [dependency-groups] as recommended by https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#writing-your-pyproject-toml

Add uv.lock to support both poetry and uv, I test the speed of them on Ubuntu24.04 with Python3.12 by the following command:

poetry env use 3.12
time poetry install --all-groups

uv venv --python 3.12
time uv sync --all-groups

Output:

poetry install --all-groups  13.66s user 1.28s system 4% cpu 5:23.55 total

uv sync --all-groups  0.29s user 0.26s system 30% cpu 1.798 total

This show that uv delivers a 180x speedup compared to poetry.

@waketzheng
Copy link
Copy Markdown
Contributor Author

@long2ice Could you please take a look at this PR? Can it be merged?

@long2ice long2ice merged commit f9d5264 into long2ice:dev Mar 28, 2026
12 checks passed
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.

2 participants