Use python -V -V for Windows build diagnostics (#2832)

This commit is contained in:
TT
2026-05-03 20:10:49 +05:30
committed by GitHub
parent a9f58eb656
commit 29d36dc17d
6 changed files with 9 additions and 5 deletions
+1 -1
View File
@@ -271,7 +271,7 @@ def setup_python(
if which_python != str(venv_bin_path / "python"):
msg = "python available on PATH doesn't match our venv instance. If you have modified PATH, ensure that you don't overwrite cibuildwheel's entry or insert python above it."
raise errors.FatalError(msg)
call("python", "--version", env=env)
call("python", "-V", "-V", env=env)
# check what pip version we're on
assert (venv_bin_path / "pip").exists()