From f23629894968fadbfd75e9186fe0bf7f9e92a824 Mon Sep 17 00:00:00 2001
From: Matt Riedemann <mriedem@us.ibm.com>
Date: Sat, 18 Jul 2015 14:50:05 +0000
Subject: [PATCH] Revert "Move integration test dependencies into bindep"

This reverts commit ce6ef0fe230ff939ae4d583a2262a16d598c32b9

We're only installing bindep on diskimage-builder built images, and
the devstack-trusty images in rax regions are snapshot-based. We'll
need to temporarily revert this until devstack-trusty is switched to
DIB everywhere, or DevStack-based jobs move to the ubuntu-trusty DIB
images we have available in rax currently.

Change-Id: I69c923297c3202fd35b8892ddfa4d8dbf272bf16
Closes-Bug: #1475880
---
 other-requirements.txt | 23 -----------------------
 tools/integration.sh   | 11 +++++++++--
 2 files changed, 9 insertions(+), 25 deletions(-)
 delete mode 100644 other-requirements.txt

diff --git a/other-requirements.txt b/other-requirements.txt
deleted file mode 100644
index 47f253620b..0000000000
--- a/other-requirements.txt
+++ /dev/null
@@ -1,23 +0,0 @@
-# These are needed to build all the things in global-requirements, which we do
-# for integration testing (see tools/integration.sh.
-python-all-dev
-python3-all-dev
-libvirt-dev
-libxml2-dev
-libxslt-dev
-libmysqlclient-dev
-libpq-dev
-libnspr4-dev
-pkg-config
-libsqlite3-dev
-libzmq-dev
-libffi-dev
-libldap2-dev
-libsasl2-dev
-ccache
-# NOTE(flaper87): Temporarly needed for proton
-uuid-dev
-swig
-# Python things that change rarely and we're willing to risk breakage vs latest
-python-numpy [python]
-python-yaml [python]
diff --git a/tools/integration.sh b/tools/integration.sh
index 43def90d53..b9c9351e93 100644
--- a/tools/integration.sh
+++ b/tools/integration.sh
@@ -25,8 +25,15 @@ BASE=${BASE:-/opt/stack}
 
 REPODIR=${REPODIR:-$BASE/new}
 
-root=$(dirname $0)/..
-sudo apt-get install -y --force-yes $(/usr/bindep-env/bin/bindep -b python -f $root/other-requirements.txt)
+# TODO: Figure out how to get this on to the box properly
+sudo apt-get install -y --force-yes libvirt-dev libxml2-dev libxslt-dev libmysqlclient-dev libpq-dev libnspr4-dev pkg-config libsqlite3-dev libzmq-dev libffi-dev libldap2-dev libsasl2-dev ccache
+
+# NOTE(flaper87): Temporarly needed for proton
+sudo apt-get install -y --force-yes uuid-dev swig
+
+# FOR numpy / pyyaml
+sudo apt-get build-dep -y --force-yes python-numpy
+sudo apt-get build-dep -y --force-yes python-yaml
 
 # And use ccache explitly
 export PATH=/usr/lib/ccache:$PATH