Skip to content

Commit 5f93cf9

Browse files
authored
chore: use dependency-groups (#99)
Signed-off-by: Henry Schreiner <[email protected]>
1 parent b18bbb5 commit 5f93cf9

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

pyproject.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ changelog = "https://github.com/pytest-dev/pytest-github-actions-annotate-failur
5151
[project.entry-points.pytest11]
5252
pytest_github_actions_annotate_failures = "pytest_github_actions_annotate_failures.plugin"
5353

54-
[project.optional-dependencies]
54+
[dependency-groups]
55+
dev = [{ include-group = "test"}]
5556
test = ["packaging"]
5657

5758

tox.ini

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ PYTEST_MAJOR_VERSION =
1818
8: pytest8
1919

2020
[testenv]
21-
extras = test
21+
min_version = 4.22.0
22+
groups = test
2223
deps =
2324
pytest6: pytest>=6.0.0,<7.0.0
2425
pytest7: pytest>=7.0.0,<8.0.0

0 commit comments

Comments
 (0)