Skip to content

Commit

Permalink
test: avoid prerelease test with pandas==2.2.0rc0 (#238)
Browse files Browse the repository at this point in the history
Co-authored-by: Chalmer Lowe <[email protected]>
  • Loading branch information
Linchin and chalmerlowe authored Jan 19, 2024
1 parent 87484cd commit 844fc64
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,13 +201,16 @@ def prerelease(session, tests_path):
"--upgrade",
"pyarrow",
)
# Avoid pandas==2.2.0rc0 as this version causes PyArrow to fail. Once newer
# prerelease comes out, this constraint can be removed. See
# https://github.com/googleapis/python-db-dtypes-pandas/issues/234
session.install(
"--extra-index-url",
"https://pypi.anaconda.org/scipy-wheels-nightly/simple",
"--prefer-binary",
"--pre",
"--upgrade",
"pandas",
"pandas!=2.2.0rc0",
)
session.install(
"mock",
Expand Down
5 changes: 4 additions & 1 deletion owlbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,13 +109,16 @@ def prerelease(session, tests_path):
"--upgrade",
"pyarrow",
)
# Avoid pandas==2.2.0rc0 as this version causes PyArrow to fail. Once newer
# prerelease comes out, this constraint can be removed. See
# https://github.com/googleapis/python-db-dtypes-pandas/issues/234
session.install(
"--extra-index-url",
"https://pypi.anaconda.org/scipy-wheels-nightly/simple",
"--prefer-binary",
"--pre",
"--upgrade",
"pandas",
"pandas!=2.2.0rc0",
)
session.install(
"mock",
Expand Down

0 comments on commit 844fc64

Please sign in to comment.