build: Migrate from Poetry to uv - #606
Merged
Merged
Conversation
Replace Poetry with uv for dependency management, packaging, and publishing: - Convert pyproject.toml to PEP 621 project metadata with the uv_build backend and PEP 735 dependency groups. - Replace poetry.lock with uv.lock, keeping the previously locked versions of the lint toolchain (black, pylint, mypy, rstcheck, docutils) to avoid behavior drift. - Update the justfile to use uv run, uv build, and uv version. - Replace the Poetry setup and caching in GitHub Actions with astral-sh/setup-uv, and switch publishing to uv publish. - Install uv instead of Poetry in the devcontainer. - Update the README development docs. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Xi2DoWdLxtV7AqqxtbQVqN
With PEP 621 metadata, black now infers its target versions from requires-python and applies newer formatting (trailing commas after **kwargs). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Xi2DoWdLxtV7AqqxtbQVqN
Declare required-version under [tool.uv] and let setup-uv discover it from the config file instead of passing a version through an action input. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Xi2DoWdLxtV7AqqxtbQVqN
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.
Replace Poetry with uv for dependency management, packaging, and
publishing:
backend and PEP 735 dependency groups.
versions of the lint toolchain (black, pylint, mypy, rstcheck,
docutils) to avoid behavior drift.
astral-sh/setup-uv, and switch publishing to uv publish.
Co-Authored-By: Claude Fable 5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01Xi2DoWdLxtV7AqqxtbQVqN