mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-14 04:03:47 +00:00
Backed out changeset 8f481c06bcd7 (bug 1670039) for Android build bustages. CLOSED TREE
This commit is contained in:
parent
156825631e
commit
580c003812
@ -250,7 +250,7 @@ class VirtualenvManager(VirtualenvHelper):
|
||||
if os.path.exists(self.virtualenv_root):
|
||||
shutil.rmtree(self.virtualenv_root)
|
||||
|
||||
args = [python, '-S', self.virtualenv_script_path,
|
||||
args = [python, self.virtualenv_script_path,
|
||||
# Without this, virtualenv.py may attempt to contact the outside
|
||||
# world and search for or download a newer version of pip,
|
||||
# setuptools, or wheel. This is bad for security, reproducibility,
|
||||
|
@ -381,7 +381,6 @@ class VirtualenvMixin(object):
|
||||
|
||||
virtualenv = [
|
||||
sys.executable,
|
||||
'-S',
|
||||
venv_py_path,
|
||||
]
|
||||
virtualenv_options = c.get('virtualenv_options', [])
|
||||
|
@ -154,7 +154,7 @@ class RaptorRunner(MozbuildObject):
|
||||
'base_work_dir': self.mozharness_dir,
|
||||
'exes': {
|
||||
'python': self.python,
|
||||
'virtualenv': [self.python, '-S', self.virtualenv_script],
|
||||
'virtualenv': [self.python, self.virtualenv_script],
|
||||
},
|
||||
'title': socket.gethostname(),
|
||||
'default_actions': default_actions,
|
||||
|
@ -80,7 +80,7 @@ class TalosRunner(MozbuildObject):
|
||||
'base_work_dir': self.mozharness_dir,
|
||||
'exes': {
|
||||
'python': self.python_interp,
|
||||
'virtualenv': [self.python_interp, '-S', self.virtualenv_script]
|
||||
'virtualenv': [self.python_interp, self.virtualenv_script]
|
||||
},
|
||||
'title': socket.gethostname(),
|
||||
'default_actions': default_actions,
|
||||
|
@ -75,7 +75,7 @@ def setup_virtualenv(target, python_bin=None):
|
||||
f.extractall(here)
|
||||
|
||||
print('Creating new virtual environment')
|
||||
cmd_args = [sys.executable, '-S', script_path, target]
|
||||
cmd_args = [sys.executable, script_path, target]
|
||||
|
||||
if python_bin:
|
||||
cmd_args.extend(['-p', python_bin])
|
||||
|
Loading…
x
Reference in New Issue
Block a user