From c92e39f05676fdf0feb800c3257acb5197544f90 Mon Sep 17 00:00:00 2001 From: liferoad Date: Fri, 11 Oct 2024 09:08:43 -0400 Subject: [PATCH] Fix more numpy 2 test issues --- sdks/python/tox.ini | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sdks/python/tox.ini b/sdks/python/tox.ini index 3de8dae046bd..8cc125d946a8 100644 --- a/sdks/python/tox.ini +++ b/sdks/python/tox.ini @@ -166,7 +166,7 @@ deps = Sphinx==7.4.7 sphinx_rtd_theme==3.0.1 docutils>=0.18.1 - Jinja2==3.1.0 + Jinja2==3.1.0 commands = time {toxinidir}/scripts/generate_pydoc.sh @@ -297,6 +297,7 @@ deps = # Since Pandas 2 requires pyarrow>=7, downgrade pandas for this test. 3: pyarrow>=3,<4 3: pandas<2 + 3: numpy>=1.14.3,<1.27.0 # Test against versions of pyarrow released in last ~2 years. 9: pyarrow>=9,<10 10: pyarrow>=10,<11 @@ -321,8 +322,10 @@ deps = 14: numpy>=1.14.3,<1.27.0 # Exclude 1.5.0 and 1.5.1 because of https://github.com/pandas-dev/pandas/issues/45725 15: pandas>=1.5.2,<1.6.0 + 15: numpy>=1.14.3,<1.27.0 20: pandas>=2.0.0,<2.1.0 20: pyarrow>=7 + 20: numpy>=1.14.3,<1.27.0 commands = # Log pandas and numpy version for debugging /bin/sh -c "pip freeze | grep -E '(pandas|numpy)'"