From 513ed50ab1925b15a7dfb3d48f475b126382fc11 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Fri, 17 Jan 2025 14:50:55 -0500 Subject: [PATCH] chore: use dependency-groups Signed-off-by: Henry Schreiner --- pyproject.toml | 3 ++- tox.ini | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 3458c6d..02e6e27 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -51,7 +51,8 @@ changelog = "https://github.com/pytest-dev/pytest-github-actions-annotate-failur [project.entry-points.pytest11] pytest_github_actions_annotate_failures = "pytest_github_actions_annotate_failures.plugin" -[project.optional-dependencies] +[dependency-groups] +dev = [{ include-group = "test"}] test = ["packaging"] diff --git a/tox.ini b/tox.ini index bc948ac..f743182 100644 --- a/tox.ini +++ b/tox.ini @@ -18,7 +18,8 @@ PYTEST_MAJOR_VERSION = 8: pytest8 [testenv] -extras = test +min_version = 4.22.0 +groups = test deps = pytest6: pytest>=6.0.0,<7.0.0 pytest7: pytest>=7.0.0,<8.0.0