From 4b3d5fc9f39207345a9094be5a472848736f39a7 Mon Sep 17 00:00:00 2001 From: David Li Date: Sat, 22 Oct 2022 15:28:11 -0400 Subject: [PATCH 1/2] MINOR: [Release] Fix loop in universal2 wheel verification --- dev/release/verify-release-candidate.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dev/release/verify-release-candidate.sh b/dev/release/verify-release-candidate.sh index a9681af5287..728e705d036 100755 --- a/dev/release/verify-release-candidate.sh +++ b/dev/release/verify-release-candidate.sh @@ -1067,7 +1067,8 @@ test_macos_wheels() { # the interpreter should be installed from python.org: # https://www.python.org/ftp/python/3.9.6/python-3.9.6-macosx10.9.pkg if [ "$(uname -m)" = "arm64" ]; then - for pyver in "3.9 3.10"; do + for pyver in 3.9 3.10; do + show_header "Testing Python ${pyver} universal2 wheel" local python="/Library/Frameworks/Python.framework/Versions/${pyver}/bin/python${pyver}" # create and activate a virtualenv for testing as arm64 From e35d81343728211a5aaa17e223e76dbfd02258b0 Mon Sep 17 00:00:00 2001 From: David Li Date: Sat, 22 Oct 2022 15:29:06 -0400 Subject: [PATCH 2/2] Update verify-release-candidate.sh --- dev/release/verify-release-candidate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/release/verify-release-candidate.sh b/dev/release/verify-release-candidate.sh index 728e705d036..f874500c8ff 100755 --- a/dev/release/verify-release-candidate.sh +++ b/dev/release/verify-release-candidate.sh @@ -1068,11 +1068,11 @@ test_macos_wheels() { # https://www.python.org/ftp/python/3.9.6/python-3.9.6-macosx10.9.pkg if [ "$(uname -m)" = "arm64" ]; then for pyver in 3.9 3.10; do - show_header "Testing Python ${pyver} universal2 wheel" local python="/Library/Frameworks/Python.framework/Versions/${pyver}/bin/python${pyver}" # create and activate a virtualenv for testing as arm64 for arch in "arm64" "x86_64"; do + show_header "Testing Python ${pyver} universal2 wheel on ${arch}" VENV_ENV=wheel-${pyver}-universal2-${arch} PYTHON=${python} maybe_setup_virtualenv || continue # install pyarrow's universal2 wheel pip install pyarrow-${VERSION}-cp${pyver/.}-cp${pyver/.}-macosx_11_0_universal2.whl