comparison scripts/validate-commits @ 8173:aa6f17a53b49

py3: switch to use Python 3 interpreter, temporarily leaving many things very broken until they have been migrated/fixed in a reviewable way Bump Mercurial minimum version to 5.2 - the first version that claim stable py3 support.
author Mads Kiilerich <mads@kiilerich.com>
date Sat, 23 Nov 2019 22:08:18 +0100
parents 37ac2ac0a9ae
children 89e9aef9b983
comparison
equal deleted inserted replaced
8172:c440bfd49e12 8173:aa6f17a53b49
32 for rev in $(hg log -r "$1" -T '{node}\n'); do 32 for rev in $(hg log -r "$1" -T '{node}\n'); do
33 hg log -r "$rev" 33 hg log -r "$rev"
34 hg update "$rev" 34 hg update "$rev"
35 35
36 cleanup 36 cleanup
37 virtualenv -p "$(command -v python2)" "$venv" 37 virtualenv -p "$(command -v python3)" "$venv"
38 source "$venv/bin/activate" 38 source "$venv/bin/activate"
39 pip install --upgrade pip setuptools 39 pip install --upgrade pip setuptools
40 pip install -e . -r dev_requirements.txt python-ldap python-pam 40 pip install -e . -r dev_requirements.txt python-ldap python-pam
41 41
42 # run-all-cleanup 42 # run-all-cleanup