Skip to content

Commit 5a8fcc9

Browse files
committed
Fix pyarrow 0.19.1 wheel building
1 parent 71e7433 commit 5a8fcc9

File tree

7 files changed

+36
-2
lines changed

7 files changed

+36
-2
lines changed

.github/workflows/build-linux-aarch64-wheels.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ jobs:
3535
cache: false
3636
- name: Build wheels
3737
run: |
38+
export PIP_GRAALPY_PATCHES_URL="${GITHUB_WORKSPACE}/graalpython/lib-graalpython/patches"
3839
python3 -m venv wheelbuilder_venv
3940
wheelbuilder_venv/bin/python3 scripts/wheelbuilder/build_wheels.py ${{ inputs.graalpy_url }}
4041
- name: Build wheels

.github/workflows/build-linux-amd64-wheels.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333
cache: false
3434
- name: Build wheels
3535
run: |
36+
export PIP_GRAALPY_PATCHES_URL="${GITHUB_WORKSPACE}/graalpython/lib-graalpython/patches"
3637
python3 -m venv wheelbuilder_venv
3738
wheelbuilder_venv/bin/python3 scripts/wheelbuilder/build_wheels.py ${{ inputs.graalpy_url }}
3839
- name: Store wheels

.github/workflows/build-macos-aarch64-wheels.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
python-version: 3.12
2929
- name: Build wheels
3030
run: |
31+
export PIP_GRAALPY_PATCHES_URL="${GITHUB_WORKSPACE}/graalpython/lib-graalpython/patches"
3132
python3 scripts/wheelbuilder/build_wheels.py ${{ inputs.graalpy_url }}
3233
- name: Store wheels
3334
uses: actions/upload-artifact@main

.github/workflows/build-macos-amd64-wheels.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
python-version: 3.12
2929
- name: Build wheels
3030
run: |
31+
export PIP_GRAALPY_PATCHES_URL="${GITHUB_WORKSPACE}/graalpython/lib-graalpython/patches"
3132
python3 scripts/wheelbuilder/build_wheels.py ${{ inputs.graalpy_url }}
3233
- name: Store wheels
3334
uses: actions/upload-artifact@main

.github/workflows/build-windows-amd64-wheels.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ jobs:
3030
- name: Build wheels
3131
run: |
3232
$env:PATH+=";C:\Program Files\Git\usr\bin"
33+
$env:PIP_GRAALPY_PATCHES_URL=$env:GITHUB_WORKSPACE
34+
$env:PIP_GRAALPY_PATCHES_URL+="/graalpython/lib-graalpython/patches"
3335
python3 scripts/wheelbuilder/build_wheels.py ${{ inputs.graalpy_url }}
3436
- name: Store wheels
3537
uses: actions/upload-artifact@main

graalpython/lib-graalpython/patches/pyarrow-19.0.0.patch

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,3 +162,27 @@ index ef2043f..cb08a86 100644
162162

163163
[project]
164164
name = "pyarrow"
165+
diff --git a/MANIFEST.in b/MANIFEST.in
166+
index ef2043f..cb08a86 100644
167+
--- a/MANIFEST.in
168+
+++ b/MANIFEST.in
169+
@@ -1,6 +1,4 @@
170+
include README.md
171+
-include ../LICENSE.txt
172+
-include ../NOTICE.txt
173+
174+
global-include CMakeLists.txt
175+
graft pyarrow
176+
diff --git a/setup.cfg b/setup.cfg
177+
index ef2043f..cb08a86 100644
178+
--- a/setup.cfg
179+
+++ b/setup.cfg
180+
@@ -1,7 +1,6 @@
181+
[metadata]
182+
license_files =
183+
- ../LICENSE.txt
184+
- ../NOTICE.txt
185+
+ README.md
186+
187+
[build_sphinx]
188+
source-dir = doc/

scripts/wheelbuilder/linux/pyarrow.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,14 @@ if command -v manylinux-interpreters 2>&1 >/dev/null; then
4545
openssl-devel \
4646
thrift-devel \
4747
jemalloc-devel \
48-
rapidjson-devel \
4948
xsimd-devel \
5049
libzstd-devel \
5150
re2-devel \
51+
mimalloc \
52+
lz4-devel \
5253
bzip2-devel \
53-
llvm clang clang-libs
54+
llvm llvm-libs llvm-devel \
55+
llvm-cmake-utils \
56+
lld lld-devel \
57+
clang clang-libs clang-devel
5458
fi

0 commit comments

Comments
 (0)