Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade poetry2.0 & apply pep621 #545

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

phi-friday
Copy link
Contributor

@phi-friday phi-friday commented Feb 11, 2025

What's different in poetry2.0: Announcing Poetry 2.0.0

Since poetry2.0 now supports pep621, I was able to modify pyproject.toml to conform to the standard spec.
(I kept the modifications to a minimum).
(Since install-poetry doesn't support poetry2.0, I've changed how to install poetry from github action. snok/install-poetry#164)

However, it does not yet support pep735 (dependency groups), so the proprietary specification tool.poetry.group is retained.
However, this too will be fixed in the future. python-poetry/poetry#9751

If we use poetry in the future, it seems like a good idea to upgrade poetry to 2.0 if possible, as all improvements will only be for 2.0 or later.

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