Skip to content

Commit 88d3426

Browse files
authored
fix: update poetry to v2 (#44)
1 parent d3492b6 commit 88d3426

File tree

3 files changed

+19
-24
lines changed

3 files changed

+19
-24
lines changed

poetry.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,20 @@
1-
[tool.poetry]
1+
[project]
22
name = "sensorpro-ble"
33
version = "0.7.0"
44
description = "SensorPro BLE Devices"
5-
authors = ["J. Nick Koston <[email protected]>"]
5+
authors = [{ name = "J. Nick Koston", email = "[email protected]" }]
66
license = "MIT"
77
readme = "README.md"
8-
repository = "https://github.com/bluetooth-devices/sensorpro-ble"
9-
documentation = "https://sensorpro-ble.readthedocs.io"
8+
requires-python = ">=3.11"
9+
dynamic = ["classifiers", "dependencies"]
10+
11+
[project.urls]
12+
"Repository" = "https://github.com/bluetooth-devices/sensorpro-ble"
13+
"Documentation" = "https://sensorpro-ble.readthedocs.io"
14+
"Bug Tracker" = "https://github.com/bluetooth-devices/sensorpro-ble/issues"
15+
"Changelog" = "https://github.com/bluetooth-devices/sensorpro-ble/blob/main/CHANGELOG.md"
16+
17+
[tool.poetry]
1018
classifiers = [
1119
"Development Status :: 2 - Pre-Alpha",
1220
"Intended Audience :: Developers",
@@ -18,10 +26,6 @@ packages = [
1826
{ include = "sensorpro_ble", from = "src" },
1927
]
2028

21-
[tool.poetry.urls]
22-
"Bug Tracker" = "https://github.com/bluetooth-devices/sensorpro-ble/issues"
23-
"Changelog" = "https://github.com/bluetooth-devices/sensorpro-ble/blob/main/CHANGELOG.md"
24-
2529
[tool.poetry.dependencies]
2630
python = ">=3.11,<3.14"
2731
habluetooth = {version = ">=3.42.0", python = ">=3.11,<3.14"}
@@ -41,13 +45,13 @@ docs = [
4145
"sphinx-rtd-theme",
4246
]
4347

44-
[tool.poetry.dev-dependencies]
48+
[tool.poetry.group.dev.dependencies]
4549
pytest = "^8.3"
4650
pytest-cov = "^6.1"
4751

4852
[tool.semantic_release]
4953
branch = "main"
50-
version_toml = ["pyproject.toml:tool.poetry.version"]
54+
version_toml = ["pyproject.toml:project.version"]
5155
version_variables = ["src/sensorpro_ble/__init__.py:__version__"]
5256
build_command = "pip install poetry && poetry build"
5357

@@ -94,5 +98,5 @@ module = "docs.*"
9498
ignore_errors = true
9599

96100
[build-system]
97-
requires = ["poetry-core>=1.0.0"]
101+
requires = ["poetry-core>=2.1.0"]
98102
build-backend = "poetry.core.masonry.api"

setup.py

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)