From 1ff684ccffe0fb1bdc2677f75bf34c401859f694 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kriszti=C3=A1n=20Sz=C5=B1cs?= Date: Fri, 22 Oct 2021 11:20:12 +0200 Subject: [PATCH 1/2] ARROW-14435: [Release] Update verification scripts to check python 3.10 wheels --- dev/release/verify-release-candidate-wheels.bat | 6 ++++++ dev/release/verify-release-candidate.sh | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/dev/release/verify-release-candidate-wheels.bat b/dev/release/verify-release-candidate-wheels.bat index 5bcefe80d60..322e0cb56e1 100644 --- a/dev/release/verify-release-candidate-wheels.bat +++ b/dev/release/verify-release-candidate-wheels.bat @@ -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% diff --git a/dev/release/verify-release-candidate.sh b/dev/release/verify-release-candidate.sh index 212547744c4..f429a0f1ba6 100755 --- a/dev/release/verify-release-candidate.sh +++ b/dev/release/verify-release-candidate.sh @@ -583,7 +583,7 @@ 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 @@ -603,7 +603,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} From 67f666da36ce0b608094b630a187701420d9785b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kriszti=C3=A1n=20Sz=C5=B1cs?= Date: Mon, 25 Oct 2021 15:46:54 +0200 Subject: [PATCH 2/2] ARROW-14435: [Release] Use both conda-forge and defaults channels to verify 3.10 wheels --- dev/release/verify-release-candidate.sh | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/dev/release/verify-release-candidate.sh b/dev/release/verify-release-candidate.sh index f429a0f1ba6..f6d44c240e5 100755 --- a/dev/release/verify-release-candidate.sh +++ b/dev/release/verify-release-candidate.sh @@ -588,7 +588,12 @@ test_linux_wheels() { 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 @@ -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