Skip to content

Commit 4973bf3

Browse files
committed
tox: use the same wheel for all environments
Since pytest wheel is "universal" (not different between Python versions or implementations or anything), the same wheel can be reused. See: https://tox.wiki/en/stable/config.html#wheel_build_env https://tox.wiki/en/stable/upgrading.html#universal-wheels
1 parent be230b6 commit 4973bf3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tox.ini

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,9 @@ deps =
9292
xdist: pytest-xdist>=2.1.0
9393
xdist: -e .
9494
{env:_PYTEST_TOX_EXTRA_DEP:}
95+
# Can use the same wheel for all environments.
96+
package = wheel
97+
wheel_build_env = .pkg
9598

9699
[testenv:linting]
97100
description =

0 commit comments

Comments
 (0)