зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
55642eb095
Коммит
b66e852ab2
1
mach
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)
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче