Skip to content
This repository was archived by the owner on Apr 14, 2025. It is now read-only.

Commit 17745bb

Browse files
timsauceremilk
andauthored
Update arrow to 54 (#21)
This PR updates arrow to 54. I had to make a few changes to the CI configurations because of deprecated actions, some of which do not have pinned versions that would continue to work. Also I updated the pyarrow version in CI and pinned the numpy version. --------- Co-authored-by: Emil Ernerfeldt <[email protected]>
1 parent 59bef73 commit 17745bb

File tree

6 files changed

+558
-678
lines changed

6 files changed

+558
-678
lines changed

.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: [push, pull_request]
44

55
jobs:
66
guide:
7-
runs-on: ubuntu-20.04
7+
runs-on: ubuntu-22.04
88
steps:
99
- uses: actions/checkout@v3
1010

@@ -25,7 +25,7 @@ jobs:
2525
keep_files: false
2626

2727
docs:
28-
runs-on: ubuntu-20.04
28+
runs-on: ubuntu-22.04
2929
steps:
3030
- uses: actions/checkout@v3
3131

.github/workflows/integration-ffi.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ jobs:
1414
rustup default 1.76.0
1515
rustup component add rustfmt clippy
1616
- name: Cache Cargo
17-
uses: actions/cache@v2
17+
uses: actions/cache@v4
1818
with:
1919
path: /home/runner/.cargo
2020
key: cargo-maturin-cache-
2121
- name: Cache Rust dependencies
22-
uses: actions/cache@v2
22+
uses: actions/cache@v4
2323
with:
2424
path: /home/runner/target
2525
key: ${{ runner.os }}-amd64-target-maturin-cache
@@ -38,6 +38,7 @@ jobs:
3838
python -m venv venv
3939
source venv/bin/activate
4040
41-
pip install maturin==0.12.6 toml==0.10.2 pyarrow==6
41+
pip install maturin==0.12.6 toml==0.10.2 pyarrow==14 numpy==1.26.4
42+
cargo update [email protected] --precise 2.4.1
4243
maturin develop
4344
python -m unittest discover tests

.github/workflows/security.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ jobs:
55
runs-on: ubuntu-latest
66
steps:
77
- uses: actions/checkout@v1
8-
- uses: actions-rs/audit-check@v1
8+
- uses: actions-rs/toolchain@v1
99
with:
10-
token: ${{ secrets.GITHUB_TOKEN }}
10+
toolchain: 1.76.0
11+
- name: Install cargo audit compatible with toolchain
12+
run: cargo install cargo-audit --locked --version 0.21.1
13+
- name: Run cargo audit
14+
run: cargo audit

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
python3 -m venv venv
1818
source venv/bin/activate
1919
pip install pip --upgrade
20-
pip install pyarrow==6 pyorc
20+
pip install pyarrow==14 pyorc numpy==1.26.4
2121
python parquet_integration/write_parquet.py
2222
python tests/it/io/orc/write.py
2323
deactivate

0 commit comments

Comments
 (0)