Skip to content

Commit fe2bfb6

Browse files
committed
Use project table in pyproject.toml
1 parent cdfc8a2 commit fe2bfb6

2 files changed

Lines changed: 43 additions & 32 deletions

File tree

poetry.lock

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

pyproject.toml

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,36 @@
1-
[tool.poetry]
1+
[project]
22
name = "asserts"
33
version = "0.13.2.dev0"
44
description = "Stand-alone Assertions"
55
readme = "README.md"
6-
authors = ["Sebastian Rittau <srittau@rittau.biz>"]
6+
authors = [{ name = "Sebastian Rittau", email = "srittau@rittau.biz" }]
77
license = "MIT"
8-
homepage = "https://github.com/srittau/python-asserts"
9-
repository = "https://github.com/srittau/python-asserts"
108
classifiers = [
119
"Development Status :: 3 - Alpha",
1210
"Intended Audience :: Developers",
1311
"Topic :: Software Development :: Quality Assurance",
1412
"Topic :: Software Development :: Testing",
1513
]
16-
packages = [{ include = "asserts" }]
17-
include = ["*/py.typed", "*.pyi"]
14+
requires-python = ">= 3.8.1"
15+
dependencies = ["typing-extensions >= 4.10.0, < 5"]
1816

19-
[tool.poetry.urls]
17+
[project.urls]
18+
"Homepage" = "https://github.com/srittau/python-asserts"
19+
"Repository" = "https://github.com/srittau/python-asserts"
2020
"GitHub" = "https://github.com/srittau/python-asserts"
2121
"Bug Tracker" = "https://github.com/srittau/python-asserts/issues"
2222
"Changes" = "https://github.com/srittau/python-asserts/blob/main/CHANGELOG.md"
2323

24-
[tool.poetry.dependencies]
25-
python = ">=3.8.1"
26-
typing-extensions = "^4.10.0"
24+
[project.optional-dependencies]
25+
dev = [
26+
"mypy >= 1.9, < 1.15",
27+
"poethepoet >= 0.27.0, < 0.31",
28+
"ruff >= 0.5.1, < 0.15.0",
29+
]
2730

28-
[tool.poetry.group.dev.dependencies]
29-
mypy = ">=1.9,<1.15"
30-
poethepoet = ">=0.27.0,<0.31"
31-
ruff = ">=0.5.1,<0.15.0"
31+
[tool.poetry]
32+
packages = [{ include = "asserts" }]
33+
include = ["*/py.typed", "*.pyi"]
3234

3335
[tool.ruff]
3436
line-length = 79

0 commit comments

Comments
 (0)