Skip to content

Commit f0799ac

Browse files
authored
Support external tox.pytest usage via "test" extra (#3422)
In order to allow plugin writers to easily pull in all dependencies needed to use the `tox.pytest` module, add a new `test` extra with a subset of the test dependency group. Though the pytest package should be present in the users' environment anyway, we still add it for consistency and to produce a conflict just in case the version has been constrained to an older version by the project.
1 parent ec88713 commit f0799ac

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Diff for: docs/changelog/3415.misc.rst

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Provide ``test`` extra to support plugin authors using ``tox.pytest``.

Diff for: pyproject.toml

+5
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,11 @@ dependencies = [
6262
"typing-extensions>=4.12.2; python_version<'3.11'",
6363
"virtualenv>=20.26.6",
6464
]
65+
optional-dependencies.test = [
66+
"devpi-process>=1.0.2",
67+
"pytest>=8.3.3",
68+
"pytest-mock>=3.14",
69+
]
6570
urls.Documentation = "https://tox.wiki"
6671
urls.Homepage = "http://tox.readthedocs.org"
6772
urls."Release Notes" = "https://tox.wiki/en/latest/changelog.html"

0 commit comments

Comments
 (0)