From d07a80bc03b6cb21800770a0a734bde79ebca1cf Mon Sep 17 00:00:00 2001 From: HyukjinKwon Date: Thu, 26 Mar 2020 09:29:29 +0900 Subject: [PATCH 1/3] Revert "[SPARK-31231][BUILD] Explicitly setuptools version as 46.0.0 in pip package test" This reverts commit c181c45f863ba55e15ab9b41f635ffbddad9bac0. --- dev/run-pip-tests | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/run-pip-tests b/dev/run-pip-tests index dc9582a11f54..470f21e69d46 100755 --- a/dev/run-pip-tests +++ b/dev/run-pip-tests @@ -76,7 +76,7 @@ for python in "${PYTHON_EXECS[@]}"; do VIRTUALENV_PATH="$VIRTUALENV_BASE"/$python rm -rf "$VIRTUALENV_PATH" if [ -n "$USE_CONDA" ]; then - conda create -y -p "$VIRTUALENV_PATH" python=$python numpy pandas pip setuptools=46.0.0 + conda create -y -p "$VIRTUALENV_PATH" python=$python numpy pandas pip setuptools source activate "$VIRTUALENV_PATH" else mkdir -p "$VIRTUALENV_PATH" From 29a07927e3d01006847aa8ac97b3ea4a29be7a0f Mon Sep 17 00:00:00 2001 From: HyukjinKwon Date: Thu, 26 Mar 2020 12:25:27 +0900 Subject: [PATCH 2/3] Revert "Revert "[SPARK-31231][BUILD] Explicitly setuptools version as 46.0.0 in pip package test"" This reverts commit d07a80bc03b6cb21800770a0a734bde79ebca1cf. --- dev/run-pip-tests | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/run-pip-tests b/dev/run-pip-tests index 470f21e69d46..dc9582a11f54 100755 --- a/dev/run-pip-tests +++ b/dev/run-pip-tests @@ -76,7 +76,7 @@ for python in "${PYTHON_EXECS[@]}"; do VIRTUALENV_PATH="$VIRTUALENV_BASE"/$python rm -rf "$VIRTUALENV_PATH" if [ -n "$USE_CONDA" ]; then - conda create -y -p "$VIRTUALENV_PATH" python=$python numpy pandas pip setuptools + conda create -y -p "$VIRTUALENV_PATH" python=$python numpy pandas pip setuptools=46.0.0 source activate "$VIRTUALENV_PATH" else mkdir -p "$VIRTUALENV_PATH" From 1d4653f2860174db4c45beff3ff2685831ed8403 Mon Sep 17 00:00:00 2001 From: HyukjinKwon Date: Thu, 26 Mar 2020 12:26:14 +0900 Subject: [PATCH 3/3] Back to the original fix --- dev/run-pip-tests | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/run-pip-tests b/dev/run-pip-tests index dc9582a11f54..928d40eb19e2 100755 --- a/dev/run-pip-tests +++ b/dev/run-pip-tests @@ -76,7 +76,7 @@ for python in "${PYTHON_EXECS[@]}"; do VIRTUALENV_PATH="$VIRTUALENV_BASE"/$python rm -rf "$VIRTUALENV_PATH" if [ -n "$USE_CONDA" ]; then - conda create -y -p "$VIRTUALENV_PATH" python=$python numpy pandas pip setuptools=46.0.0 + conda create -y -p "$VIRTUALENV_PATH" python=$python numpy pandas pip "setuptools<46.1.0" source activate "$VIRTUALENV_PATH" else mkdir -p "$VIRTUALENV_PATH"