Skip to content

Commit 844fc64

Browse files
Linchinchalmerlowe
andauthored
test: avoid prerelease test with pandas==2.2.0rc0 (#238)
Co-authored-by: Chalmer Lowe <[email protected]>
1 parent 87484cd commit 844fc64

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

noxfile.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -201,13 +201,16 @@ def prerelease(session, tests_path):
201201
"--upgrade",
202202
"pyarrow",
203203
)
204+
# Avoid pandas==2.2.0rc0 as this version causes PyArrow to fail. Once newer
205+
# prerelease comes out, this constraint can be removed. See
206+
# https://github.com/googleapis/python-db-dtypes-pandas/issues/234
204207
session.install(
205208
"--extra-index-url",
206209
"https://pypi.anaconda.org/scipy-wheels-nightly/simple",
207210
"--prefer-binary",
208211
"--pre",
209212
"--upgrade",
210-
"pandas",
213+
"pandas!=2.2.0rc0",
211214
)
212215
session.install(
213216
"mock",

owlbot.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -109,13 +109,16 @@ def prerelease(session, tests_path):
109109
"--upgrade",
110110
"pyarrow",
111111
)
112+
# Avoid pandas==2.2.0rc0 as this version causes PyArrow to fail. Once newer
113+
# prerelease comes out, this constraint can be removed. See
114+
# https://github.com/googleapis/python-db-dtypes-pandas/issues/234
112115
session.install(
113116
"--extra-index-url",
114117
"https://pypi.anaconda.org/scipy-wheels-nightly/simple",
115118
"--prefer-binary",
116119
"--pre",
117120
"--upgrade",
118-
"pandas",
121+
"pandas!=2.2.0rc0",
119122
)
120123
session.install(
121124
"mock",

0 commit comments

Comments
 (0)