Kaydet (Commit) 1631b9b4 authored tarafından Nick Coghlan's avatar Nick Coghlan

Issue #19734: venv still needs isolated mode

üst 6fd12f2b
...@@ -237,7 +237,7 @@ class EnvBuilder: ...@@ -237,7 +237,7 @@ class EnvBuilder:
# We run ensurepip in isolated mode to avoid side effects from # We run ensurepip in isolated mode to avoid side effects from
# environment vars, the current directory and anything else # environment vars, the current directory and anything else
# intended for the global Python environment # intended for the global Python environment
cmd = [context.env_exe, '-m', 'ensurepip', '--upgrade', cmd = [context.env_exe, '-Im', 'ensurepip', '--upgrade',
'--default-pip'] '--default-pip']
subprocess.check_output(cmd, stderr=subprocess.STDOUT) subprocess.check_output(cmd, stderr=subprocess.STDOUT)
......
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