DCD-686: Move to Python 3.7 and update packages to support AWS operations.

This commit is contained in:
Steve Smith
2019-10-03 13:29:21 +10:00
parent 14e2fdf25b
commit 46adc9af3f
3 changed files with 225 additions and 289 deletions

View File

@@ -10,7 +10,14 @@ set -e
# Luckily AmazonLinux2 and Ubuntu use the same package name for
# pip. This may need some logic if other distros are added. Note:
# Parsing /etc/os-release is probably a good starting point for that.
./bin/pacapt install --noconfirm python-pip
#
# Additionally we need to install boto3 and botocore, as the Ansible
# AWS modules manage to escape the virtualenv and invoke the native python.
./bin/pacapt install --noconfirm \
python-pip \
python-boto3 \
python-botocore
export PATH=$PATH:/usr/local/bin
# See Pipfile and Pipfile.lock.