Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main' into apachegh-40428-pandas
Browse files Browse the repository at this point in the history
  • Loading branch information
jorisvandenbossche committed Mar 13, 2024
2 parents 26c53c3 + a421314 commit 62bf9dd
Show file tree
Hide file tree
Showing 338 changed files with 12,370 additions and 13,146 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ VCPKG="a42af01b72c28a8e1d7b48107b33e4f286a55ef6" # 2023.11.20 Release
# ci/docker/python-wheel-windows-vs2019.dockerfile.
# This is a workaround for our CI problem that "archery docker build" doesn't
# use pulled built images in dev/tasks/python-wheels/github.windows.yml.
PYTHON_WHEEL_WINDOWS_IMAGE_REVISION=2024-02-05
PYTHON_WHEEL_WINDOWS_IMAGE_REVISION=2024-03-12

# Use conanio/${CONAN} for "docker-compose run --rm conan". See
# https://github.com/conan-io/conan-docker-tools#readme for available
Expand Down
22 changes: 15 additions & 7 deletions .github/workflows/cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,10 +181,18 @@ jobs:
docker-compose run --rm minimal
macos:
name: AMD64 macOS 12 C++
runs-on: macos-latest
name: ${{ matrix.architecture }} macOS ${{ matrix.macos-version }} C++
runs-on: macos-${{ matrix.macos-version }}
if: ${{ !contains(github.event.pull_request.title, 'WIP') }}
timeout-minutes: 75
strategy:
fail-fast: false
matrix:
include:
- architecture: AMD64
macos-version: "12"
- architecture: ARM64
macos-version: "14"
env:
ARROW_AZURE: ON
ARROW_BUILD_TESTS: ON
Expand All @@ -193,7 +201,7 @@ jobs:
ARROW_GANDIVA: ON
ARROW_GCS: ON
ARROW_HDFS: ON
ARROW_HOME: /usr/local
ARROW_HOME: /tmp/local
ARROW_JEMALLOC: ON
ARROW_ORC: ON
ARROW_PARQUET: ON
Expand Down Expand Up @@ -225,11 +233,11 @@ jobs:
- name: Install MinIO
run: |
$(brew --prefix bash)/bin/bash \
ci/scripts/install_minio.sh latest /usr/local
ci/scripts/install_minio.sh latest ${ARROW_HOME}
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.9
python-version: 3.12
- name: Install Google Cloud Storage Testbench
run: ci/scripts/install_gcs_testbench.sh default
- name: Install Azurite Storage Emulator
Expand All @@ -245,8 +253,8 @@ jobs:
uses: actions/cache@v4
with:
path: ${{ steps.ccache-info.outputs.cache-dir }}
key: cpp-ccache-macos-${{ hashFiles('cpp/**') }}
restore-keys: cpp-ccache-macos-
key: cpp-ccache-macos-${{ matrix.macos-version }}-${{ hashFiles('cpp/**') }}
restore-keys: cpp-ccache-macos-${{ matrix.macos-version }}-
- name: Build
run: |
ci/scripts/cpp_build.sh $(pwd) $(pwd)/build
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,18 @@ jobs:
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
with:
python-version: 3.12
- name: Install pre-commit
run: |
python -m pip install pre-commit
pre-commit run --show-diff-on-failure --color=always
- name: Cache pre-commit
uses: actions/cache@v4
with:
path: ~/.cache/pre-commit
key: pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}
- name: Run pre-commit
run: |
pre-commit run --show-diff-on-failure --color=always
- name: Setup Archery
run: pip install -e dev/archery[docker]
- name: Execute Docker Build
Expand Down
5 changes: 3 additions & 2 deletions .hadolint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
ignored:
- DL3008
- DL3013
- DL3015 # Avoid additional packages by specifying `--no-install-recommends`
- DL3018
- DL3015 # Avoid additional packages by specifying `--no-install-recommends`
- DL3028 # Ruby gem version pinning
- DL3028 # Ruby gem version pinning
- DL3007 # r-sanitizer must use latest
- DL3041 # Specify version with `dnf install -y <package>-<version>`.
9 changes: 8 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ repos:
name: Docker Format
language: docker_image
types:
- dockerfile
- dockerfile
entry: --entrypoint /bin/hadolint hadolint/hadolint:latest -
exclude: ^dev/.*$
- repo: https://github.com/pycqa/flake8
Expand All @@ -52,3 +52,10 @@ repos:
hooks:
- id: cython-lint
args: [--no-pycodestyle]
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v14.0.6
hooks:
- id: clang-format
name: C/GLib Format
files: >-
^c_glib/
45 changes: 45 additions & 0 deletions c_glib/.clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@

# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

---
AlignAfterOpenBracket: true
AlignConsecutiveMacros: AcrossEmptyLines
AllowAllArgumentsOnNextLine: false
AllowShortEnumsOnASingleLine: false
AllowShortIfStatementsOnASingleLine: false
AlwaysBreakAfterReturnType: All
BinPackArguments: false
BinPackParameters: false
BraceWrapping:
AfterFunction: true
AfterStruct: true
BreakBeforeBinaryOperators: None
BreakBeforeBraces: Custom
ColumnLimit: 90
ConstructorInitializerIndentWidth: 2
ContinuationIndentWidth: 2
IndentCaseBlocks: true
IndentPPDirectives: AfterHash
IndentWidth: 2
NamespaceIndentation: All
PPIndentWidth: 2
PackConstructorInitializers: CurrentLine
SortIncludes: Never
---
Language: JavaScript
SpacesInContainerLiterals: false
2 changes: 0 additions & 2 deletions c_glib/Brewfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,5 @@
# under the License.

brew "gobject-introspection"
brew "gtk-doc"
brew "libtool"
brew "meson"
brew "vala"
Loading

0 comments on commit 62bf9dd

Please sign in to comment.