Skip to content

Commit 37e4369

Browse files
author
HackPoint
committed
Merge remote-tracking branch 'origin/main' into feat/flight-sql-client
2 parents 118a13b + 0709cd7 commit 37e4369

File tree

173 files changed

+3727
-7948
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

173 files changed

+3727
-7948
lines changed

.github/workflows/csharp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ jobs:
191191
dev/release/utils-generate-checksum.sh "${artifact}"
192192
done
193193
- name: Upload
194-
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
194+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
195195
with:
196196
name: nuget
197197
path: |

.github/workflows/pr_review_trigger.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
runs-on: ubuntu-latest
3030
steps:
3131
- name: "Upload PR review Payload"
32-
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
32+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
3333
with:
3434
path: "${{ github.event_path }}"
3535
name: "pr_review_payload"

.github/workflows/r.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ jobs:
177177
if: always()
178178
- name: Save the test output
179179
if: always()
180-
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
180+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
181181
with:
182182
name: test-output-${{ matrix.ubuntu }}-${{ matrix.r }}
183183
path: r/check/arrow.Rcheck/tests/testthat.Rout*
@@ -237,7 +237,7 @@ jobs:
237237
if: always()
238238
- name: Save the test output
239239
if: always()
240-
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
240+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
241241
with:
242242
name: test-output-bundled
243243
path: r/check/arrow.Rcheck/tests/testthat.Rout*
@@ -299,7 +299,7 @@ jobs:
299299
# So that they're unique when multiple are downloaded in the next step
300300
shell: bash
301301
run: mv libarrow.zip libarrow-rtools${{ matrix.config.rtools }}-${{ matrix.config.arch }}.zip
302-
- uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
302+
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
303303
with:
304304
name: libarrow-rtools${{ matrix.config.rtools }}-${{ matrix.config.arch }}.zip
305305
path: libarrow-rtools${{ matrix.config.rtools }}-${{ matrix.config.arch }}.zip
@@ -337,7 +337,7 @@ jobs:
337337
echo "$HOME/.local/bin" >> $GITHUB_PATH
338338
- run: mkdir r/windows
339339
- name: Download artifacts
340-
uses: actions/download-artifact@v4.1.9
340+
uses: actions/download-artifact@v4.2.1
341341
with:
342342
name: libarrow-rtools40-ucrt64.zip
343343
path: r/windows

.pre-commit-config.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,9 +195,27 @@ repos:
195195
?^ci/scripts/c_glib_build\.sh$|
196196
?^ci/scripts/c_glib_test\.sh$|
197197
?^c_glib/test/run-test\.sh$|
198+
?^dev/release/05-binary-upload\.sh$|
198199
?^dev/release/07-binary-verify\.sh$|
200+
?^dev/release/post-03-binary\.sh$|
201+
?^dev/release/post-11-python\.sh$|
199202
?^dev/release/utils-generate-checksum\.sh$|
200203
)
204+
- repo: https://github.com/scop/pre-commit-shfmt
205+
rev: v3.11.0-1
206+
hooks:
207+
- id: shfmt
208+
args:
209+
# The default args is "--write --simplify" but we don't use
210+
# "--simplify". Because it's conflicted will ShellCheck.
211+
- "--write"
212+
# TODO: Remove this when we fix all lint failures
213+
files: >-
214+
(
215+
?^dev/release/05-binary-upload\.sh$|
216+
?^dev/release/post-03-binary\.sh$|
217+
?^dev/release/post-11-python\.sh$|
218+
)
201219
- repo: https://github.com/trim21/pre-commit-mirror-meson
202220
rev: v1.6.1
203221
hooks:

.shellcheckrc

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
18+
external-sources=true
19+
source-path=SCRIPTDIR

c_glib/test/flight-sql/test-client.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ def setup
2323
@server = nil
2424
omit("Arrow Flight SQL is required") unless defined?(ArrowFlightSQL)
2525
omit("Unstable on Windows") if Gem.win_platform?
26+
omit("Unstable on x86_64 macOS") if /x86_64-darwin/.match?(RUBY_PLATFORM)
2627
@server = Helper::FlightSQLServer.new
2728
host = "127.0.0.1"
2829
location = ArrowFlight::Location.new("grpc://#{host}:0")

