@@ -429,6 +429,7 @@ def virtualenv_template(
429
429
tmpdir_factory : pytest .TempPathFactory ,
430
430
pip_src : Path ,
431
431
setuptools_install : Path ,
432
+ wheel_install : Path ,
432
433
coverage_install : Path ,
433
434
) -> Iterator [VirtualEnvironment ]:
434
435
@@ -442,8 +443,9 @@ def virtualenv_template(
442
443
tmpdir = tmpdir_factory .mktemp ("virtualenv" )
443
444
venv = VirtualEnvironment (tmpdir .joinpath ("venv_orig" ), venv_type = venv_type )
444
445
445
- # Install setuptools and pip.
446
+ # Install setuptools, wheel and pip.
446
447
install_pth_link (venv , "setuptools" , setuptools_install )
448
+ install_pth_link (venv , "wheel" , wheel_install )
447
449
pip_editable = tmpdir_factory .mktemp ("pip" ) / "pip"
448
450
shutil .copytree (pip_src , pip_editable , symlinks = True )
449
451
# noxfile.py is Python 3 only
@@ -503,7 +505,7 @@ def virtualenv(
503
505
504
506
@pytest .fixture
505
507
def with_wheel (virtualenv : VirtualEnvironment , wheel_install : Path ) -> None :
506
- install_pth_link ( virtualenv , "wheel" , wheel_install )
508
+ pass
507
509
508
510
509
511
class ScriptFactory (Protocol ):
0 commit comments