summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthewLi <matthew.lijun@huawei.com>2017-03-23 03:34:27 -0400
committerMatthewLi <matthew.lijun@huawei.com>2017-03-23 03:36:44 -0400
commitc731b93e24dca7641b174ee860f14beedc4de442 (patch)
tree8a8d2eaf1bce14a9119fa8c560514a9d232c8139
parent9d86d3b50a9617b6042cc8bf3f900c9b0573d888 (diff)
bugfix of package error
JIRA: DOVETAIL-376 Change-Id: I91e0efff01d445e3f74718d730c8ff48c6413b26 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
-rw-r--r--docker/Dockerfile7
-rw-r--r--requirements.txt8
-rw-r--r--setup.py2
3 files changed, 11 insertions, 6 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 68579e7f..e4013685 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -6,9 +6,12 @@ RUN \
apt-get update \
&& \
apt-get install -y \
- python-pip \
+ gcc \
git \
vim \
+ python-dev \
+ python-mock \
+ python-pip \
apt-transport-https \
--no-install-recommends \
&& \
@@ -27,6 +30,8 @@ RUN \
&& \
pip install -U pip \
&& \
+ pip install -U pytz \
+&& \
pip install -r ${REPOS_DIR}/requirements.txt \
&& \
cd ${REPOS_DIR} \
diff --git a/requirements.txt b/requirements.txt
index 7b9b7d9e..ae643222 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,7 +1,7 @@
Click
-Jinja2>=2.6
-pbr>=1.8
-PyYAML>=3.10
+Jinja2==2.8
+pbr>=2.0.0
+PyYAML==3.11
python-openstackclient==3.9.0
requests==2.10.0
-six>=1.9.0
+six==1.10.0
diff --git a/setup.py b/setup.py
index b9f6e141..aeb4bf33 100644
--- a/setup.py
+++ b/setup.py
@@ -10,5 +10,5 @@
import setuptools
setuptools.setup(
- setup_requires=['pbr>=1.8'],
+ setup_requires=['pbr>=2.0.0'],
pbr=True)