Merge pull request #1311 from henryiii/henryiii/fix/rootpip2

fix: hide root pip warning and upgrade check
This commit is contained in:
Joe Rickerby
2022-10-26 19:45:43 +01:00
committed by GitHub
2 changed files with 9 additions and 1 deletions
+2
View File
@@ -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"