Bug 1592855 - run mach vendor python with python3 r=ahal

Differential Revision: https://phabricator.services.mozilla.com/D51414

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Edwin Takahashi 2019-11-05 15:29:44 +00:00
Родитель 55642eb095
Коммит b66e852ab2
3 изменённых файлов: 2 добавлений и 3 удалений

1
mach
Просмотреть файл

@ -88,7 +88,6 @@ py2commands="
tps-build
try
valgrind-test
vendor
visualmetrics
warnings-list
warnings-summary

Просмотреть файл

@ -62,7 +62,7 @@ class VendorPython(MozbuildObject):
if with_windows_wheel:
# This is hardcoded to CPython 2.7 for win64, which is good
# enough for what we need currently. If we need psutil for Python 3
# in the future that coudl be added here as well.
# in the future that could be added here as well.
self.virtualenv_manager._run_pip([
'download',
'--dest', tmp,

Просмотреть файл

@ -364,7 +364,7 @@ class HgRepository(Repository):
def add_remove_files(self, path):
args = ['addremove', path]
if self.tool_version >= b'3.9':
if self.tool_version >= str('3.9'):
args = ['--config', 'extensions.automv='] + args
self._run(*args)