Skip to content

Commit d1a2f3c

Browse files
committed
fix: update poetry to v2
1 parent 3ee973e commit d1a2f3c

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

pyproject.toml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,18 @@
1-
[tool.poetry]
1+
[project]
22
name = "kasa-crypt"
33
version = "0.6.2"
44
license = "Apache-2.0"
55
description = "Fast kasa crypt"
6-
authors = ["J. Nick Koston <[email protected]>"]
6+
authors = [{ name = "J. Nick Koston", email = "[email protected]" }]
77
readme = "README.md"
8-
repository = "https://github.com/bdraco/kasa-crypt"
8+
requires-python = ">=3.9"
9+
10+
[project.urls]
11+
"Repository" = "https://github.com/python-kasa/kasa-crypt"
12+
"Bug Tracker" = "https://github.com/python-kasa/kasa-crypt/issues"
13+
"Changelog" = "https://github.com/python-kasa/kasa-crypt/blob/main/CHANGELOG.md"
14+
15+
[tool.poetry]
916
classifiers = [
1017
"Development Status :: 2 - Pre-Alpha",
1118
"Intended Audience :: Developers",
@@ -21,24 +28,19 @@ packages = [
2128
generate-setup-file = true
2229
script = "build_ext.py"
2330

24-
[tool.poetry.urls]
25-
"Bug Tracker" = "https://github.com/bdraco/kasa-crypt/issues"
26-
"Changelog" = "https://github.com/bdraco/kasa-crypt/blob/main/CHANGELOG.md"
27-
2831
[tool.poetry.dependencies]
2932
python = "^3.9"
3033

3134
[tool.poetry.group.dev.dependencies]
3235
pytest = ">=7,<9"
3336
pytest-cov = ">=3,<7"
3437

35-
3638
[tool.poetry.group.test.dependencies]
3739
cython = ">=0.29.35,<3.1.0"
3840

3941
[tool.semantic_release]
4042
branch = "main"
41-
version_toml = ["pyproject.toml:tool.poetry.version"]
43+
version_toml = ["pyproject.toml:project.version"]
4244
version_variables = ["src/kasa_crypt/__init__.py:__version__"]
4345
build_command = "pip install poetry && poetry build"
4446

@@ -81,5 +83,5 @@ module = "tests.*"
8183
allow_untyped_defs = true
8284

8385
[build-system]
84-
requires = ['setuptools>=77.0', 'Cython>=3', "poetry-core>=1.0.0"]
86+
requires = ['setuptools>=77.0', 'Cython>=3', "poetry-core>=2.1.0"]
8587
build-backend = "poetry.core.masonry.api"

0 commit comments

Comments
 (0)