From d4523471a7577fb9c0740b8501ebd3f9ee6a7981 Mon Sep 17 00:00:00 2001 From: James Page Date: Wed, 23 Nov 2016 10:07:48 +0000 Subject: [PATCH] Fixup tox configurations to support use of build test in gate --- bindep.txt | 4 ++-- requirements.txt | 4 ++++ tox.ini | 4 +--- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/bindep.txt b/bindep.txt index 7b16930..55a90e5 100644 --- a/bindep.txt +++ b/bindep.txt @@ -1,2 +1,2 @@ -snapcraft -lxd +libsodium-dev [platform:dpkg] +libapt-pkg-dev [platform:dpkg] diff --git a/requirements.txt b/requirements.txt index 10db2ad..5f39202 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1,5 @@ # Requirements to build snap +git+https://github.com/openstack-snaps/snapcraft@fixup-install-requires#egg_name=snapcraft +# PyPi less dependencies +https://launchpad.net/ubuntu/+archive/primary/+files/python-apt_1.1.0~beta1build1.tar.xz +https://launchpad.net/python-distutils-extra/trunk/2.39/+download/python-distutils-extra-2.39.tar.gz diff --git a/tox.ini b/tox.ini index 4c1290b..997c257 100644 --- a/tox.ini +++ b/tox.ini @@ -3,10 +3,8 @@ envlist = snap skipsdist = True [testenv] +basepython = python3.5 install_command = pip install {opts} {packages} -whitelist_externals = - lxc - snapcraft passenv = HOME TERM [testenv:snap]