From 31901901182cdb764d61e0cca730010847542824 Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Fri, 2 May 2025 03:14:34 +0200 Subject: [PATCH] fix: update poetry to v2 --- poetry.lock | 4 ++-- pyproject.toml | 22 ++++++++++++---------- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/poetry.lock b/poetry.lock index f4b67fa..3cdb152 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 2.1.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 2.1.2 and should not be changed by hand. [[package]] name = "colorama" @@ -309,4 +309,4 @@ files = [ [metadata] lock-version = "2.1" python-versions = "^3.9" -content-hash = "e077226cdd32322fc4b88bb17af8556bc6e579dd7936220430cfdf13e9e234d7" +content-hash = "3a0f8c5f9f77b46f89803e5598e682705c62b9e0467765a27cf22270d49e538a" diff --git a/pyproject.toml b/pyproject.toml index 8a85733..be8aeb6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,11 +1,18 @@ -[tool.poetry] +[project] name = "kasa-crypt" version = "0.6.2" license = "Apache-2.0" description = "Fast kasa crypt" -authors = ["J. Nick Koston "] +authors = [{ name = "J. Nick Koston", email = "nick@koston.org" }] readme = "README.md" -repository = "https://github.com/bdraco/kasa-crypt" +requires-python = ">=3.9" + +[project.urls] +"Repository" = "https://github.com/python-kasa/kasa-crypt" +"Bug Tracker" = "https://github.com/python-kasa/kasa-crypt/issues" +"Changelog" = "https://github.com/python-kasa/kasa-crypt/blob/main/CHANGELOG.md" + +[tool.poetry] classifiers = [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", @@ -21,10 +28,6 @@ packages = [ generate-setup-file = true script = "build_ext.py" -[tool.poetry.urls] -"Bug Tracker" = "https://github.com/bdraco/kasa-crypt/issues" -"Changelog" = "https://github.com/bdraco/kasa-crypt/blob/main/CHANGELOG.md" - [tool.poetry.dependencies] python = "^3.9" @@ -32,13 +35,12 @@ python = "^3.9" pytest = ">=7,<9" pytest-cov = ">=3,<7" - [tool.poetry.group.test.dependencies] cython = ">=0.29.35,<3.1.0" [tool.semantic_release] branch = "main" -version_toml = ["pyproject.toml:tool.poetry.version"] +version_toml = ["pyproject.toml:project.version"] version_variables = ["src/kasa_crypt/__init__.py:__version__"] build_command = "pip install poetry && poetry build" @@ -81,5 +83,5 @@ module = "tests.*" allow_untyped_defs = true [build-system] -requires = ['setuptools>=77.0', 'Cython>=3', "poetry-core>=1.0.0"] +requires = ['setuptools>=77.0', 'Cython>=3', "poetry-core>=2.1.0"] build-backend = "poetry.core.masonry.api"