Skip to content

fix: update various dependencies - #19026

Open
tswast wants to merge 3 commits into
mainfrom
pandas-gbq-deps
Open

tswast wants to merge 3 commits into
mainfrom
pandas-gbq-deps

Conversation

@tswast

@tswast tswast commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Also a few whitespace changes due to running nox with all sessions locally.

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 several internal issues: b/581963287 (geopandas), b/581962115 & b581961732 (google-cloud-bigquery-storage), b/581963342 (google-api-core), b/581962477 (google-auth) 🦕

@tswast
tswast requested review from a team as code owners November 9, 2026 17:29
@tswast
tswast requested review from julianxu-goog and removed request for a team November 9, 2026 17:29

@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 updates the minimum versions of several key dependencies in setup.py (such as google-cloud-bigquery, google-cloud-bigquery-storage, and geopandas), removes setuptools from direct dependencies, and updates the corresponding constraints file with these new versions and additional transitive dependency constraints. It also applies minor formatting adjustments in biglake.py, gbq_connector.py, and conftest.py. The reviewer recommends ensuring that any obsolete compatibility checks for older versions of these dependencies in pandas_gbq/features.py are removed, as the new minimum versions are now guaranteed.

Comment on lines 38 to +40
# Please also update the minimum version in pandas_gbq/features.py to
# allow pandas-gbq to detect invalid package versions at runtime.
"google-cloud-bigquery >=3.20.0,<4.0.0",
"packaging >=22.0.0",
"google-cloud-bigquery >=3.43.0,<4.0.0",

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.

medium

The minimum versions of several dependencies (such as google-cloud-bigquery to 3.43.0, google-cloud-bigquery-storage to 2.40.0, and geopandas to 1.0.0) have been updated. Please ensure that any obsolete compatibility checks for older versions of these dependencies in pandas_gbq/features.py are removed, as the new minimum versions are now guaranteed by setup.py.

References
  1. Remove obsolete compatibility checks for older dependency versions when the repository's minimum dependency configuration has been updated to require a newer version.

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.

Removed dead code in 5b83f77

@tswast
tswast requested review from parthea and removed request for a team and julianxu-goog November 9, 2026 17:30
@tswast
tswast requested a review from julianxu-goog November 10, 2026 16:57
@parthea parthea closed this Nov 11, 2026
@parthea parthea reopened this Nov 11, 2026
@parthea
parthea requested a review from ohmayr November 11, 2026 14:00
@parthea

parthea commented Nov 11, 2026

Copy link
Copy Markdown
Contributor

@ohmayr Please could you review?

@ohmayr

ohmayr commented Nov 11, 2026

Copy link
Copy Markdown
Contributor

LGTM! I think we can update the commit message since it's doing more than just updating dependencies.

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.

4 participants