This is an automated email from the ASF dual-hosted git repository.

kou pushed a commit to branch maint-10.0.x
in repository https://gitbox.apache.org/repos/asf/arrow.git

commit 9d66933ecbd4e7758635e1ad1c47e3366c5afd69
Author: Raúl Cumplido <raulcumpl...@gmail.com>
AuthorDate: Mon Oct 31 11:12:34 2022 +0100

    ARROW-18190: [CI][Packaging] Fix macOS mojave wheels test step to actually 
test wheels (#14540)
    
    Authored-by: Raúl Cumplido <raulcumpl...@gmail.com>
    Signed-off-by: Antoine Pitrou <anto...@python.org>
---
 dev/tasks/python-wheels/github.osx.amd64.yml | 22 ++++++++--------------
 1 file changed, 8 insertions(+), 14 deletions(-)

diff --git a/dev/tasks/python-wheels/github.osx.amd64.yml 
b/dev/tasks/python-wheels/github.osx.amd64.yml
index 8044fc39fb..526412f842 100644
--- a/dev/tasks/python-wheels/github.osx.amd64.yml
+++ b/dev/tasks/python-wheels/github.osx.amd64.yml
@@ -108,23 +108,17 @@ jobs:
           name: wheel
           path: arrow/python/repaired_wheels/*.whl
 
-      - name: Test Wheel
+      - name: Test Wheel on AMD64
         shell: bash
         env:
-          TEST_DEFAULT: "0"
-          TEST_PYARROW_VERSION: "{{ arrow.no_rc_version }}"
-          TEST_WHEEL: "1"
+          PYTEST_ADDOPTS: "-k 'not test_cancellation'"
         run: |
-          case "${PYTHON_VERSION}" in
-            3.7)
-              python_version=${PYTHON_VERSION}m
-              ;;
-            *)
-              python_version=${PYTHON_VERSION}
-              ;;
-          esac
-          export TEST_PYTHON_VERSIONS=${python_version}
-          arrow/dev/release/verify-release-candidate.sh
+          $PYTHON -m venv test-amd64-env
+          source test-amd64-env/bin/activate
+          pip install --upgrade pip wheel
+          arch -x86_64 pip install -r arrow/python/requirements-wheel-test.txt
+          PYTHON=python arch -x86_64 arrow/ci/scripts/install_gcs_testbench.sh 
default
+          arch -x86_64 arrow/ci/scripts/python_wheel_unix_test.sh $(pwd)/arrow
 
       {{ 
macros.github_upload_releases("arrow/python/repaired_wheels/*.whl")|indent }}
       {{ 
macros.github_upload_gemfury("arrow/python/repaired_wheels/*.whl")|indent }}

Reply via email to