Skip to content

Commit

Permalink
apacheGH-44459: [Release][Packaging] Do not check wheel content when …
Browse files Browse the repository at this point in the history
…verifying binary wheels
  • Loading branch information
raulcd committed Oct 17, 2024
1 parent 1a323fc commit 6eb2557
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions dev/release/verify-release-candidate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1057,6 +1057,10 @@ test_linux_wheels() {
local python_versions="${TEST_PYTHON_VERSIONS:-3.9 3.10 3.11 3.12 3.13}"
local platform_tags="${TEST_WHEEL_PLATFORM_TAGS:-manylinux_2_17_${arch}.manylinux2014_${arch} manylinux_2_28_${arch}}"

if [ "${SOURCE_KIND}" != "local" ]; then
local wheel_content="OFF"
fi

for python in ${python_versions}; do
local pyver=${python/m}
for platform in ${platform_tags}; do
Expand All @@ -1066,7 +1070,8 @@ test_linux_wheels() {
continue
fi
pip install pyarrow-${TEST_PYARROW_VERSION:-${VERSION}}-cp${pyver/.}-cp${python/.}-${platform}.whl
INSTALL_PYARROW=OFF ARROW_GCS=${check_gcs} ${ARROW_DIR}/ci/scripts/python_wheel_unix_test.sh ${ARROW_SOURCE_DIR}
CHECK_WHEEL_CONTENT=${wheel_content:-"ON"} INSTALL_PYARROW=OFF ARROW_GCS=${check_gcs} \
${ARROW_DIR}/ci/scripts/python_wheel_unix_test.sh ${ARROW_SOURCE_DIR}
done
done
}
Expand All @@ -1086,6 +1091,10 @@ test_macos_wheels() {
local platform_tags="macosx_10_15_x86_64"
fi

if [ "${SOURCE_KIND}" != "local" ]; then
local wheel_content="OFF"
fi

# verify arch-native wheels inside an arch-native conda environment
for python in ${python_versions}; do
local pyver=${python/m}
Expand All @@ -1102,7 +1111,8 @@ test_macos_wheels() {
fi

pip install pyarrow-${VERSION}-cp${pyver/.}-cp${python/.}-${platform}.whl
INSTALL_PYARROW=OFF ARROW_FLIGHT=${check_flight} ARROW_GCS=${check_gcs} ARROW_S3=${check_s3} \
CHECK_WHEEL_CONTENT=${wheel_content:-"ON"} INSTALL_PYARROW=OFF ARROW_FLIGHT=${check_flight} \
ARROW_GCS=${check_gcs} ARROW_S3=${check_s3} \
${ARROW_DIR}/ci/scripts/python_wheel_unix_test.sh ${ARROW_SOURCE_DIR}
done
done
Expand Down

0 comments on commit 6eb2557

Please sign in to comment.