kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From guozh...@apache.org
Subject [kafka] branch trunk updated: MINOR: Pin pip to 9.0.3 as 10 is not compatible with with system pip (#4937)
Date Fri, 27 Apr 2018 04:01:35 GMT
This is an automated email from the ASF dual-hosted git repository.

guozhang pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git


The following commit(s) were added to refs/heads/trunk by this push:
     new e128f7f  MINOR: Pin pip to 9.0.3 as 10 is not compatible with with system pip (#4937)
e128f7f is described below

commit e128f7f3bb6f7761225b2c0f3dfe1bf1d5d1aff8
Author: Max Zheng <maxzheng.os@gmail.com>
AuthorDate: Thu Apr 26 21:01:27 2018 -0700

    MINOR: Pin pip to 9.0.3 as 10 is not compatible with with system pip (#4937)
    
    If not pinned, the following error will happen:
    Traceback (most recent call last):
      File "/usr/bin/pip", line 9, in <module>
        from pip import main
    ImportError: cannot import name main
    
    Reviewers: Guozhang Wang <wangguoz@gmail.com>
---
 tests/docker/Dockerfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/docker/Dockerfile b/tests/docker/Dockerfile
index 25da8db..f1239a91 100644
--- a/tests/docker/Dockerfile
+++ b/tests/docker/Dockerfile
@@ -32,7 +32,7 @@ LABEL ducker.creator=$ducker_creator
 
 # Update Linux and install necessary utilities.
 RUN apt update && apt install -y sudo netcat iptables rsync unzip wget curl jq coreutils
openssh-server net-tools vim python-pip python-dev libffi-dev libssl-dev cmake pkg-config
libfuse-dev && apt-get -y clean
-RUN pip install -U pip setuptools && pip install --upgrade cffi virtualenv pyasn1
boto3 pycrypto pywinrm ipaddress enum34 && pip install --upgrade ducktape==0.7.1
+RUN pip install -U pip==9.0.3 setuptools && pip install --upgrade cffi virtualenv
pyasn1 boto3 pycrypto pywinrm ipaddress enum34 && pip install --upgrade ducktape==0.7.1
 
 # Set up ssh
 COPY ./ssh-config /root/.ssh/config

-- 
To stop receiving notification emails like this one, please contact
guozhang@apache.org.

Mime
View raw message