Skip to content

Commit dfefd38

Browse files
committed
bookmarkmgr: Migrate to Poetry v2
1 parent 93729cb commit dfefd38

File tree

2 files changed

+17
-11
lines changed

2 files changed

+17
-11
lines changed

bookmarkmgr/poetry.lock

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

bookmarkmgr/pyproject.toml

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
[project]
2+
name = "bookmarkmgr"
3+
description = ""
4+
version = "0.1.0"
5+
authors = []
6+
requires-python = '>=3.12,<4.0'
7+
# Dependabot still requires `tool.poetry.dependencies`.
8+
# https://github.com/dependabot/dependabot-core/issues/11237#issuecomment-2846037231
9+
dynamic = ["dependencies"]
10+
11+
[project.scripts]
12+
bookmarkmgr = "bookmarkmgr.__main__:main"
13+
114
[tool.mypy]
215
check_untyped_defs = true
316
disallow_any_generics = true
@@ -25,10 +38,7 @@ module = [
2538
ignore_missing_imports = true
2639

2740
[tool.poetry]
28-
name = "bookmarkmgr"
29-
version = "0.1.0"
30-
description = ""
31-
authors = []
41+
requires-poetry = '>=2.0'
3242

3343
[tool.poetry.dependencies]
3444
aiohttp = "^3.11.18"
@@ -37,7 +47,6 @@ cffi = "^1.17.1"
3747
# >1.13.0 adds garbage characters.
3848
enlighten = "1.13.0"
3949
overrides = "^7.7.0"
40-
python = "^3.12"
4150
tld = "^0.13"
4251
yarl = "^1.20.0"
4352

@@ -48,9 +57,6 @@ mypy = "^1.15.0"
4857
[tool.poetry.build]
4958
script = "build.py"
5059

51-
[tool.poetry.scripts]
52-
bookmarkmgr = "bookmarkmgr.__main__:main"
53-
5460
[tool.ruff]
5561
line-length = 79
5662
target-version = "py312"
@@ -73,7 +79,7 @@ order-by-type = false
7379
[build-system]
7480
requires = [
7581
"cffi",
76-
"poetry-core",
82+
'poetry-core (>=2.0,<3.0)',
7783
"setuptools",
7884
]
7985
build-backend = "poetry.core.masonry.api"

0 commit comments

Comments
 (0)