Skip to content

Commit 2c3c296

Browse files
authored
fix: update poetry to v2 (#1623)
1 parent 6d68a6f commit 2c3c296

2 files changed

Lines changed: 26 additions & 24 deletions

File tree

‎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: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,28 @@
1-
[tool.poetry]
1+
[build-system]
2+
requires = ['setuptools>=77.0', 'Cython>=3.0.8', "poetry-core>=2.1.0"]
3+
build-backend = "poetry.core.masonry.api"
4+
5+
[project]
26
name = "zeroconf"
37
version = "0.147.2"
4-
description = "A pure python implementation of multicast DNS service discovery"
5-
authors = ["Paul Scott-Murphy", "William McBrine", "Jakub Stasiak", "J. Nick Koston"]
68
license = "LGPL-2.1-or-later"
9+
description = "A pure python implementation of multicast DNS service discovery"
710
readme = "README.rst"
8-
repository = "https://github.com/python-zeroconf/python-zeroconf"
9-
documentation = "https://python-zeroconf.readthedocs.io"
11+
authors = [
12+
{ name = "Paul Scott-Murphy" },
13+
{ name = "William McBrine" },
14+
{ name = "Jakub Stasiak" },
15+
{ name = "J. Nick Koston" },
16+
]
17+
requires-python = ">=3.9"
18+
19+
[project.urls]
20+
"Repository" = "https://github.com/python-zeroconf/python-zeroconf"
21+
"Documentation" = "https://python-zeroconf.readthedocs.io"
22+
"Bug Tracker" = "https://github.com/python-zeroconf/python-zeroconf/issues"
23+
"Changelog" = "https://github.com/python-zeroconf/python-zeroconf/blob/master/CHANGELOG.md"
24+
25+
[tool.poetry]
1026
classifiers=[
1127
'Development Status :: 5 - Production/Stable',
1228
'Intended Audience :: Developers',
@@ -15,11 +31,6 @@ classifiers=[
1531
'Operating System :: POSIX :: Linux',
1632
'Operating System :: MacOS :: MacOS X',
1733
'Topic :: Software Development :: Libraries',
18-
'Programming Language :: Python :: 3.9',
19-
'Programming Language :: Python :: 3.10',
20-
'Programming Language :: Python :: 3.11',
21-
'Programming Language :: Python :: 3.12',
22-
'Programming Language :: Python :: 3.13',
2334
'Programming Language :: Python :: Implementation :: CPython',
2435
'Programming Language :: Python :: Implementation :: PyPy',
2536
]
@@ -35,17 +46,13 @@ include = [
3546
# Make sure we don't package temporary C files generated by the build process
3647
exclude = [ "**/*.c" ]
3748

38-
[tool.poetry.urls]
39-
"Bug Tracker" = "https://github.com/python-zeroconf/python-zeroconf/issues"
40-
"Changelog" = "https://github.com/python-zeroconf/python-zeroconf/blob/master/CHANGELOG.md"
41-
4249
[tool.poetry.build]
4350
generate-setup-file = true
4451
script = "build_ext.py"
4552

4653
[tool.semantic_release]
4754
branch = "master"
48-
version_toml = ["pyproject.toml:tool.poetry.version"]
55+
version_toml = ["pyproject.toml:project.version"]
4956
version_variables = [
5057
"src/zeroconf/__init__.py:__version__"
5158
]
@@ -266,11 +273,6 @@ allow_untyped_defs = true
266273
module = "bench.*"
267274
ignore_errors = true
268275

269-
[build-system]
270-
# 1.5.2 required for https://github.com/python-poetry/poetry/issues/7505
271-
requires = ['setuptools>=65.4.1', 'wheel', 'Cython>=3.0.8', "poetry-core>=1.5.2"]
272-
build-backend = "poetry.core.masonry.api"
273-
274276
[tool.codespell]
275277
ignore-words-list = ["additionals", "HASS"]
276278

0 commit comments

Comments
 (0)