Skip to content
Snippets Groups Projects
Commit 745eb634 authored by israelad's avatar israelad Committed by marchettim
Browse files

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: default avatarAdam Israel <adam.israel@canonical.com>
parent 711977d0
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment