From 0ed81a8fb2a630538b980ed61f304d843fc11dc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kriszti=C3=A1n=20Sz=C5=B1cs?= Date: Mon, 3 Feb 2020 17:30:19 +0100 Subject: [PATCH] ARROW-7735: [Release][Python] Use pip to install dependencies for wheel verification MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The wheel verification script fails for python 3.5. At the same time the wheel properly works for python 3.5 docker images without conda environment. Conda forge doesn't maintain packages for python 3.5 anymore and something must have mixed with the numpy versions. This change fixed the wheel verification locally for me. Closes #6339 from kszucs/wheel-verification and squashes the following commits: 3e9694958 remove pytest verbose flags 026e5fb34 use pip to install dependencies for wheel verification Authored-by: Krisztián Szűcs Signed-off-by: Krisztián Szűcs --- dev/release/verify-release-candidate.sh | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/dev/release/verify-release-candidate.sh b/dev/release/verify-release-candidate.sh index 000af83a1721d..9d68b7ce18bb2 100755 --- a/dev/release/verify-release-candidate.sh +++ b/dev/release/verify-release-candidate.sh @@ -609,8 +609,10 @@ test_linux_wheels() { pip install python-rc/${VERSION}-rc${RC_NUMBER}/pyarrow-${VERSION}-cp${py_arch//[mu.]/}-cp${py_arch//./}-manylinux${ml_spec}_x86_64.whl check_python_imports py_arch - # execute the python unit tests - conda install -y --file ${ARROW_DIR}/ci/conda_env_python.yml pandas + # install test requirements + pip install -r ${ARROW_DIR}/python/requirements-test.txt + + # execute the tests pytest --pyargs pyarrow done @@ -640,8 +642,10 @@ test_macos_wheels() { pip install python-rc/${VERSION}-rc${RC_NUMBER}/pyarrow-${VERSION}-cp${py_arch//[m.]/}-cp${py_arch//./}-${macos_suffix}.whl check_python_imports py_arch - # execute the python unit tests - conda install -y --file ${ARROW_DIR}/ci/conda_env_python.yml pandas + # install test requirements + pip install -r ${ARROW_DIR}/python/requirements-test.txt + + # execute the tests pytest --pyargs pyarrow conda deactivate