From: Adam Israel Date: Mon, 2 Oct 2017 21:51:22 +0000 (-0400) Subject: Fix non-fatal warnings X-Git-Tag: v3.0.0rc6~6 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F96%2F5496%2F2;p=osm%2Fdevops.git Fix non-fatal warnings This fixes two non-fatal warnings, by installing the libxml-dev package so the python package uses it natively, and to suppress a warning by Jinja2 when installed under python3.4 Signed-off-by: Adam Israel --- diff --git a/jenkins/VCA/update-lxd-image.sh b/jenkins/VCA/update-lxd-image.sh index 07ba90b0..ae692f65 100755 --- a/jenkins/VCA/update-lxd-image.sh +++ b/jenkins/VCA/update-lxd-image.sh @@ -10,7 +10,7 @@ set -eux # The basic charm layer also installs all the things. 47 packages. -LAYER_BASIC="gcc build-essential python3-pip python3-setuptools python3-yaml" +LAYER_BASIC="gcc build-essential python3-pip python3-setuptools libyaml-dev python3-yaml python3-dev" # the basic layer also installs virtualenv, but the name changed in xenial. TRUSTY_PACKAGES="python-virtualenv" @@ -38,6 +38,7 @@ function cache() { lxc exec $container -- apt-get update -y lxc exec $container -- apt-get upgrade -y lxc exec $container -- apt-get install -y $PACKAGES $2 + lxc exec $container -- pip3 install --upgrade pip lxc exec $container -- pip3 install --upgrade $PYPI lxc stop $container