Skip to content

fix(bigframes): include pyopenssl as a dependency#17362

Merged
tswast merged 15 commits into
mainfrom
b519591816-pandas-3.0
Jun 3, 2026
Merged

fix(bigframes): include pyopenssl as a dependency#17362
tswast merged 15 commits into
mainfrom
b519591816-pandas-3.0

Conversation

@tswast
Copy link
Copy Markdown
Contributor

@tswast tswast commented Jun 3, 2026

Also, support pandas 3.0 in various system tests.

Internal issue b/519591816 🦕

Also, support pandas 3.0 in various system tests.
@tswast tswast requested review from a team as code owners June 3, 2026 17:00
@tswast tswast requested review from TrevorBergeron and removed request for a team June 3, 2026 17:00
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the google-auth dependency to include pyopenssl and modifies test files to handle pandas compatibility. Specifically, it introduces conditional checks for applymap versus map and updates magic test assertions. The review feedback correctly points out that checking for applymap first will still trigger FutureWarning deprecation warnings in pandas 2.1.x and 2.2.x, and suggests checking for the newer map method first instead.


session.read_pandas.assert_called_once()
snapshot.assert_match(result, "out.sql")
snapshot.assert_match(result.strip() + "\n", "out.sql")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would this issue impact every snapshot? I assume this is from mismatch between sqlglot version locally vs on the automated test runs?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's actually not a version mismatch. It's because I was fighting the pre-commit end-of-file newline "fixer". Basically, I'm applying that change here so that when we re-run it, the "fixer" won't see it as a problem because it's looking for exactly 1 trailing newline character.

@tswast tswast enabled auto-merge (squash) June 3, 2026 20:40
@tswast tswast disabled auto-merge June 3, 2026 20:44
@tswast tswast enabled auto-merge (squash) June 3, 2026 21:02
@tswast tswast merged commit 1f6205e into main Jun 3, 2026
32 checks passed
@tswast tswast deleted the b519591816-pandas-3.0 branch June 3, 2026 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants