From ed46bcc5f1f49d61a817596db41267a768d6bf66 Mon Sep 17 00:00:00 2001 From: Chelsea Lin Date: Wed, 29 Jan 2025 21:06:04 +0000 Subject: [PATCH] chore: limit pyarrow version in unit-prerelease tests --- noxfile.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/noxfile.py b/noxfile.py index c487cd7..bf5b3d2 100644 --- a/noxfile.py +++ b/noxfile.py @@ -199,7 +199,10 @@ def prerelease(session, tests_path): "--prefer-binary", "--pre", "--upgrade", - "pyarrow", + # Limit pyarrow to versions prior to 20.0.0.dev19 to prevent a RuntimeWarning + # during import. This workaround can be removed once the underlying issue + # in pyarrow is resolved (see: https://github.com/apache/arrow/issues/45380). + "pyarrow<=20.0.0.dev18", ) # Avoid pandas==2.2.0rc0 as this version causes PyArrow to fail. Once newer # prerelease comes out, this constraint can be removed. See