File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -308,6 +308,12 @@ jobs:
308308 run : |
309309 call activate pyarrow-dev || exit /B 1
310310 call "ci\scripts\python_build.bat" %cd% "%CONDA_PREFIX%"
311+ - name : Upload wheel
312+ if : always() # ensures this runs even on failure
313+ uses : actions/upload-artifact@v4
314+ with :
315+ name : built-wheel
316+ path : python/wheelhouse/*.whl
311317 - name : Test PyArrow
312318 shell : cmd
313319 env :
Original file line number Diff line number Diff line change @@ -198,9 +198,10 @@ pushd %SOURCE_DIR%\python
198198@ REM Install Python build dependencies
199199%PYTHON_CMD% -m pip install --upgrade pip || exit /B 1
200200%PYTHON_CMD% -m pip install -r requirements-build.txt || exit /B 1
201+ %PYTHON_CMD% -m pip install build || exit /B 1
201202
202203@ REM Build PyArrow
203- %PYTHON_CMD% -m pip install --no-deps --no-build- isolation -vv . ^
204+ %PYTHON_CMD% -m build --wheel --no-isolation . ^
204205 -Csetup-args=" -Dbuildtype=%MESON_BUILD_TYPE% " ^
205206 -Csetup-args=" -Dacero=%PYARROW_WITH_ACERO% " ^
206207 -Csetup-args=" -Ddataset=%PYARROW_WITH_DATASET% " ^
@@ -213,5 +214,6 @@ pushd %SOURCE_DIR%\python
213214 -Csetup-args=" -Dparquet_require_encryption=%PYARROW_WITH_PARQUET_ENCRYPTION% " ^
214215 -Csetup-args=" -Dsubstrait=%PYARROW_WITH_SUBSTRAIT% " ^
215216 -Csetup-args=" -Ds3=%PYARROW_WITH_S3% " || exit /B 1
217+ %PYTHON_CMD% -m pip install --no-index --find-links .\dist\ pyarrow
216218
217219popd
You can’t perform that action at this time.
0 commit comments