From 4f530ab6ee076a887743ec18da99a832b0239b71 Mon Sep 17 00:00:00 2001 From: Will Kahn-Greene Date: Tue, 8 Dec 2020 11:28:44 -0500 Subject: [PATCH] Pin pip to <20.3.0 for now until we fix resolution issue (#1198) Currently, `dataproc_init.sh` updates pip to 20.3.1 which tries to install the dependencies, but takes > 10 minutes to figure out a solution set that satisfies the version dependencies. This has us go back to the previous pip which has the old resolver which works while we figure out how to straighten out the dependency requirements. --- dataproc_bootstrap/dataproc_init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dataproc_bootstrap/dataproc_init.sh b/dataproc_bootstrap/dataproc_init.sh index cbff96dcc..8a60a4c9e 100755 --- a/dataproc_bootstrap/dataproc_init.sh +++ b/dataproc_bootstrap/dataproc_init.sh @@ -25,5 +25,5 @@ gsutil cp $TSPA_GS_PATH $TSPA_JAR # Install python packages PIP_REQUIREMENTS_FILE=/tmp/requirements.txt gsutil cp $ARTIFACTS_BUCKET/bootstrap/python-requirements.txt $PIP_REQUIREMENTS_FILE -/opt/conda/default/bin/pip install --upgrade pip +/opt/conda/default/bin/pip install --upgrade 'pip<20.3.0' /opt/conda/default/bin/pip install -r $PIP_REQUIREMENTS_FILE