Mercurial > public > mercurial-scm > hg
comparison contrib/automation/hgautomation/linux.py @ 47196:743522fa2455
automation: install latest Python versions in Linux environment
Let's keep our Linux environment up to date.
Differential Revision: https://phab.mercurial-scm.org/D10674
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Thu, 06 May 2021 15:40:47 -0700 |
parents | 546e812a1c2d |
children | 2df655f682a6 |
comparison
equal
deleted
inserted
replaced
47195:546e812a1c2d | 47196:743522fa2455 |
---|---|
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 3.9.0 pypy3.5-7.0.0 pypy3.6-7.3.0" | 29 PYENV3_VERSIONS="3.5.10 3.6.13 3.7.10 3.8.10 3.9.5 pypy3.5-7.0.0 pypy3.6-7.3.3 pypy3.7-7.3.3" |
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 8ac91b4fd678a8c04356f5ec85cfcd565c265e9a | 33 git checkout 328fd42c3a2fbf14ae46dae2021a087fe27ba7e2 |
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 |