Skip to content

Commit 2e8fe3e

Browse files
authored
[BEAM-13264] Allow pyarrow up to 6.x (#15995)
1 parent fdedc78 commit 2e8fe3e

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

sdks/python/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def get_version():
146146
'oauth2client>=2.0.1,<5',
147147
'protobuf>=3.12.2,<4',
148148
'proto-plus>=1.7.1,<2',
149-
'pyarrow>=0.15.1,<6.0.0',
149+
'pyarrow>=0.15.1,<7.0.0',
150150
'pydot>=1.2.0,<2',
151151
'python-dateutil>=2.8.0,<3',
152152
'pytz>=2018.3',

sdks/python/test-suites/tox/py38/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ toxTask "testPy38pyarrow-5", "py38-pyarrow-5"
5959
test.dependsOn "testPy38pyarrow-5"
6060
preCommitPy38.dependsOn "testPy38pyarrow-5"
6161

62+
toxTask "testPy38pyarrow-6", "py38-pyarrow-6"
63+
test.dependsOn "testPy38pyarrow-6"
64+
preCommitPy38.dependsOn "testPy38pyarrow-6"
65+
6266
// Create a test task for each minor version of pandas
6367
toxTask "testPy38pandas-11", "py38-pandas-11"
6468
test.dependsOn "testPy38pandas-11"

sdks/python/tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ extras = test
234234
commands =
235235
{toxinidir}/scripts/pytest_validates_runner.sh {envname} {toxinidir}/apache_beam/runners/portability/spark_runner_test.py {posargs}
236236

237-
[testenv:py{36,37,38}-pyarrow-{0,1,2,3,4,5}]
237+
[testenv:py{36,37,38}-pyarrow-{0,1,2,3,4,5,6}]
238238
deps =
239239
0: pyarrow>=0.15.1,<0.18.0
240240
1: pyarrow>=1,<2
@@ -245,6 +245,7 @@ deps =
245245
3: pyarrow>=3,<4
246246
4: pyarrow>=4,<5
247247
5: pyarrow>=5,<6
248+
6: pyarrow>=6,<7
248249
commands =
249250
# Log pyarrow and numpy version for debugging
250251
/bin/sh -c "pip freeze | grep -E '(pyarrow|numpy)'"

0 commit comments

Comments
 (0)