From 178d472e1d9f9f61fa54866d00d0a5b88ee87619 Mon Sep 17 00:00:00 2001 From: HyukjinKwon Date: Thu, 26 Mar 2020 12:33:17 +0900 Subject: [PATCH] [SPARK-31231][BUILD][FOLLOW-UP] Set the upper bound (before 46.1.0) for setuptools in pip package test ## What changes were proposed in this pull request? This PR is a followup of apache/spark#27995. Rather then pining setuptools version, it sets upper bound so Python 3.5 with branch-2.4 tests can pass too. ## Why are the changes needed? To make the CI build stable ## Does this PR introduce any user-facing change? No, dev-only change. ## How was this patch tested? Jenkins will test. Closes #28005 from HyukjinKwon/investigate-pip-packaging-followup. Authored-by: HyukjinKwon Signed-off-by: HyukjinKwon --- 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 dc9582a11f..928d40eb19 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"