From a439977e980e65e98d9954e5804925c39ea57053 Mon Sep 17 00:00:00 2001 From: HyukjinKwon Date: Wed, 25 Mar 2020 09:06:34 +0900 Subject: [PATCH 1/3] Set the upper bound (before 46.1.0) for setuptools in pip package test --- 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 60cf4d8209416..5c991961e9a2c 100755 --- a/dev/run-pip-tests +++ b/dev/run-pip-tests @@ -81,7 +81,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 e5879d27fdefa07ad6ba1c842524c118cc54a6b5 Mon Sep 17 00:00:00 2001 From: HyukjinKwon Date: Wed, 25 Mar 2020 10:56:28 +0900 Subject: [PATCH 2/3] Correct version for upper bound --- 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 5c991961e9a2c..08876c9008066 100755 --- a/dev/run-pip-tests +++ b/dev/run-pip-tests @@ -81,7 +81,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" From 384d1e32f1d3dabc1297ad1cb288fe998ddbbef7 Mon Sep 17 00:00:00 2001 From: HyukjinKwon Date: Wed, 25 Mar 2020 11:45:01 +0900 Subject: [PATCH 3/3] Quotes --- 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 08876c9008066..b978e1f7f447b 100755 --- a/dev/run-pip-tests +++ b/dev/run-pip-tests @@ -81,7 +81,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.1.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"