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

Update poetry to v2 #1718

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open

Update poetry to v2 #1718

wants to merge 3 commits into from

Conversation

cdce8p
Copy link
Contributor

@cdce8p cdce8p commented Feb 4, 2025

Poetry v2 was released last month. It added support for the [project] table in pyproject.toml.
https://python-poetry.org/blog/announcing-poetry-2.0.0/

One of the main advantages of v2 is that it's now possible to specify project.requires-python independently of tool.poetry.dependencies.python (which is used for locking). The latter only needs to be a subset of the former. This removes the need push a new release just to support the next Python version if bleak itself would be otherwise compatible.
https://python-poetry.org/docs/pyproject/#requires-python

Project metadata diff:

 ...
-Requires-Python: >=3.8,<3.14
+Requires-Python: >=3.8
 ...

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