Skip to content

Commit 42a02e2

Browse files
committed
tests: use extra for tests
Signed-off-by: Henry Schreiner <[email protected]>
1 parent 8e001ca commit 42a02e2

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ 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]
55+
test = ["packaging"]
56+
5457

5558
[tool.ruff.lint]
5659
extend-select = [

requirements.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ PYTEST_MAJOR_VERSION =
1919
8: pytest8
2020

2121
[testenv]
22+
extras = test
2223
deps =
23-
-rrequirements.txt
2424
pytest6: pytest>=6.0.0,<7.0.0
2525
pytest7: pytest>=7.0.0,<7.4.0
2626
pytest8: pytest>=8.0.0,<9.0.0

0 commit comments

Comments
 (0)