Skip to content

Commit

Permalink
Check version only with tarball
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Oct 31, 2024
1 parent a0f5435 commit 426a754
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions dev/release/verify-release-candidate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1052,6 +1052,12 @@ test_linux_wheels() {
local wheel_content="OFF"
fi

if [ "${SOURCE_KIND}" = "tarball" ]; then
local check_version="ON"
else
local check_version="OFF"
fi

for python in ${python_versions}; do
local pyver=${python/m}
for platform in ${platform_tags}; do
Expand All @@ -1063,7 +1069,7 @@ test_linux_wheels() {
pip install pyarrow-${TEST_PYARROW_VERSION:-${VERSION}}-cp${pyver/.}-cp${python/.}-${platform}.whl
ARROW_GCS=${check_gcs} \
ARROW_VERSION=${VERSION} \
CHECK_VERSION=ON \
CHECK_VERSION=${check_version} \
CHECK_WHEEL_CONTENT=${wheel_content:-"ON"} \
INSTALL_PYARROW=OFF \
${ARROW_DIR}/ci/scripts/python_wheel_unix_test.sh ${ARROW_SOURCE_DIR}
Expand All @@ -1090,6 +1096,12 @@ test_macos_wheels() {
local wheel_content="OFF"
fi

if [ "${SOURCE_KIND}" = "tarball" ]; then
local check_version="ON"
else
local check_version="OFF"
fi

# verify arch-native wheels inside an arch-native conda environment
for python in ${python_versions}; do
local pyver=${python/m}
Expand All @@ -1111,7 +1123,7 @@ test_macos_wheels() {
ARROW_S3=${check_s3} \
ARROW_VERSION=${VERSION} \
CHECK_WHEEL_CONTENT=${wheel_content:-"ON"} \
CHECK_VERSION=ON \
CHECK_VERSION=${check_version} \
INSTALL_PYARROW=OFF \
${ARROW_DIR}/ci/scripts/python_wheel_unix_test.sh ${ARROW_SOURCE_DIR}
done
Expand Down

0 comments on commit 426a754

Please sign in to comment.