Skip to content

Commit d98c128

Browse files
authored
chore: limit pyarrow version in unit-prerelease tests (#320)
1 parent c8392fc commit d98c128

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

noxfile.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,10 @@ def prerelease(session, tests_path):
199199
"--prefer-binary",
200200
"--pre",
201201
"--upgrade",
202-
"pyarrow",
202+
# Limit pyarrow to versions prior to 20.0.0.dev19 to prevent a RuntimeWarning
203+
# during import. This workaround can be removed once the underlying issue
204+
# in pyarrow is resolved (see: https://github.com/apache/arrow/issues/45380).
205+
"pyarrow<=20.0.0.dev18",
203206
)
204207
# Avoid pandas==2.2.0rc0 as this version causes PyArrow to fail. Once newer
205208
# prerelease comes out, this constraint can be removed. See

0 commit comments

Comments
 (0)