diff --git a/poetry.lock b/poetry.lock index 79f56a32..2ca9e7e7 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.2.1 and should not be changed by hand. [[package]] name = "alabaster" @@ -507,7 +507,7 @@ description = "Read metadata from Python packages" optional = false python-versions = ">=3.9" groups = ["dev", "docs"] -markers = "python_version < \"3.10\"" +markers = "python_version == \"3.9\"" files = [ {file = "importlib_metadata-8.6.1-py3-none-any.whl", hash = "sha256:02a89390c1e15fdfdc0d7c6b25cb3e62650d0494005c97d6f148bf5b9787525e"}, {file = "importlib_metadata-8.6.1.tar.gz", hash = "sha256:310b41d755445d74569f993ccfc22838295d9fe005425094fad953d7f15c8580"}, @@ -1159,7 +1159,7 @@ description = "Backport of pathlib-compatible object wrapper for zip files" optional = false python-versions = ">=3.9" groups = ["dev", "docs"] -markers = "python_version < \"3.10\"" +markers = "python_version == \"3.9\"" files = [ {file = "zipp-3.21.0-py3-none-any.whl", hash = "sha256:ac1bbe05fd2991f160ebce24ffbac5f6d11d83dc90891255885223d42b3cd931"}, {file = "zipp-3.21.0.tar.gz", hash = "sha256:2c9958f6430a2040341a52eb608ed6dd93ef4392e02ffe219417c1b28b5dd1f4"}, @@ -1176,4 +1176,4 @@ type = ["pytest-mypy"] [metadata] lock-version = "2.1" python-versions = "^3.9" -content-hash = "8fe5bf5d6c9d82ae18735beca8c89be8847cdfd62ad044d5e7dbb7f65f1c3cf2" +content-hash = "9a9d1f3bd06a8b5750b5843da18367fe2f3534cf741f7148aae071d2c44014bd" diff --git a/pyproject.toml b/pyproject.toml index cd44e324..af9eb0d4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,12 +1,28 @@ -[tool.poetry] +[build-system] +requires = ['setuptools>=77.0', 'Cython>=3.0.8', "poetry-core>=2.1.0"] +build-backend = "poetry.core.masonry.api" + +[project] name = "zeroconf" version = "0.147.2" -description = "A pure python implementation of multicast DNS service discovery" -authors = ["Paul Scott-Murphy", "William McBrine", "Jakub Stasiak", "J. Nick Koston"] license = "LGPL-2.1-or-later" +description = "A pure python implementation of multicast DNS service discovery" readme = "README.rst" -repository = "https://github.com/python-zeroconf/python-zeroconf" -documentation = "https://python-zeroconf.readthedocs.io" +authors = [ + { name = "Paul Scott-Murphy" }, + { name = "William McBrine" }, + { name = "Jakub Stasiak" }, + { name = "J. Nick Koston" }, +] +requires-python = ">=3.9" + +[project.urls] +"Repository" = "https://github.com/python-zeroconf/python-zeroconf" +"Documentation" = "https://python-zeroconf.readthedocs.io" +"Bug Tracker" = "https://github.com/python-zeroconf/python-zeroconf/issues" +"Changelog" = "https://github.com/python-zeroconf/python-zeroconf/blob/master/CHANGELOG.md" + +[tool.poetry] classifiers=[ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', @@ -15,11 +31,6 @@ classifiers=[ 'Operating System :: POSIX :: Linux', 'Operating System :: MacOS :: MacOS X', 'Topic :: Software Development :: Libraries', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'Programming Language :: Python :: 3.11', - 'Programming Language :: Python :: 3.12', - 'Programming Language :: Python :: 3.13', 'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', ] @@ -35,17 +46,13 @@ include = [ # Make sure we don't package temporary C files generated by the build process exclude = [ "**/*.c" ] -[tool.poetry.urls] -"Bug Tracker" = "https://github.com/python-zeroconf/python-zeroconf/issues" -"Changelog" = "https://github.com/python-zeroconf/python-zeroconf/blob/master/CHANGELOG.md" - [tool.poetry.build] generate-setup-file = true script = "build_ext.py" [tool.semantic_release] branch = "master" -version_toml = ["pyproject.toml:tool.poetry.version"] +version_toml = ["pyproject.toml:project.version"] version_variables = [ "src/zeroconf/__init__.py:__version__" ] @@ -266,11 +273,6 @@ allow_untyped_defs = true module = "bench.*" ignore_errors = true -[build-system] -# 1.5.2 required for https://github.com/python-poetry/poetry/issues/7505 -requires = ['setuptools>=65.4.1', 'wheel', 'Cython>=3.0.8', "poetry-core>=1.5.2"] -build-backend = "poetry.core.masonry.api" - [tool.codespell] ignore-words-list = ["additionals", "HASS"]