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

fix: update poetry to v2 + add license to metadata #199

Merged
merged 1 commit into from
Feb 3, 2025

Conversation

cdce8p
Copy link
Contributor

@cdce8p cdce8p commented Feb 3, 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. bluetooth-adapters doesn't use any extensions itself, so it should be fine to remove the upper bound here.
https://python-poetry.org/docs/pyproject/#requires-python

Also added project.license.

Project metadata diff:

 ...
+License: Apache-2.0
-Requires-Python: >=3.9,<3.14
+Requires-Python: >=3.9
 ...

Copy link

codecov bot commented Feb 3, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.05%. Comparing base (9050ac7) to head (c1ec7fc).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #199   +/-   ##
=======================================
  Coverage   91.05%   91.05%           
=======================================
  Files          14       14           
  Lines         503      503           
  Branches       49       49           
=======================================
  Hits          458      458           
  Misses         36       36           
  Partials        9        9           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@cdce8p cdce8p requested a review from bdraco February 3, 2025 14:05
@bdraco bdraco merged commit cefa8f1 into Bluetooth-Devices:main Feb 3, 2025
21 checks passed
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