Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sdks/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def cythonize(*args, **kwargs):
# Generally try to cover versions released in the last two years.
# Update python/sdks/tox.ini to cover the same pyarrow versions
# when updating the bounds here.
'pyarrow>=14.0.1,<26.0.0',
'pyarrow>=14.0.1,<27.0.0',
]

# must update the below "docs" and "test" for extras_require
Expand Down
4 changes: 4 additions & 0 deletions sdks/python/test-suites/tox/py311/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,10 @@ toxTask "testPy311pyarrow-25", "py311-pyarrow-25", "${posargs}"
test.dependsOn "testPy311pyarrow-25"
postCommitPyDep.dependsOn "testPy311pyarrow-25"

toxTask "testPy311pyarrow-26", "py311-pyarrow-26", "${posargs}"
test.dependsOn "testPy311pyarrow-26"
postCommitPyDep.dependsOn "testPy311pyarrow-26"

// Create a test task for each supported minor version of pandas.
// Keep in sync with [testenv:py311-pandas-...] in tox.ini.
toxTask "testPy311pandas-22", "py311-pandas-22", "${posargs}"
Expand Down
7 changes: 5 additions & 2 deletions sdks/python/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ extras = test
commands =
bash {toxinidir}/scripts/pytest_validates_runner.sh {envname} {toxinidir}/apache_beam/runners/portability/prism_runner_test.py {posargs}

[testenv:py311-pyarrow-{17,18,19,20,21,22,23,24,25}]
[testenv:py311-pyarrow-{17,18,19,20,21,22,23,24,25,26}]
deps =
# Test against versions of pyarrow released in last ~2 years.
17: pyarrow>=17,<18
Expand All @@ -356,7 +356,10 @@ deps =
23: pyarrow>=23,<24
24: pyarrow>=24,<25
25: pyarrow>=25,<26
numpy==1.26.4
26: pyarrow>=26,<27
# PyArrow 26 requires NumPy 2; the earlier versions stay on NumPy 1.
{17,18,19,20,21,22,23,24,25}: numpy==1.26.4
26: numpy>=2.0.0,<2.5.0
commands =
# Log pyarrow and numpy version for debugging
/bin/sh -c "pip freeze | grep -E '(pyarrow|numpy)'"
Expand Down
Loading