Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ARROW-14435: [Release] Update verification scripts to check python 3.10 wheels #11519

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions dev/release/verify-release-candidate-wheels.bat
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,12 @@ if errorlevel 1 GOTO error
CALL :verify_wheel 3.8
if errorlevel 1 GOTO error

CALL :verify_wheel 3.9
if errorlevel 1 GOTO error

CALL :verify_wheel 3.10
if errorlevel 1 GOTO error

:done
cd %_CURRENT_DIR%

Expand Down
20 changes: 15 additions & 5 deletions dev/release/verify-release-candidate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -583,12 +583,17 @@ test_linux_wheels() {
local arch="x86_64"
fi

local py_arches="3.6m 3.7m 3.8 3.9"
local py_arches="3.6m 3.7m 3.8 3.9 3.10"
local platform_tags="manylinux_2_12_${arch}.manylinux2010_${arch} manylinux_2_17_${arch}.manylinux2014_${arch}"

for py_arch in ${py_arches}; do
local env=_verify_wheel-${py_arch}
conda create -yq -n ${env} python=${py_arch//[mu]/}
if [ $py_arch = "3.10" ]; then
local channels="-c conda-forge -c defaults"
else
local channels="-c conda-forge"
fi
conda create -yq -n ${env} ${channels} python=${py_arch//[mu]/}
conda activate ${env}
pip install -U pip

Expand All @@ -603,7 +608,7 @@ test_linux_wheels() {
}

test_macos_wheels() {
local py_arches="3.6m 3.7m 3.8 3.9"
local py_arches="3.6m 3.7m 3.8 3.9 3.10"
local macos_version=$(sw_vers -productVersion)
local macos_short_version=${macos_version:0:5}

Expand All @@ -616,14 +621,19 @@ test_macos_wheels() {
fi
# apple silicon processor
if [ "$(uname -m)" = "arm64" ]; then
local py_arches="3.8 3.9"
local py_arches="3.8 3.9 3.10"
local check_flight=OFF
fi

# verify arch-native wheels inside an arch-native conda environment
for py_arch in ${py_arches}; do
local env=_verify_wheel-${py_arch}
conda create -yq -n ${env} python=${py_arch//m/}
if [ $py_arch = "3.10" ]; then
local channels="-c conda-forge -c defaults"
else
local channels="-c conda-forge"
fi
conda create -yq -n ${env} ${channels} python=${py_arch//m/}
conda activate ${env}
pip install -U pip

Expand Down