Skip to content

Commit e84a368

Browse files
committed
Add more recent versions of PyArrow for testing
1 parent 69b9459 commit e84a368

File tree

2 files changed

+73
-9
lines changed

2 files changed

+73
-9
lines changed

.github/workflows/tests.yml

Lines changed: 71 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,73 +21,133 @@ on: [push, pull_request]
2121

2222
jobs:
2323
tests:
24-
name: PyArrow ${{ matrix.pyarrow }}, Py ${{ matrix.python }} on ${{ matrix.image || 'ubuntu-20.04' }}
25-
runs-on: ${{ matrix.image || 'ubuntu-20.04' }}
24+
name: PyArrow ${{ matrix.pyarrow }}, Py ${{ matrix.python }} on ${{ matrix.image || 'ubuntu-24.04' }}
25+
runs-on: ${{ matrix.image || 'ubuntu-24.04' }}
2626
timeout-minutes: 10
2727
strategy:
2828
fail-fast: false
2929
matrix:
3030
include:
3131
# Linux
32-
- pyarrow: "0.14.0"
33-
python: "3.5"
34-
- pyarrow: "0.14.0"
35-
python: "3.6"
3632
- pyarrow: "0.14.0"
3733
python: "3.7"
34+
image: ubuntu-22.04
35+
numpy: "<2.0"
3836
- pyarrow: "0.14.1"
3937
python: "3.7"
38+
image: ubuntu-22.04
39+
numpy: "<2.0"
4040
- pyarrow: "0.15.0"
4141
python: "3.7"
42+
image: ubuntu-22.04
43+
numpy: "<2.0"
4244
- pyarrow: "1.0.0"
4345
python: "3.8"
46+
numpy: "<2.0"
4447
- pyarrow: "2.0.0"
4548
python: "3.8"
49+
numpy: "<2.0"
4650
- pyarrow: "5.0.0"
4751
python: "3.9"
52+
numpy: "<2.0"
4853
- pyarrow: "6.0.1"
4954
python: "3.9"
55+
numpy: "<2.0"
5056
- pyarrow: "8.0.0"
5157
python: "3.9"
58+
numpy: "<2.0"
5259
- pyarrow: "10.0.0"
5360
python: "3.10"
61+
numpy: "<2.0"
5462
- pyarrow: "11.0.0"
5563
python: "3.10"
64+
numpy: "<2.0"
5665
- pyarrow: "13.0.0"
5766
python: "3.11"
67+
numpy: "<2.0"
5868
- pyarrow: "14.0.0"
5969
python: "3.12"
70+
numpy: "<2.0"
6071
- pyarrow: "14.0.1"
6172
python: "3.8"
73+
numpy: "<2.0"
6274
- pyarrow: "14.0.1"
6375
python: "3.12"
76+
numpy: "<2.0"
77+
- pyarrow: "14.0.2"
78+
python: "3.8"
79+
numpy: "<2.0"
80+
- pyarrow: "14.0.2"
81+
python: "3.12"
82+
numpy: "<2.0"
83+
- pyarrow: "15.0.2"
84+
python: "3.8"
85+
numpy: "<2.0"
86+
- pyarrow: "15.0.2"
87+
python: "3.12"
88+
numpy: "<2.0"
89+
- pyarrow: "16.1.0"
90+
python: "3.8"
91+
numpy: "<2.0"
92+
- pyarrow: "16.1.0"
93+
python: "3.12"
94+
numpy: "<2.0"
95+
- pyarrow: "17.0.0"
96+
python: "3.8"
97+
numpy: "<2.0"
98+
- pyarrow: "17.0.0"
99+
python: "3.12"
100+
numpy: "<2.0"
101+
- pyarrow: "18.1.0"
102+
python: "3.9"
103+
- pyarrow: "18.1.0"
104+
python: "3.13"
105+
- pyarrow: "19.0.1"
106+
python: "3.9"
107+
- pyarrow: "19.0.1"
108+
python: "3.13"
64109
# Windows
65110
- pyarrow: "0.14.0"
66-
python: "3.5"
111+
python: "3.7"
67112
image: windows-latest
113+
numpy: "<2.0"
68114
- pyarrow: "14.0.0"
69115
python: "3.12"
70116
image: windows-latest
117+
numpy: "<2.0"
71118
- pyarrow: "14.0.1"
72119
python: "3.8"
73120
image: windows-latest
121+
numpy: "<2.0"
74122
- pyarrow: "14.0.1"
75123
python: "3.12"
76124
image: windows-latest
125+
numpy: "<2.0"
126+
- pyarrow: "19.0.1"
127+
python: "3.13"
128+
image: windows-latest
77129
# macOS
78130
- pyarrow: "0.15.0"
79131
python: "3.7"
80-
image: macos-11
132+
image: macos-14
133+
numpy: "<2.0"
81134
- pyarrow: "14.0.0"
82135
python: "3.12"
83136
image: macos-latest
137+
numpy: "<2.0"
84138
- pyarrow: "14.0.1"
85139
python: "3.8"
86140
image: macos-latest
141+
numpy: "<2.0"
87142
- pyarrow: "14.0.1"
88143
python: "3.12"
89144
image: macos-latest
145+
numpy: "<2.0"
146+
- pyarrow: "19.0.1"
147+
python: "3.13"
148+
image: macos-latest
90149
env:
150+
NUMPY: ${{ matrix.numpy }}
91151
PYARROW: ${{ matrix.pyarrow }}
92152
PYTHON: ${{ matrix.python }}
93153
steps:
@@ -121,6 +181,9 @@ jobs:
121181
- name: Install PyArrow
122182
shell: bash
123183
run: |
184+
if [ "${NUMPY}" ]; then
185+
python -m pip install "numpy${NUMPY}"
186+
fi
124187
python -m pip install pyarrow==${PYARROW}
125188
- name: Test package
126189
shell: bash

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ classifiers = [
2525
"Programming Language :: Python :: 3.10",
2626
"Programming Language :: Python :: 3.11",
2727
"Programming Language :: Python :: 3.12",
28+
"Programming Language :: Python :: 3.13",
2829
"Operating System :: OS Independent",
2930
]
3031
dependencies = []
@@ -46,4 +47,4 @@ dependencies = [
4647
test = "pytest {args:tests} -rs -We"
4748

4849
[[tool.hatch.envs.all.matrix]]
49-
python = ["3.7", "3.8", "3.9", "3.10", "3.11"]
50+
python = ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]

0 commit comments

Comments
 (0)