Backed out changeset 8f481c06bcd7 (bug 1670039) for Android build bustages. CLOSED TREE

This commit is contained in:
Razvan Maries 2020-10-10 02:39:01 +03:00
parent 156825631e
commit 580c003812
5 changed files with 4 additions and 5 deletions

View File

@ -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,

View File

@ -381,7 +381,6 @@ class VirtualenvMixin(object):
virtualenv = [
sys.executable,
'-S',
venv_py_path,
]
virtualenv_options = c.get('virtualenv_options', [])

View File

@ -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,

View File

@ -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,

View File

@ -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])