Skip to content

Commit

Permalink
Fix pyarrow tests for pandas 2 compat
Browse files Browse the repository at this point in the history
  • Loading branch information
caneff committed Sep 26, 2023
1 parent c0763d2 commit 95f076e
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions sdks/python/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ deps =
holdup==1.8.0
extras =
gcp
allowlist_externals =
allowlist_externals =
bash
echo
sleep
Expand Down Expand Up @@ -210,7 +210,7 @@ deps =
extras =
azure
passenv = REQUESTS_CA_BUNDLE
allowlist_externals =
allowlist_externals =
wget
az
bash
Expand Down Expand Up @@ -286,12 +286,22 @@ extras = test
commands =
bash {toxinidir}/scripts/pytest_validates_runner.sh {envname} {toxinidir}/apache_beam/runners/portability/spark_runner_test.py {posargs}


[testenv:py{38,39,310}-pyarrow-{3,4,5,6,7,8,9}]
deps =
3: pyarrow>=3,<4
4: pyarrow>=4,<5
5: pyarrow>=5,<6
6: pyarrow>=6,<7
# Pandas 2 minimum for pyarrow is 7
3:
pyarrow>=3,<4
pandas<2
4:
pyarrow>=4,<5
pandas<2
5:
pyarrow>=5,<6
pandas<2
6:
pyarrow>=6,<7
pandas<2
7: pyarrow>=7,<8
8: pyarrow>=8,<9
9: pyarrow>=9,<10
Expand Down

0 comments on commit 95f076e

Please sign in to comment.