Skip to content

Commit

Permalink
Fix Python version check
Browse files Browse the repository at this point in the history
  • Loading branch information
pitrou committed Sep 17, 2024
1 parent 7235140 commit d997350
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ci/scripts/python_wheel_unix_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ export PYARROW_TEST_TENSORFLOW=ON
export ARROW_TEST_DATA=${source_dir}/testing/data
export PARQUET_TEST_DATA=${source_dir}/cpp/submodules/parquet-testing/data

PYTHON_VERSION_MAJOR=$(python -c "import sys; print('.'.join(map(str, sys.version_info[:2])))")

if [ "${INSTALL_PYARROW}" == "ON" ]; then
# Install the built wheels
pip install ${source_dir}/python/repaired_wheels/*.whl
Expand Down Expand Up @@ -96,7 +98,8 @@ fi
if [ "${CHECK_UNITTESTS}" == "ON" ]; then
# Install testing dependencies
pip install -U -r ${source_dir}/python/requirements-wheel-test.txt
if [ ! "${PYTHON_VERSION}" = "3.13" ]; then

if [ ! "${PYTHON_VERSION_MAJOR}" = "3.13" ]; then
pip install uwsgi
fi

Expand Down

0 comments on commit d997350

Please sign in to comment.