From 13b92f9c2dabb65ab4e5eadfefeb1836cd766800 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Tue, 11 Oct 2022 10:06:35 -0400 Subject: [PATCH] fix: hide root pip warning on Linux (#1304) Signed-off-by: Henry Schreiner Signed-off-by: Henry Schreiner --- cibuildwheel/linux.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cibuildwheel/linux.py b/cibuildwheel/linux.py index e0f4add2..80a62639 100644 --- a/cibuildwheel/linux.py +++ b/cibuildwheel/linux.py @@ -157,6 +157,7 @@ def build_in_container( env = container.get_environment() env["PATH"] = f'/opt/python/cp38-cp38/bin:{env["PATH"]}' env["PIP_DISABLE_PIP_VERSION_CHECK"] = "1" + env["PIP_ROOT_USER_ACTION"] = "ignore" env = before_all_options.environment.as_dictionary( env, executor=container.environment_executor )