Skip to content

Commit f252274

Browse files
committed
fix: hide root pip warning on Linux again
Signed-off-by: Henry Schreiner <[email protected]>
1 parent 1aa841b commit f252274

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cibuildwheel/linux.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,8 @@ def build_in_container(
189189
log.step("Setting up build environment...")
190190

191191
env = container.get_environment()
192+
env["PIP_DISABLE_PIP_VERSION_CHECK"] = "1"
193+
env["PIP_ROOT_USER_ACTION"] = "ignore"
192194

193195
# put this config's python top of the list
194196
python_bin = config.path / "bin"

0 commit comments

Comments
 (0)