WillAyd commented on code in PR #45854:
URL: https://github.com/apache/arrow/pull/45854#discussion_r2600273450
##########
.github/workflows/python.yml:
##########
@@ -288,11 +288,39 @@ jobs:
env:
# We can invalidate the current cache by updating this.
CACHE_VERSION: "2025-09-16.1"
+ - name: Install conda
+ shell: cmd
+ run: |
+ curl -L
https://github.com/conda-forge/miniforge/releases/download/25.11.0-0/Miniforge3-25.11.0-0-Windows-x86_64.exe
-o miniforge.exe
+ start /wait "" .\miniforge.exe /S /D=C:\miniforge
+ del .\miniforge.exe
+ C:\miniforge\Scripts\conda.exe init cmd.exe
+ echo
C:\miniforge\Scripts;C:\miniforge\Library\bin;C:\miniforge\condabin>>
%GITHUB_PATH%
+ - name: Create conda environment
+ shell: cmd
+ run: |
+ conda env create -n pyarrow-dev -f .\ci\conda_env_cpp.txt -y
+ conda env update -n pyarrow-dev -f .\ci\conda_env_python.txt
- name: Build Arrow C++ and PyArrow
shell: cmd
+ env:
+ PYTHON_CMD: "python"
run: |
- call "ci\scripts\python_build.bat" %cd% "${{
steps.path-info.outputs.usr-windows-dir }}"
+ call activate pyarrow-dev || exit /B 1
+ call "ci\scripts\python_build.bat" %cd% "%CONDA_PREFIX%"
+ - name: Upload wheel
+ if: always() # ensures this runs even on failure
+ uses: actions/upload-artifact@v4
+ with:
+ name: built-wheel
+ path: python/dist/*.whl
- name: Test PyArrow
shell: cmd
+ env:
+ PYTHON_CMD: "python"
+ # TODO: Renaming lz4 library is a hack - see where the name gets mixed
up
run: |
+ call activate pyarrow-dev
+ move C:\miniforge\envs\pyarrow-dev\Library\bin\liblz4.dll
C:\miniforge\envs\pyarrow-dev\Library\bin\lz4.dll
Review Comment:
OK fixed the windows jobs by bumping lz4-c to 1.10.0. At the same time, a
regression with the Linux jobs was introduced, whereby abseil symbols that
flight needs are not being found. I noticed in CI that the lz4-c bump caused
abseil to jump from 20240116.2 to 20240722.0, which may or may not be related.
Will be offline for a few days, but hope to resolve when I get back.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]