comparison contrib/automation/hgautomation/linux.py @ 43315:388ada1c07c6 stable

automation: install Python 2.7.17, 3.7.5, and PyPy 7.2.0 These were all recently released and we should use them in automation.
author Gregory Szorc <gregory.szorc@gmail.com>
date Mon, 21 Oct 2019 19:28:23 -0700
parents 252ec4dbc1b4
children acdd4f28f6a3
comparison
equal deleted inserted replaced
43314:8676a8b2d20a 43315:388ada1c07c6
23 'ubuntu18.04', 23 'ubuntu18.04',
24 'ubuntu19.04', 24 'ubuntu19.04',
25 } 25 }
26 26
27 INSTALL_PYTHONS = r''' 27 INSTALL_PYTHONS = r'''
28 PYENV2_VERSIONS="2.7.16 pypy2.7-7.1.1" 28 PYENV2_VERSIONS="2.7.17 pypy2.7-7.2.0"
29 PYENV3_VERSIONS="3.5.7 3.6.9 3.7.4 3.8.0 pypy3.5-7.0.0 pypy3.6-7.1.1" 29 PYENV3_VERSIONS="3.5.7 3.6.9 3.7.5 3.8.0 pypy3.5-7.0.0 pypy3.6-7.2.0"
30 30
31 git clone https://github.com/pyenv/pyenv.git /hgdev/pyenv 31 git clone https://github.com/pyenv/pyenv.git /hgdev/pyenv
32 pushd /hgdev/pyenv 32 pushd /hgdev/pyenv
33 git checkout d6d6bc8bb08bcdcbf4eb79509aa7061011ade1c4 33 git checkout 0e7cfc3b3d4eca46ad83d632e1505f5932cd179b
34 popd 34 popd
35 35
36 export PYENV_ROOT="/hgdev/pyenv" 36 export PYENV_ROOT="/hgdev/pyenv"
37 export PATH="$PYENV_ROOT/bin:$PATH" 37 export PATH="$PYENV_ROOT/bin:$PATH"
38 38