aboutsummaryrefslogtreecommitdiff
path: root/tools/setup_gate.sh
diff options
context:
space:
mode:
authorHongbin Lu <hongbin.lu@huawei.com>2017-06-20 22:14:03 +0000
committerHongbin Lu <hongbin.lu@huawei.com>2017-06-21 19:20:35 +0000
commit7e2486c3d9edc94300a58f5e8203277fd5d7e01d (patch)
tree9db545dcf018c49bfb7a1de98c4339326cdfbb95 /tools/setup_gate.sh
parent2627e3c009b580ef7f28eb3814f019f456674b3f (diff)
downloadkolla-7e2486c3d9edc94300a58f5e8203277fd5d7e01d.tar.gz
kolla-7e2486c3d9edc94300a58f5e8203277fd5d7e01d.zip
Upgrade from docker-py to docker
The pypi package 'docker-py' [1] has been renamed to 'docker' [2]. It is better to move to the new 'docker' package because the old package will be deprecated and all the new features will go into the new package only. Package 'docker' has been added to requirements [3]. The old package 'docker-py' is still allowed to be in the global requirements during the transition period but it should be removed after all or most of the projects finsih the migration. [1] https://pypi.python.org/pypi/docker-py [2] https://pypi.python.org/pypi/docker [3] https://review.openstack.org/#/c/423715/ Change-Id: I3ffd8bb6461e8b7edacc5e833754f00c4249b854
Diffstat (limited to 'tools/setup_gate.sh')
-rwxr-xr-xtools/setup_gate.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/setup_gate.sh b/tools/setup_gate.sh
index ce3f786e2..5635be99a 100755
--- a/tools/setup_gate.sh
+++ b/tools/setup_gate.sh
@@ -151,7 +151,7 @@ function setup_ansible {
mkdir /tmp/kolla
# TODO(SamYaple): Move to virtualenv
- sudo -H pip install -U "ansible>=2" "docker-py>=1.6.0" "python-openstackclient" "python-neutronclient"
+ sudo -H pip install -U "ansible>=2" "docker>=2.0.0" "python-openstackclient" "python-neutronclient"
detect_distro
setup_inventory