Skip to content

feat: use project section#674

Open
waketzheng wants to merge 2 commits intoTheKevJames:masterfrom
waketzheng:project-section
Open

feat: use project section#674
waketzheng wants to merge 2 commits intoTheKevJames:masterfrom
waketzheng:project-section

Conversation

@waketzheng
Copy link

@waketzheng waketzheng commented Mar 1, 2026

Use project section 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 Mac with Python3.13 by the following command:

poetry env use 3.13
time poetry install --all-extras --all-groups

uv venv --python 3.13
time uv sync --all-extras --all-groups

Output:

poetry install --all-extras --all-groups  25.89s user 5.45s system 261% cpu 12.006 total

uv sync --all-extras --all-groups  1.73s user 0.98s system 116% cpu 2.319 total

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

@waketzheng waketzheng requested a review from TheKevJames as a code owner March 1, 2026 16:17
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.

1 participant