Skip to content

Commit 940b64d

Browse files
Merge remote-tracking branch 'upstream/main' into apachegh-43683-pandas-string-dtype
2 parents 762b554 + ffcc117 commit 940b64d

File tree

168 files changed

+6646
-1213
lines changed

Some content is hidden

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

168 files changed

+6646
-1213
lines changed

.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ CLANG_TOOLS=14
5757
CUDA=11.2.2
5858
DASK=latest
5959
DOTNET=8.0
60-
GCC_VERSION=""
60+
GCC=
6161
HDFS=3.2.1
6262
JDK=11
6363
KARTOTHEK=latest

.github/workflows/csharp.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
dotnet: ['8.0.x']
5555
steps:
5656
- name: Install C#
57-
uses: actions/setup-dotnet@v4.1.0
57+
uses: actions/setup-dotnet@v4.2.0
5858
with:
5959
dotnet-version: ${{ matrix.dotnet }}
6060
- name: Setup Python
@@ -86,7 +86,7 @@ jobs:
8686
dotnet: ['8.0.x']
8787
steps:
8888
- name: Install C#
89-
uses: actions/setup-dotnet@v4.1.0
89+
uses: actions/setup-dotnet@v4.2.0
9090
with:
9191
dotnet-version: ${{ matrix.dotnet }}
9292
- name: Checkout Arrow
@@ -113,7 +113,7 @@ jobs:
113113
dotnet: ['8.0.x']
114114
steps:
115115
- name: Install C#
116-
uses: actions/setup-dotnet@v4.1.0
116+
uses: actions/setup-dotnet@v4.2.0
117117
with:
118118
dotnet-version: ${{ matrix.dotnet }}
119119
- name: Setup Python

.github/workflows/dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ jobs:
117117
with:
118118
ruby-version: ruby
119119
- name: Install .NET
120-
uses: actions/setup-dotnet@3e891b0cb619bf60e2c25674b222b8940e2c1c25 # v4.1.0
120+
uses: actions/setup-dotnet@87b7050bc53ea08284295505d98d2aa94301e852 # v4.2.0
121121
with:
122122
dotnet-version: '8.0.x'
123123
- name: Install Dependencies

.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@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
32+
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
3333
with:
3434
path: "${{ github.event_path }}"
3535
name: "pr_review_payload"

.github/workflows/r.yml

Lines changed: 3 additions & 3 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@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
180+
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
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@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
240+
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
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@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
302+
- uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
303303
with:
304304
name: libarrow-rtools${{ matrix.config.rtools }}-${{ matrix.config.arch }}.zip
305305
path: libarrow-rtools${{ matrix.config.rtools }}-${{ matrix.config.arch }}.zip

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,4 +182,5 @@ repos:
182182
(
183183
?^ci/scripts/c_glib_build\.sh$|
184184
?^ci/scripts/c_glib_test\.sh$|
185+
?^c_glib/test/run-test\.sh$|
185186
)

c_glib/test/run-test.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# specific language governing permissions and limitations
1818
# under the License.
1919

20-
test_dir="$(cd $(dirname $0); pwd)"
20+
test_dir="$(cd "$(dirname "$0")" && pwd)"
2121
build_dir="$(cd .; pwd)"
2222

