Apache DataFusion SQL Query Engine
ARROW-7032: [Release] Run the python unit tests in the release verification script
Krisztián Szűcs017cfcb0d71b
diff --git a/dev/release/verify-release-candidate.sh b/dev/release/verify-release-candidate.shindex 1ac6bb5772..ba75dbff70 100755--- a/dev/release/verify-release-candidate.sh+++ b/dev/release/verify-release-candidate.sh@@ -51,6 +51,7 @@ set -xset -o pipefailSOURCE_DIR="$(cd "$(dirname "${BASH_SOURCE[0]:-$0}")" && pwd)"+ARROW_DIR="$(dirname $(dirname ${SOURCE_DIR}))"detect_cuda() {if ! (which nvcc && which nvidia-smi) > /dev/null; then@@ -569,9 +570,13 @@ test_linux_wheels() {continuefi+ # check the mandatory and optional importspip 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+ pytest --pyargs pyarrowdoneconda deactivate@@ -595,10 +600,15 @@ test_macos_wheels() {macos_suffix="${macos_suffix}_10_9_x86_64";;esac- pip install python-rc/${VERSION}-rc${RC_NUMBER}/pyarrow-${VERSION}-cp${py_arch//[m.]/}-cp${py_arch//./}-${macos_suffix}.whl+ # check the mandatory and optional imports+ pip install python-rc/${VERSION}-rc${RC_NUMBER}/pyarrow-${VERSION}-cp${py_arch//[m.]/}-cp${py_arch//./}-${macos_suffix}.whlcheck_python_imports py_arch+ # execute the python unit tests+ conda install -y --file ${ARROW_DIR}/ci/conda_env_python.yml pandas+ pytest --pyargs pyarrow+conda deactivatedone}