Skip to content

Commit ff2c9f9

Browse files
committed
feat: use project section
1 parent 8e362b1 commit ff2c9f9

File tree

2 files changed

+26
-28
lines changed

2 files changed

+26
-28
lines changed

poetry.lock

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

pyproject.toml

Lines changed: 23 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
1-
[tool.poetry]
1+
[project]
22
name = "coveralls"
33
version = "4.1.0"
44
description = "Show coverage stats online via coveralls.io"
55
readme = "README.rst"
6+
requires-python = ">=3.10"
67

78
repository = "http://github.com/TheKevJames/coveralls-python"
8-
authors = ["Kevin James <coveralls-python@thekev.in>"]
9-
license = "MIT"
10-
11-
packages = [
12-
{ include = "coveralls" },
13-
]
9+
authors = [{ name="Kevin James", email="coveralls-python@thekev.in" }]
10+
license = { text="MIT" }
1411

1512
classifiers = [
1613
"Development Status :: 5 - Production/Stable",
@@ -21,35 +18,36 @@ classifiers = [
2118
"Programming Language :: Python :: Implementation :: CPython",
2219
"Programming Language :: Python :: Implementation :: PyPy",
2320
]
21+
dependencies = [
22+
"coverage[toml] (>=5.0,<8.0,!=6.0.*,!=6.1,!=6.1.1)",
23+
"requests (>=1.0.0,<3.0.0)",
24+
"typer (>=0.12.0,<1.0.0)"
25+
]
2426

25-
[tool.poetry.urls]
27+
[project.urls]
2628
Changelog = "https://github.com/TheKevJames/coveralls-python/blob/master/CHANGELOG.md"
2729
Docs = "https://coveralls-python.rtfd.io/"
2830
Repository = "https://github.com/TheKevJames/coveralls-python"
2931

30-
[tool.poetry.scripts]
32+
[project.scripts]
3133
coveralls = "coveralls.cli:main"
3234
python-coveralls = "coveralls.cli:main"
3335

34-
[tool.poetry.dependencies]
35-
python = ">=3.10,<4.0"
36-
coverage = { version = ">=5.0,<8.0,!=6.0.*,!=6.1,!=6.1.1", extras = ["toml"] }
37-
requests = ">=1.0.0,<3.0.0"
38-
typer = ">=0.12.0,<1.0.0"
3936

40-
pyyaml = { version = ">=3.10,<7.0", optional = true }
37+
[project.optional-dependencies]
38+
yaml = ["pyyaml (>=3.10,<7.0)"]
4139

42-
[tool.poetry.group.dev.dependencies]
43-
pytest = "9.0.2"
44-
responses = "0.26.0"
45-
46-
[tool.poetry.group.docs]
47-
optional = true
48-
[tool.poetry.group.docs.dependencies]
49-
sphinx = { version = "9.1.0", python = ">=3.12" }
40+
[dependency-groups]
41+
dev = [
42+
"pytest ==9.0.2",
43+
"responses ==0.26.0"
44+
]
45+
docs = ["sphinx ==9.1.0; python_version >='3.12'"]
5046

51-
[tool.poetry.extras]
52-
yaml = ["pyyaml"]
47+
[tool.poetry]
48+
packages = [
49+
{ include = "coveralls" },
50+
]
5351

5452
[tool.pytest.ini_options]
5553
# addopts = "-Werror"

0 commit comments

Comments
 (0)