2323
modules=(
@@ -47,7 +47,7 @@ if [ "${BUILD}" != "no" ]; then
4747
fi
4848

4949
for module in "${modules[@]}"; do
50-
MODULE_TYPELIB_DIR_VAR_NAME="$(echo ${module} | tr a-z- A-Z_)_TYPELIB_DIR"
50+
MODULE_TYPELIB_DIR_VAR_NAME="$(echo "${module}" | tr a-z- A-Z_)_TYPELIB_DIR"
5151
module_typelib_dir=$(eval "echo \${${MODULE_TYPELIB_DIR_VAR_NAME}}")
5252
if [ -z "${module_typelib_dir}" ]; then
5353
module_typelib_dir="${build_dir}/${module}"
@@ -74,4 +74,4 @@ case "${DEBUGGER}" in
7474
DEBUGGER_ARGS+=(--)
7575
;;
7676
esac
77-
${DEBUGGER} "${DEBUGGER_ARGS[@]}" "${RUBY}" ${test_dir}/run-test.rb "$@"
77+
${DEBUGGER} "${DEBUGGER_ARGS[@]}" "${RUBY}" "${test_dir}"/run-test.rb "$@"

ci/appveyor-cpp-build.bat

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ IF "%ARROW_DEBUG_MEMORY_POOL%"=="" (
3434
set CMAKE_BUILD_PARALLEL_LEVEL=%NUMBER_OF_PROCESSORS%
3535
set CTEST_PARALLEL_LEVEL=%NUMBER_OF_PROCESSORS%
3636

37-
3837
call activate arrow
3938

4039
@rem The "main" C++ build script for Windows CI
@@ -113,12 +112,12 @@ ctest --output-on-failure || exit /B
113112

114113
popd
115114

115+
pushd python
116+
116117
@rem
117118
@rem Build and install pyarrow
118119
@rem
119120

120-
pushd python
121-
122121
set PYARROW_CMAKE_GENERATOR=%GENERATOR%
123122
set PYARROW_CXXFLAGS=%ARROW_CXXFLAGS%
124123
set PYARROW_PARALLEL=2
@@ -137,6 +136,12 @@ set ARROW_HOME=%CONDA_PREFIX%\Library
137136
@rem ARROW-3075; pkgconfig is broken for Parquet for now
138137
set PARQUET_HOME=%CONDA_PREFIX%\Library
139138

139+
pip install --no-deps --no-build-isolation -vv --editable .
140+
141+
@rem
142+
@rem Run pyarrow tests
143+
@rem
144+
140145
@rem Download IANA Timezone Database to a non-standard location to
141146
@rem test the configurability of the timezone database path
142147
curl https://data.iana.org/time-zones/releases/tzdata2024b.tar.gz --output tzdata.tar.gz || exit /B
@@ -150,12 +155,9 @@ rmdir /s /q %USERPROFILE%\Downloads\tzdata
150155
@rem (only needed for testing purposes)
151156
set PYARROW_TZDATA_PATH=%USERPROFILE%\Downloads\test\tzdata
152157

153-
python setup.py develop -q || exit /B
154-
158+
set AWS_EC2_METADATA_DISABLED=true
155159
set PYTHONDEVMODE=1
156160

157-
py.test -r sxX --durations=15 --pyargs pyarrow.tests || exit /B
161+
python -m pytest -r sxX --durations=15 pyarrow/tests || exit /B
158162

159-
@rem
160-
@rem Wheels are built and tested separately (see ARROW-5142).
161-
@rem
163+
popd

ci/appveyor-cpp-setup.bat

Lines changed: 12 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,13 @@
1717

1818
@echo on
1919

20-
set "PATH=C:\Miniconda38-x64;C:\Miniconda38-x64\Scripts;C:\Miniconda38-x64\Library\bin;%PATH%"
20+
@rem
21+
@rem The miniconda install on AppVeyor is very outdated, use Mambaforge instead
22+
@rem
23+
24+
appveyor DownloadFile https://github.com/conda-forge/miniforge/releases/download/24.9.2-0/Mambaforge-Windows-x86_64.exe || exit /B
25+
start /wait "" Mambaforge-Windows-x86_64.exe /InstallationType=JustMe /RegisterPython=0 /S /D=C:\Mambaforge
26+
set "PATH=C:\Mambaforge\scripts;C:\Mambaforge\condabin;%PATH%"
2127

2228
@rem
2329
@rem Avoid picking up AppVeyor-installed OpenSSL (linker errors with gRPC)
@@ -33,26 +39,15 @@ rd /s /q C:\OpenSSL-v30-Win32
3339
rd /s /q C:\OpenSSL-v30-Win64
3440

3541
@rem
36-
@rem Configure miniconda
42+
@rem Configure conda
3743
@rem
3844
conda config --set auto_update_conda false
39-
conda config --set show_channel_urls True
45+
conda config --set show_channel_urls true
46+
conda config --set always_yes true
4047
@rem Help with SSL timeouts to S3
4148
conda config --set remote_connect_timeout_secs 12
42-
@rem Workaround for ARROW-13636
43-
conda config --append disallowed_packages pypy3
44-
conda info -a
45-
46-
@rem
47-
@rem Install Python to the base environment
48-
@rem
49-
conda install -q -y -c conda-forge python=%PYTHON% || exit /B
5049

51-
@rem Can't use conda-libmamba-solver 2.0.0
52-
conda config --set solver classic
53-
54-
@rem Update for newer CA certificates
55-
conda update -q -y -c conda-forge --all || exit /B
50+
conda info -a || exit /B
5651

5752
@rem
5853
@rem Create conda environment
@@ -66,11 +61,8 @@ if "%ARROW_BUILD_GANDIVA%" == "ON" (
6661
)
6762
@rem Install pre-built "toolchain" packages for faster builds
6863
set CONDA_PACKAGES=%CONDA_PACKAGES% --file=ci\conda_env_cpp.txt
69-
@rem Force conda to use conda-forge
70-
conda config --add channels conda-forge
71-
conda config --remove channels defaults
7264
@rem Arrow conda environment
73-
conda create -n arrow -y -c conda-forge ^
65+
conda create -n arrow ^
7466
--file=ci\conda_env_python.txt ^
7567
%CONDA_PACKAGES% ^
7668
"ccache" ^
@@ -97,7 +89,6 @@ if "%ARROW_S3%" == "ON" (
9789
appveyor DownloadFile https://dl.min.io/server/minio/release/windows-amd64/archive/minio.RELEASE.2024-09-13T20-26-02Z -FileName C:\Windows\Minio.exe || exit /B
9890
)
9991

100-
10192
@rem
10293
@rem Download IANA Timezone Database for unit tests
10394
@rem

ci/docker/conda-cpp.dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ ENV PIPX_BASE_PYTHON=/opt/conda/bin/python3
4848
COPY ci/scripts/install_gcs_testbench.sh /arrow/ci/scripts
4949
RUN /arrow/ci/scripts/install_gcs_testbench.sh default
5050

51-
# Ensure npm, node and azurite are on path. npm and node are required to install azurite, which will then need to
51+
# Ensure npm, node and azurite are on path. npm and node are required to install azurite, which will then need to
5252
# be on the path for the tests to run.
5353
ENV PATH=/opt/conda/envs/arrow/bin:$PATH
5454

@@ -68,6 +68,7 @@ ENV ARROW_ACERO=ON \
6868
ARROW_GANDIVA=ON \
6969
ARROW_GCS=ON \
7070
ARROW_HOME=$CONDA_PREFIX \
71+
ARROW_JEMALLOC=ON \
7172
ARROW_ORC=ON \
7273
ARROW_PARQUET=ON \
7374
ARROW_S3=ON \

0 commit comments

Comments
 (0)