Skip to content

chore: migrate from poetry to uv#13

Open
andoludo wants to merge 4 commits into
mainfrom
claude/migrate-poetry-to-uv-DCPhj
Open

chore: migrate from poetry to uv#13
andoludo wants to merge 4 commits into
mainfrom
claude/migrate-poetry-to-uv-DCPhj

Conversation

@andoludo
Copy link
Copy Markdown
Owner

@andoludo andoludo commented May 6, 2026

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

claude added 4 commits May 6, 2026 21:19
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
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