From cc42b4f7cd32b4e8c0fa401a406e74837100d93b Mon Sep 17 00:00:00 2001 From: Jacob Wujciak-Jens Date: Thu, 29 Dec 2022 21:00:18 +0100 Subject: [PATCH 1/2] skip pyarrow install test --- r/tests/testthat/test-python.R | 2 ++ 1 file changed, 2 insertions(+) diff --git a/r/tests/testthat/test-python.R b/r/tests/testthat/test-python.R index cf10579e2de0..029470bed764 100644 --- a/r/tests/testthat/test-python.R +++ b/r/tests/testthat/test-python.R @@ -24,6 +24,8 @@ test_that("install_pyarrow", { skip_if_not_installed("reticulate") # PyArrow doesn't support Python 3.6 or earlier skip_on_python_older_than("3.7") + # no pyarrow wheels for macos 10.13 + skip_if(Sys.info()["sysname"] == "Darwin" && Sys.info()["release"] < 14) venv <- try(reticulate::virtualenv_create("arrow-test")) # Bail out if virtualenv isn't available From b1411ceb2e1dc8ec96327192c5e5fe5de8d76d46 Mon Sep 17 00:00:00 2001 From: Jacob Wujciak-Jens Date: Thu, 29 Dec 2022 21:15:55 +0100 Subject: [PATCH 2/2] fix 10.13 darwin release version --- r/tests/testthat/test-python.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/r/tests/testthat/test-python.R b/r/tests/testthat/test-python.R index 029470bed764..f6fdb7fefae9 100644 --- a/r/tests/testthat/test-python.R +++ b/r/tests/testthat/test-python.R @@ -25,7 +25,7 @@ test_that("install_pyarrow", { # PyArrow doesn't support Python 3.6 or earlier skip_on_python_older_than("3.7") # no pyarrow wheels for macos 10.13 - skip_if(Sys.info()["sysname"] == "Darwin" && Sys.info()["release"] < 14) + skip_if(Sys.info()["sysname"] == "Darwin" && Sys.info()["release"] < 18) venv <- try(reticulate::virtualenv_create("arrow-test")) # Bail out if virtualenv isn't available