File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 1+ ``tox>=4 `` is now required when contributing to pytest.
Original file line number Diff line number Diff line change 11[tox]
2- isolated_build = True
3- minversion = 3.20.0
4- distshare = {homedir}/.tox/distshare
2+ requires =
3+ tox >= 4
54envlist =
65 linting
76 py310
@@ -94,12 +93,14 @@ deps =
9493 xdist: pytest-xdist>=2.1.0
9594 xdist: -e .
9695 {env:_PYTEST_TOX_EXTRA_DEP:}
96+ # Can use the same wheel for all environments.
97+ package = wheel
98+ wheel_build_env = .pkg
9799
98100[testenv:linting]
99101description =
100102 run pre-commit-defined linters under `{basepython}`
101103skip_install = True
102- basepython = python3
103104deps = pre-commit>=2.9.3
104105commands = pre-commit run --all-files --show-diff-on-failure {posargs:}
105106setenv =
@@ -127,7 +128,6 @@ setenv =
127128[testenv:docs-checklinks]
128129description =
129130 check the links in the documentation with `{basepython}`
130- basepython = python3
131131usedevelop = True
132132changedir = doc/en
133133deps = -r{toxinidir}/doc/en/requirements.txt
@@ -141,7 +141,6 @@ setenv =
141141description =
142142 regenerate documentation examples under `{basepython}`
143143changedir = doc/en
144- basepython = python3
145144passenv =
146145 SETUPTOOLS_SCM_PRETEND_VERSION_FOR_PYTEST
147146deps =
@@ -194,7 +193,6 @@ commands =
194193
195194[testenv:release]
196195description = do a release, required posarg of the version number
197- basepython = python3
198196usedevelop = True
199197passenv = *
200198deps =
@@ -212,7 +210,6 @@ commands = python scripts/prepare-release-pr.py {posargs}
212210
213211[testenv:generate-gh-release-notes]
214212description = generate release notes that can be published as GitHub Release
215- basepython = python3
216213usedevelop = True
217214deps =
218215 pypandoc
You can’t perform that action at this time.
0 commit comments