diff options
| author | Allen Gao <wanlong.gao@easystack.cn> | 2016-01-25 17:28:19 +0800 |
|---|---|---|
| committer | Allen Gao <wanlong.gao@easystack.cn> | 2016-01-25 17:29:07 +0800 |
| commit | b18f47c7de57fd2863c0913ef9256f09083c5f8b (patch) | |
| tree | d735ac603c41b7f2f7f1bbe0fd45bc03f71c5206 | |
| parent | 5c7061250cda31b7900c37518151e5c2bb3456c0 (diff) | |
| download | kolla-b18f47c7de57fd2863c0913ef9256f09083c5f8b.tar.gz kolla-b18f47c7de57fd2863c0913ef9256f09083c5f8b.zip | |
Revert "Pin the pip version to 7.1.2"
This reverts commit 14dfbc13a25b43850be15933ca79a7d701b91bac.
This issue has already been fixed after pip 8.0.1 released.
TrivialFix
Change-Id: Ie559286beac56aa5ac35addd647c1d342ba6562b
| -rw-r--r-- | docker/kolla-ansible/Dockerfile.j2 | 6 | ||||
| -rw-r--r-- | docker/openstack-base/Dockerfile.j2 | 7 |
2 files changed, 0 insertions, 13 deletions
diff --git a/docker/kolla-ansible/Dockerfile.j2 b/docker/kolla-ansible/Dockerfile.j2 index 5f67010fa..fe80db693 100644 --- a/docker/kolla-ansible/Dockerfile.j2 +++ b/docker/kolla-ansible/Dockerfile.j2 @@ -33,15 +33,9 @@ RUN apt-get -y --no-install-recommends install \ {% endif %} -# TODO(jeffrey4l): Pin the pip to the 7.1.2. version. latest pip -# (now 8.0) can not install the package when conflict with the -# system. The best solution should use the virtualenv for -# isolation or following bug is fixed: -# https://github.com/pypa/pip/pull/3389 RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py \ && python get-pip.py \ && rm get-pip.py \ - && pip install pip==7.1.2 \ && pip --no-cache-dir install --upgrade wheel \ && pip --no-cache-dir install \ MySQL-python \ diff --git a/docker/openstack-base/Dockerfile.j2 b/docker/openstack-base/Dockerfile.j2 index de111a94a..d81e49006 100644 --- a/docker/openstack-base/Dockerfile.j2 +++ b/docker/openstack-base/Dockerfile.j2 @@ -105,20 +105,13 @@ RUN apt-get install -y --no-install-recommends \ {% endif %} ADD openstack-base-archive /openstack-base-source -# TODO(jeffrey4l): Pin the pip to the 7.1.2. version. latest pip -# (now 8.0) can not install the package when conflict with the -# system. The best solution should use the virtualenv for -# isolation or following bug is fixed: -# https://github.com/pypa/pip/pull/3389 RUN ln -s openstack-base-source/* /requirements \ && mkdir /var/lib/kolla \ && curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py \ && python get-pip.py \ && rm get-pip.py \ - && pip install pip==7.1.2 \ && pip --no-cache-dir install -U virtualenv \ && virtualenv --system-site-packages /var/lib/kolla/venv \ - && /var/lib/kolla/venv/bin/pip --no-cache-dir install pip==7.1.2 \ && /var/lib/kolla/venv/bin/pip --no-cache-dir install --upgrade -c requirements/upper-constraints.txt \ jinja2 \ kazoo \ |
