From 0633bbe933b69b9bf889453fe7aa62d61eb39b99 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Thu, 13 Oct 2022 22:29:52 -0400 Subject: [PATCH] fix: hide root pip warning on Linux again Signed-off-by: Henry Schreiner --- cibuildwheel/linux.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cibuildwheel/linux.py b/cibuildwheel/linux.py index 80a626398..c30c2ef4c 100644 --- a/cibuildwheel/linux.py +++ b/cibuildwheel/linux.py @@ -189,6 +189,8 @@ def build_in_container( log.step("Setting up build environment...") env = container.get_environment() + env["PIP_DISABLE_PIP_VERSION_CHECK"] = "1" + env["PIP_ROOT_USER_ACTION"] = "ignore" # put this config's python top of the list python_bin = config.path / "bin"