Skip to content

Commit

Permalink
GH-44461: [Release][Packacing][Python] Set PARQUET_TEST_DATA on verif…
Browse files Browse the repository at this point in the history
…y-release-candidate-wheels.bat (#44462)

### Rationale for this change

The Windows wheel verification fails due to missing `PARQUET_TEST_DATA`

### What changes are included in this PR?

Add `PARQUET_TEST_DATA` to `verify-release-candidate-wheels.bat` which is only tested on the binary verification job.

### Are these changes tested?

Via archery

### Are there any user-facing changes?

No
* GitHub Issue: #44461

Lead-authored-by: Sutou Kouhei <[email protected]>
Co-authored-by: Raúl Cumplido <[email protected]>
Co-authored-by: Sutou Kouhei <[email protected]>
Signed-off-by: Raúl Cumplido <[email protected]>
  • Loading branch information
raulcd and kou authored Oct 25, 2024
1 parent 802a846 commit 1b40800
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ci/scripts/download_tz_database.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
set -ex

# Download database
curl https://data.iana.org/time-zones/releases/tzdata2021e.tar.gz --output ~/Downloads/tzdata2021e.tar.gz
curl https://data.iana.org/time-zones/releases/tzdata2024b.tar.gz --output ~/Downloads/tzdata.tar.gz

# Extract
mkdir -p ~/Downloads/tzdata
tar --extract --file ~/Downloads/tzdata2021e.tar.gz --directory ~/Downloads/tzdata
tar --extract --file ~/Downloads/tzdata.tar.gz --directory ~/Downloads/tzdata

# Download Windows timezone mapping
curl https://raw.githubusercontent.com/unicode-org/cldr/master/common/supplemental/windowsZones.xml --output ~/Downloads/tzdata/windowsZones.xml
2 changes: 2 additions & 0 deletions dev/release/verify-release-candidate-wheels.bat
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ python arrow\dev\release\download_rc_binaries.py %ARROW_VERSION% %RC_NUMBER% ^
call deactivate

set ARROW_TEST_DATA=%cd%\arrow\testing\data
set PARQUET_TEST_DATA=%cd%\arrow\cpp\submodules\parquet-testing\data


CALL :verify_wheel 3.9
Expand Down Expand Up @@ -107,6 +108,7 @@ python -c "import pyarrow.dataset" || EXIT /B 1
pip install -r arrow\python\requirements-test.txt || EXIT /B 1

set PYARROW_TEST_CYTHON=OFF
set TZDIR=%CONDA_ENV_PATH%\share\zoneinfo
pytest %CONDA_ENV_PATH%\Lib\site-packages\pyarrow --pdb -v || EXIT /B 1

:done
Expand Down
1 change: 1 addition & 0 deletions dev/tasks/verify-rc/github.win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
{{ key }}: {{ value }}
{% endfor %}
{% endif %}
timeout-minutes: 60

steps:
{{ macros.github_checkout_arrow(fetch_depth=0)|indent }}
Expand Down

0 comments on commit 1b40800

Please sign in to comment.