c_glib/test/flight/test-client.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ def setup
2222
@server = nil
2323
omit("Arrow Flight is required") unless defined?(ArrowFlight)
2424
omit("Unstable on Windows") if Gem.win_platform?
25+
omit("Unstable on x86_64 macOS") if /x86_64-darwin/.match?(RUBY_PLATFORM)
2526
require_gi_bindings(3, 4, 7)
2627
@server = Helper::FlightServer.new
2728
host = "127.0.0.1"

c_glib/test/flight/test-stream-reader.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ def setup
2222
@server = nil
2323
omit("Arrow Flight is required") unless defined?(ArrowFlight)
2424
omit("Unstable on Windows") if Gem.win_platform?
25+
omit("Unstable on x86_64 macOS") if /x86_64-darwin/.match?(RUBY_PLATFORM)
2526
require_gi_bindings(3, 4, 5)
2627
@server = Helper::FlightServer.new
2728
host = "127.0.0.1"
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
18+
ARG base
19+
FROM ${base}
20+
21+
RUN apk add --no-cache \
22+
bash \
23+
build-base \
24+
bzip2-dev \
25+
g++ \
26+
git \
27+
libffi-dev \
28+
libnsl-dev \
29+
libtirpc-dev \
30+
linux-headers \
31+
ncurses-dev \
32+
openssl-dev \
33+
pkgconf \
34+
tzdata \
35+
zlib-dev
36+
37+
# Install Python3.13.2 without GIL
38+
RUN wget https://github.com/python/cpython/archive/refs/tags/v3.13.2.tar.gz && \
39+
tar -xzf v3.13.2.tar.gz && \
40+
rm v3.13.2.tar.gz && \
41+
cd cpython-3.13.2/ && \
42+
./configure --disable-gil --with-ensurepip && \
43+
make -j && \
44+
make install && \
45+
cd ../ && \
46+
rm -rf cpython-3.13.2/
47+
48+
ENV ARROW_PYTHON_VENV /arrow-dev
49+
RUN python3.13t -m venv ${ARROW_PYTHON_VENV}
50+
51+
ENV PYTHON_GIL 0
52+
ENV PATH "${ARROW_PYTHON_VENV}/bin:${PATH}"
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
18+
ARG base
19+
FROM ${base}
20+
21+
RUN apk add --no-cache \
22+
bash \
23+
build-base \
24+
bzip2-dev \
25+
g++ \
26+
git \
27+
libffi-dev \
28+
libnsl-dev \
29+
libtirpc-dev \
30+
linux-headers \
31+
ncurses-dev \
32+
openssl-dev \
33+
pkgconf \
34+
tzdata \
35+
zlib-dev
36+
37+
# Install Python3.13.2 without GIL
38+
RUN wget https://github.com/python/cpython/archive/refs/tags/v3.13.2.tar.gz && \
39+
tar -xzf v3.13.2.tar.gz && \
40+
rm v3.13.2.tar.gz && \
41+
cd cpython-3.13.2/ && \
42+
./configure --disable-gil --with-ensurepip && \
43+
make -j && \
44+
make install && \
45+
cd ../ && \
46+
rm -rf cpython-3.13.2/
47+
48+
ENV ARROW_PYTHON_VENV /arrow-dev
49+
RUN python3.13t -m venv ${ARROW_PYTHON_VENV}
50+
51+
ENV PYTHON_GIL 0
52+
ENV PATH "${ARROW_PYTHON_VENV}/bin:${PATH}"
53+
54+
ENV TZDIR=/usr/share/zoneinfo
55+
RUN cp /usr/share/zoneinfo/Etc/UTC /etc/localtime
56+
57+
# pandas doesn't provide wheels for aarch64 yet, so we have to install nightly Cython
58+
# along with the rest of pandas' build dependencies and disable build isolation
59+
COPY python/requirements-wheel-test.txt /arrow/python/
60+
RUN python -m pip install \
61+
--pre \
62+
--prefer-binary \
63+
--extra-index-url "https://pypi.anaconda.org/scientific-python-nightly-wheels/simple" \
64+
Cython numpy
65+
RUN python -m pip install "meson-python==0.13.1" "meson==1.2.1" wheel "versioneer[toml]" ninja
66+
RUN python -m pip install --no-build-isolation -r /arrow/python/requirements-wheel-test.txt

0 commit comments

Comments
 (0)