Commit 1242fac5 by Bjorn Neergaard Committed by GitHub

fix: run pip with --isolated to avoid bad local config (#6531)

Resolves: #6521
parent cc3f9942
...@@ -25,7 +25,13 @@ def pip_install( ...@@ -25,7 +25,13 @@ def pip_install(
# either the virtual environment or the virtualenv package embedded wheel. Version # either the virtual environment or the virtualenv package embedded wheel. Version
# checks are a wasteful network call that adds a lot of wait time when installing a # checks are a wasteful network call that adds a lot of wait time when installing a
# lot of packages. # lot of packages.
args = ["install", "--disable-pip-version-check", "--prefix", str(environment.path)] args = [
"install",
"--disable-pip-version-check",
"--isolated",
"--prefix",
str(environment.path),
]
if not is_wheel and not editable: if not is_wheel and not editable:
args.insert(1, "--use-pep517") args.insert(1, "--use-pep517")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment