Skip to content

Commit 35e3265

Browse files
committed
Use --force-reinstall in integration test and skip wheel
1 parent 638128c commit 35e3265

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setuptools/tests/integration/test_pip_install_sdist.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def test_install_sdist(package, version, tmp_path, venv_python, setuptools_wheel
137137
# Use a virtualenv to simulate PEP 517 isolation
138138
# but install fresh setuptools wheel to ensure the version under development
139139
env = EXTRA_ENV_VARS.get(package, {})
140-
run([*venv_pip, "install", "wheel", "-I", setuptools_wheel])
140+
run([*venv_pip, "install", "--force-reinstall", setuptools_wheel])
141141
run([*venv_pip, "install", *INSTALL_OPTIONS, sdist], env)
142142

143143
# Execute a simple script to make sure the package was installed correctly

0 commit comments

Comments
 (0)