Skip to content

Commit

Permalink
ARROW-7780: [Release] Fix Windows wheel RC verification script given …
Browse files Browse the repository at this point in the history
…lack of "m" ABI tag in Python 3.8

Closes #6364 from wesm/fix-windows-rc-wheel-script and squashes the following commits:

9ada336 <Wes McKinney> wheel verification fixes

Authored-by: Wes McKinney <wesm+git@apache.org>
Signed-off-by: Krisztián Szűcs <szucs.krisztian@gmail.com>
  • Loading branch information
wesm authored and kszucs committed Feb 7, 2020
1 parent 163cb78 commit a1040bc
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions dev/release/verify-release-candidate-wheels.bat
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ if not exist %_VERIFICATION_DIR% mkdir %_VERIFICATION_DIR%

cd %_VERIFICATION_DIR%

CALL :verify_wheel 3.6 %1 %2
CALL :verify_wheel 3.6 %1 %2 m
if errorlevel 1 GOTO error

CALL :verify_wheel 3.7 %1 %2
CALL :verify_wheel 3.7 %1 %2 m
if errorlevel 1 GOTO error

CALL :verify_wheel 3.8 %1 %2
Expand All @@ -57,6 +57,7 @@ goto done
set PY_VERSION=%1
set ARROW_VERSION=%2
set RC_NUMBER=%3
set ABI_TAG=%4
set PY_VERSION_NO_PERIOD=%PY_VERSION:.=%

set CONDA_ENV_PATH=%_VERIFICATION_DIR%\_verify-wheel-%PY_VERSION%
Expand All @@ -65,7 +66,7 @@ call conda create -p %CONDA_ENV_PATH% ^
|| EXIT /B 1
call activate %CONDA_ENV_PATH%

set WHEEL_FILENAME=pyarrow-%ARROW_VERSION%-cp%PY_VERSION_NO_PERIOD%-cp%PY_VERSION_NO_PERIOD%m-win_amd64.whl
set WHEEL_FILENAME=pyarrow-%ARROW_VERSION%-cp%PY_VERSION_NO_PERIOD%-cp%PY_VERSION_NO_PERIOD%%ABI_TAG%-win_amd64.whl

@rem Requires GNU Wget for Windows
wget --no-check-certificate -O %WHEEL_FILENAME% https://bintray.com/apache/arrow/download_file?file_path=python-rc%%2F%ARROW_VERSION%-rc%RC_NUMBER%%%2F%WHEEL_FILENAME% || EXIT /B 1
Expand Down

0 comments on commit a1040bc

Please sign in to comment.