This is an automated email from the ASF dual-hosted git repository.
jorisvandenbossche pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/main by this push:
new fc54eadb72 GH-43785: [Python][CI] Correct PARQUET_TEST_DATA path in
wheel tests (#43786)
fc54eadb72 is described below
commit fc54eadb72791288fc9681bbcc6c8a9d8d6fff1d
Author: Joris Van den Bossche <[email protected]>
AuthorDate: Thu Aug 22 11:28:01 2024 +0200
GH-43785: [Python][CI] Correct PARQUET_TEST_DATA path in wheel tests
(#43786)
### Rationale for this change
Starting with https://github.com/apache/arrow/pull/41580, the pyarrow tests
now also rely on a file in the parquet-testing submodule. And the path to that
directory is controlled by `PARQUET_TEST_DATA`, which appears to be set wrongly
in the wheel test scripts, causing all wheel builds to fail at the moment.
* GitHub Issue: #43785
Authored-by: Joris Van den Bossche <[email protected]>
Signed-off-by: Joris Van den Bossche <[email protected]>
---
ci/scripts/python_wheel_unix_test.sh | 2 +-
ci/scripts/python_wheel_windows_test.bat | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ci/scripts/python_wheel_unix_test.sh
b/ci/scripts/python_wheel_unix_test.sh
index a25e5c51bd..cf87a17056 100755
--- a/ci/scripts/python_wheel_unix_test.sh
+++ b/ci/scripts/python_wheel_unix_test.sh
@@ -54,7 +54,7 @@ export PYARROW_TEST_S3=${ARROW_S3}
export PYARROW_TEST_TENSORFLOW=ON
export ARROW_TEST_DATA=${source_dir}/testing/data
-export PARQUET_TEST_DATA=${source_dir}/submodules/parquet-testing/data
+export PARQUET_TEST_DATA=${source_dir}/cpp/submodules/parquet-testing/data
if [ "${INSTALL_PYARROW}" == "ON" ]; then
# Install the built wheels
diff --git a/ci/scripts/python_wheel_windows_test.bat
b/ci/scripts/python_wheel_windows_test.bat
index a928c3571d..87c0bb1252 100755
--- a/ci/scripts/python_wheel_windows_test.bat
+++ b/ci/scripts/python_wheel_windows_test.bat
@@ -35,7 +35,7 @@ set PYARROW_TEST_TENSORFLOW=ON
@REM set PYARROW_TEST_PANDAS=ON
set ARROW_TEST_DATA=C:\arrow\testing\data
-set PARQUET_TEST_DATA=C:\arrow\submodules\parquet-testing\data
+set PARQUET_TEST_DATA=C:\arrow\cpp\submodules\parquet-testing\data
@REM Install testing dependencies
pip install -r C:\arrow\python\requirements-wheel-test.txt || exit /B 1