Mercurial > public > mercurial-scm > hg
comparison contrib/automation/hgautomation/linux.py @ 45690:7a907388a4a5
contrib: install Python 3.9.0
We update the Windows and Linux environments to install CPython 3.9.0,
which was released a few days ago.
Differential Revision: https://phab.mercurial-scm.org/D9186
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Thu, 08 Oct 2020 18:07:34 -0700 |
parents | 57b5452a55d5 |
children | f95b16796688 |
comparison
equal
deleted
inserted
replaced
45689:ef8eccefe0c3 | 45690:7a907388a4a5 |
---|---|
24 'ubuntu19.04', | 24 'ubuntu19.04', |
25 } | 25 } |
26 | 26 |
27 INSTALL_PYTHONS = r''' | 27 INSTALL_PYTHONS = r''' |
28 PYENV2_VERSIONS="2.7.17 pypy2.7-7.2.0" | 28 PYENV2_VERSIONS="2.7.17 pypy2.7-7.2.0" |
29 PYENV3_VERSIONS="3.5.10 3.6.12 3.7.9 3.8.6 pypy3.5-7.0.0 pypy3.6-7.3.0" | 29 PYENV3_VERSIONS="3.5.10 3.6.12 3.7.9 3.8.6 3.9.0 pypy3.5-7.0.0 pypy3.6-7.3.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 8bf79eb44ce1ea0a8b36544eb3e8a694a3a6ed78 | 33 git checkout 8ac91b4fd678a8c04356f5ec85cfcd565c265e9a |
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 |