Skip to content

Commit cb81f7d

Browse files
committed
ARROW-7735: [Release][Python] Use pip to install dependencies for wheel verification
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: 3e96949 <Krisztián Szűcs> remove pytest verbose flags 026e5fb <Krisztián Szűcs> use pip to install dependencies for wheel verification Authored-by: Krisztián Szűcs <szucs.krisztian@gmail.com> Signed-off-by: Krisztián Szűcs <szucs.krisztian@gmail.com>
1 parent 68c2f3c commit cb81f7d

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

dev/release/verify-release-candidate.sh

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -609,8 +609,10 @@ test_linux_wheels() {
609609
pip install python-rc/${VERSION}-rc${RC_NUMBER}/pyarrow-${VERSION}-cp${py_arch//[mu.]/}-cp${py_arch//./}-manylinux${ml_spec}_x86_64.whl
610610
check_python_imports py_arch
611611

612-
# execute the python unit tests
613-
conda install -y --file ${ARROW_DIR}/ci/conda_env_python.yml pandas
612+
# install test requirements
613+
pip install -r ${ARROW_DIR}/python/requirements-test.txt
614+
615+
# execute the tests
614616
pytest --pyargs pyarrow
615617
done
616618

@@ -640,8 +642,10 @@ test_macos_wheels() {
640642
pip install python-rc/${VERSION}-rc${RC_NUMBER}/pyarrow-${VERSION}-cp${py_arch//[m.]/}-cp${py_arch//./}-${macos_suffix}.whl
641643
check_python_imports py_arch
642644

643-
# execute the python unit tests
644-
conda install -y --file ${ARROW_DIR}/ci/conda_env_python.yml pandas
645+
# install test requirements
646+
pip install -r ${ARROW_DIR}/python/requirements-test.txt
647+
648+
# execute the tests
645649
pytest --pyargs pyarrow
646650

647651
conda deactivate

0 commit comments

Comments
 (0)