Replace Poetry with uv for dependency management#2079
Merged
Conversation
- Migrate pyproject.toml from [tool.poetry] to PEP 621 [project] table - Switch build backend from poetry-core to hatchling - Replace [tool.poetry.group.dev] with PEP 735 [dependency-groups] - Move mypy stubs to dev dependency group - Replace poetry.lock with uv.lock - Update CI workflows to use astral-sh/setup-uv instead of pip+poetry - Update RELEASING.md with uv build/publish commands
…cio.new_event_loop()
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #2079 +/- ##
=======================================
Coverage 83.49% 83.49%
=======================================
Files 199 199
Lines 19519 19522 +3
Branches 1058 1058
=======================================
+ Hits 16297 16300 +3
Misses 3036 3036
Partials 186 186 ☔ View full report in Codecov by Harness. |
rytilahti
approved these changes
Jun 27, 2026
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.
Summary
pyproject.tomlfrom[tool.poetry]to PEP 621[project]tablepoetry-coretohatchling[tool.poetry.group.dev]with PEP 735[dependency-groups].pre-commit-config.yamladditional_dependenciesinto the dev dependency grouppoetry.lockwithuv.lock(98 packages resolved)astral-sh/setup-uvinstead ofpip install poetryRELEASING.mdwithuv build/uv publishcommandsMigration notes
uv sync --extra docsreplacespoetry install --extras docsuv sync --all-extrasreplacespoetry install --all-extrasuv run <cmd>replacespoetry run <cmd>Test plan
uv sync --extra docs+ pre-commit)uv buildproduces a valid wheel and sdist