chore: migrate from poetry to uv#13
Open
andoludo wants to merge 4 commits into
Open
Conversation
Convert pyproject.toml to PEP 621 with hatchling backend and PEP 735 dependency groups, replace poetry commands in noxfile and CI workflows with uv equivalents, swap poetry.lock for uv.lock, and update install docs to recommend uv add. https://claude.ai/code/session_01YcFhUy7dEUad35PR1tQT8S
Trano 0.17+ requires Python >=3.11, so raise the project's Python floor from 3.10 to 3.11 (pyproject.toml, noxfile, both workflows). Pin linkml and linkml-runtime to <1.10 because trano 0.22 imports linkml.utils.validation and linkml's __init__ uses Format.JSON, both of which were removed in the 1.10 line. https://claude.ai/code/session_01YcFhUy7dEUad35PR1tQT8S
Drop unused type: ignore comments that mypy flagged after the upstream stub updates, modernize typing annotations to PEP 585/604 (List/Dict/ Optional/Union → list/dict/X | None/X | Y) now that the project's Python floor is 3.11, and apply black to the two files it would have reformatted. https://claude.ai/code/session_01YcFhUy7dEUad35PR1tQT8S
Replace the GPL v3 LICENSE text with the LGPL v3 text and switch pyproject.toml to the SPDX expression LGPL-3.0-or-later (the same identifier trano publishes), so downstream consumers see consistent licensing across the two projects. https://claude.ai/code/session_01YcFhUy7dEUad35PR1tQT8S
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.
Convert pyproject.toml to PEP 621 with hatchling backend and PEP 735
dependency groups, replace poetry commands in noxfile and CI workflows
with uv equivalents, swap poetry.lock for uv.lock, and update install
docs to recommend uv add.
https://claude.ai/code/session_01YcFhUy7dEUad35PR1tQT8S