This is an automated email from the ASF dual-hosted git repository.

mck pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra-builds.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 54c45a9  Pin pip and setup tools to maintain support for python2 in 
the docker image used for building the rpm packages
54c45a9 is described below

commit 54c45a9bcf9b36a3f78b7d773eaf1067483b49b8
Author: Mick Semb Wever <[email protected]>
AuthorDate: Wed Jan 27 12:17:15 2021 +0100

    Pin pip and setup tools to maintain support for python2 in the docker image 
used for building the rpm packages
    
     patch by Tomek Lasica; reviewed by Mick Semb Wever
---
 docker/centos7-image.docker | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/docker/centos7-image.docker b/docker/centos7-image.docker
index ac8b1f6..8235633 100644
--- a/docker/centos7-image.docker
+++ b/docker/centos7-image.docker
@@ -36,7 +36,8 @@ RUN yum -y install python2-pip
 RUN pip install 'idna<3' urllib3[secure]
 
 # upgrade to modern pip version
-RUN pip install --upgrade pip
+RUN pip install --upgrade 'pip<21'
+RUN pip install 'setuptools<45'
 
 # install Sphinx to generate docs
 RUN pip install \


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to