Skip to content

fix: drop support for end-of-life Python 3.10 - #19015

Open
tswast wants to merge 8 commits into
mainfrom
pandas-gbq-3.10
Open

tswast wants to merge 8 commits into
mainfrom
pandas-gbq-3.10

Conversation

@tswast

@tswast tswast commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

  • Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

Fixes b/581962142 🦕

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

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.

Code Review

This pull request drops support for Python 3.10, updating the minimum required version to Python 3.11 and adding support for Python 3.15. It cleans up obsolete compatibility checks for older Python and dependency versions across the codebase, including tests. However, in test_read_gbq_with_dry_run, the test was updated to assert on query.call_args instead of query_and_wait.call_args. Since query_and_wait is now always available and called, this will cause the test to fail.

@tswast
tswast marked this pull request as ready for review November 6, 2026 20:50
@tswast
tswast requested review from a team as code owners November 6, 2026 20:50
@tswast
tswast requested review from julianxu-goog and removed request for a team November 6, 2026 20:50
tswast and others added 4 commits November 6, 2026 20:51
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Comment thread packages/pandas-gbq/noxfile.py Resolved
Comment on lines -88 to -92
if not hasattr(mock_bigquery_client, "query_and_wait"):
pytest.skip(
f"google-cloud-bigquery {google.cloud.bigquery.__version__} does not have query_and_wait"
)

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.

We're getting failures in core_deps_from_source session. Perhaps premature to remove this?

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

core_deps_from_source failed because of test_read_gbq_with_dry_run in test_gbq.py, and it's green now.

This branch has not been deployed

No deployments
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