Skip to content

Commit 30a7065

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

File tree

2 files changed

+37
-7
lines changed

2 files changed

+37
-7
lines changed

.github/workflows/tests.yml

Lines changed: 35 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,14 @@ 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"
3834
- pyarrow: "0.14.1"
@@ -61,6 +57,30 @@ jobs:
6157
python: "3.8"
6258
- pyarrow: "14.0.1"
6359
python: "3.12"
60+
- pyarrow: "14.0.2"
61+
python: "3.8"
62+
- pyarrow: "14.0.2"
63+
python: "3.12"
64+
- pyarrow: "15.0.2"
65+
python: "3.8"
66+
- pyarrow: "15.0.2"
67+
python: "3.12"
68+
- pyarrow: "16.1.0"
69+
python: "3.8"
70+
- pyarrow: "16.1.0"
71+
python: "3.12"
72+
- pyarrow: "17.0.0"
73+
python: "3.8"
74+
- pyarrow: "17.0.0"
75+
python: "3.12"
76+
- pyarrow: "18.1.0"
77+
python: "3.9"
78+
- pyarrow: "18.1.0"
79+
python: "3.13"
80+
- pyarrow: "19.0.1"
81+
python: "3.9"
82+
- pyarrow: "19.0.1"
83+
python: "3.13"
6484
# Windows
6585
- pyarrow: "0.14.0"
6686
python: "3.5"
@@ -74,6 +94,9 @@ jobs:
7494
- pyarrow: "14.0.1"
7595
python: "3.12"
7696
image: windows-latest
97+
- pyarrow: "19.0.1"
98+
python: "3.13"
99+
image: windows-latest
77100
# macOS
78101
- pyarrow: "0.15.0"
79102
python: "3.7"
@@ -87,6 +110,9 @@ jobs:
87110
- pyarrow: "14.0.1"
88111
python: "3.12"
89112
image: macos-latest
113+
- pyarrow: "19.0.1"
114+
python: "3.13"
115+
image: macos-latest
90116
env:
91117
PYARROW: ${{ matrix.pyarrow }}
92118
PYTHON: ${{ matrix.python }}
@@ -117,6 +143,9 @@ jobs:
117143
run: |
118144
python -V
119145
python -m pip install -U pip
146+
# Old PyArrow wheels were compiled with NumPy 1.x and cannot load
147+
# the NumPy 2 C API.
148+
python -m pip install "numpy<2"
120149
python -m pip install dist/*.whl
121150
- name: Install PyArrow
122151
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)