You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by mc...@apache.org on 2021/01/07 22:49:20 UTC

[cassandra-builds] branch trunk updated: Fix rpm artifact building: idna-3.1 doesn't support python-2 (in centos7-image.docker)

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 413ca67  Fix rpm artifact building: idna-3.1 doesn't support python-2 (in centos7-image.docker)
413ca67 is described below

commit 413ca677fc9b621464ef18ce8ce5e0958e2491ec
Author: Mick Semb Wever <mc...@apache.org>
AuthorDate: Thu Jan 7 23:46:59 2021 +0100

    Fix rpm artifact building: idna-3.1 doesn't support python-2 (in centos7-image.docker)
---
 docker/centos7-image.docker | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docker/centos7-image.docker b/docker/centos7-image.docker
index 7116449..ac8b1f6 100644
--- a/docker/centos7-image.docker
+++ b/docker/centos7-image.docker
@@ -33,7 +33,7 @@ RUN yum -y install python2-pip
 
 # install ssl enabled urllib for retrieving python packages
 # this will produce some ssl related warnings, which will be resolved once the package has been installed
-RUN pip install urllib3[secure]
+RUN pip install 'idna<3' urllib3[secure]
 
 # upgrade to modern pip version
 RUN pip install --upgrade pip


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org