Skip to content

Commit 32a00aa

Browse files
committed
Fix using deprecated virtualenv option --wheel
1 parent 4a8e50e commit 32a00aa

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ dependencies = [
6060
"pyproject-api>=1.8",
6161
"tomli>=2.2.1; python_version<'3.11'",
6262
"typing-extensions>=4.12.2; python_version<'3.11'",
63-
"virtualenv>=20.29.1",
63+
"virtualenv>=20.31",
6464
]
6565
optional-dependencies.test = [
6666
"devpi-process>=1.0.2",

src/tox/pytest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,8 @@ def our_setup_state(value: Sequence[str]) -> State:
281281
m.setenv("VIRTUALENV_SYMLINK_APP_DATA", "1")
282282
m.setenv("VIRTUALENV_SYMLINKS", "1")
283283
m.setenv("VIRTUALENV_PIP", "embed")
284-
m.setenv("VIRTUALENV_WHEEL", "embed")
284+
if sys.version_info[:2] < (3, 9):
285+
m.setenv("VIRTUALENV_WHEEL", "embed")
285286
m.setenv("VIRTUALENV_SETUPTOOLS", "embed")
286287
try:
287288
tox_run(args)

0 commit comments

Comments
 (0)