Mercurial > public > mercurial-scm > hg-stable
comparison contrib/automation/hgautomation/linux.py @ 42716:6f7262fe671c
automation: install latest Python versions
This required bumping the pyenv commit so the new versions are
available.
Differential Revision: https://phab.mercurial-scm.org/D6713
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sat, 03 Aug 2019 14:04:31 -0700 |
parents | 9e0f1c80cddb |
children | 89ba81771fc9 |
comparison
equal
deleted
inserted
replaced
42715:0812d9fb63fe | 42716:6f7262fe671c |
---|---|
26 'ubuntu19.04', | 26 'ubuntu19.04', |
27 } | 27 } |
28 | 28 |
29 INSTALL_PYTHONS = r''' | 29 INSTALL_PYTHONS = r''' |
30 PYENV2_VERSIONS="2.7.16 pypy2.7-7.1.1" | 30 PYENV2_VERSIONS="2.7.16 pypy2.7-7.1.1" |
31 PYENV3_VERSIONS="3.5.7 3.6.8 3.7.3 3.8-dev pypy3.5-7.0.0 pypy3.6-7.1.1" | 31 PYENV3_VERSIONS="3.5.7 3.6.9 3.7.4 3.8-dev pypy3.5-7.0.0 pypy3.6-7.1.1" |
32 | 32 |
33 git clone https://github.com/pyenv/pyenv.git /hgdev/pyenv | 33 git clone https://github.com/pyenv/pyenv.git /hgdev/pyenv |
34 pushd /hgdev/pyenv | 34 pushd /hgdev/pyenv |
35 git checkout 3faeda67bb33e07750d1a104271369a7384ca45c | 35 git checkout 17f44b7cd6f58ea2fa68ec0371fb9e7a826b8be2 |
36 popd | 36 popd |
37 | 37 |
38 export PYENV_ROOT="/hgdev/pyenv" | 38 export PYENV_ROOT="/hgdev/pyenv" |
39 export PATH="$PYENV_ROOT/bin:$PATH" | 39 export PATH="$PYENV_ROOT/bin:$PATH" |
40 | 40 |