Skip to content

Commit 4bfb7ef

Browse files
committed
Support newer versions of pyarrow.
1 parent a799d2b commit 4bfb7ef

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

sdks/python/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def cythonize(*args, **kwargs):
145145
pyarrow_dependency = ['']
146146
else:
147147
pyarrow_dependency = [
148-
'pyarrow>=3.0.0,<19.0.0',
148+
'pyarrow>=3.0.0,<23.0.0',
149149
# NOTE(https://github.com/apache/beam/issues/29392): We can remove this
150150
# once Beam increases the pyarrow lower bound to a version that fixes CVE.
151151
# (lower bound >= 14.0.1)

sdks/python/tox.ini

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ extras = test
342342
commands =
343343
bash {toxinidir}/scripts/pytest_validates_runner.sh {envname} {toxinidir}/apache_beam/runners/portability/prism_runner_test.py {posargs}
344344

345-
[testenv:py{310,311}-pyarrow-{3,9,10,11,12,13,14,15,16,17,18}]
345+
[testenv:py{310,311}-pyarrow-{3,9,10,11,12,13,14,15,16,17,18,19,20,21,22}]
346346
deps =
347347
# As a courtesy to users, test against the oldest allowed version of Pyarrow.
348348
# We'd have to increase the pyarrow lower bound when Python 3.9 is deprecated.
@@ -362,6 +362,10 @@ deps =
362362
16: pyarrow>=16,<17
363363
17: pyarrow>=17,<18
364364
18: pyarrow>=18,<19
365+
19: pyarrow>=19,<20
366+
20: pyarrow>=20,<21
367+
21: pyarrow>=21,<22
368+
22: pyarrow>=22,<23
365369
numpy==1.26.4
366370
commands =
367371
# Log pyarrow and numpy version for debugging

0 commit comments

Comments
 (0)