author | Ricky Stewart <rstewart@mozilla.com> |
Fri, 22 May 2020 19:34:08 +0000 | |
changeset 531705 | 8783aa871d5e71f52fd8543882a893441c7d3375 |
parent 531704 | 327c6c5acdbcbd884f818c0fa7b507048642291b |
child 531706 | 82160fd55e1fa8106c636657cfe4ddeb16864ad4 |
push id | 37442 |
push user | ncsoregi@mozilla.com |
push date | Sat, 23 May 2020 09:21:24 +0000 |
treeherder | mozilla-central@bbcc193fe0f0 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | froydnj |
bugs | 1640261 |
milestone | 78.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/python/mozboot/mozboot/debian.py +++ b/python/mozboot/mozboot/debian.py @@ -108,17 +108,18 @@ class DebianBootstrapper( self.mobile_android_packages = self.MOBILE_ANDROID_COMMON_PACKAGES + \ self.MOBILE_ANDROID_DISTRO_PACKAGES def install_system_packages(self): # Python 3 may not be present on all distros. Search for it and # install if found. packages = list(self.packages) - have_python3 = any([self.which('python3'), self.which('python3.6'), + have_python3 = any([self.which('python3'), self.which('python3.8'), + self.which('python3.7'), self.which('python3.6'), self.which('python3.5')]) python3_packages = self.check_output( ['apt-cache', 'pkgnames', 'python3'], universal_newlines=True) python3_packages = python3_packages.splitlines() if not have_python3 and 'python3' in python3_packages: packages.extend(['python3', 'python3-dev'])