Skip to content

Conversation

@renovate-bot
Copy link
Contributor

This PR contains the following updates:

Package Change Age Confidence
geopandas ==1.1.1==1.1.2 age confidence

GitHub Vulnerability Alerts

CVE-2025-69662

SQL injection vulnerability in geopandas before v.1.1.2 allows an attacker to obtain sensitive information via the to_postgis()` function being used to write GeoDataFrames to a PostgreSQL database.


Release Notes

geopandas/geopandas (geopandas)

v1.1.2

Compare Source

Bug fixes:

  • Fix an issue that caused an error in GeoDataFrame.from_features when there is no properties field (#​3599).
  • Fix read_file and to_file errors (#​3682)
  • Fix read_parquet with to_pandas_kwargs for complex (list/struct) arrow types (#​3640)
  • value_counts on GeoSeries now preserves CRS in index (#​3669)
  • Fix f-string placeholders appearing in error messages when pyogrio cannot be imported (#​3682).
  • Fix read_parquet with to_pandas_kwargs for complex (list/struct) arrow types (#​3640).
  • .to_json now provides a clearer error message when called on a GeoDataFrame without an active geometry
    column (#​3648).
  • Calling del gdf["geometry"] now will downcast to a pd.DataFrame if there are no geometry columns left
    in the dataframe (#​3648).
  • Fix SQL injection in to_postgis via geometry column name (#​3681).

Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate-bot renovate-bot requested review from a team as code owners February 1, 2026 18:16
@renovate-bot renovate-bot requested a review from parthea February 1, 2026 18:16
@trusted-contributions-gcf trusted-contributions-gcf bot added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Feb 1, 2026
@product-auto-label product-auto-label bot added the size: xs Pull request size is extra small. label Feb 1, 2026
@product-auto-label product-auto-label bot added api: bigquery Issues related to the googleapis/python-bigquery API. samples Issues that are directly related to samples. labels Feb 1, 2026
@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @renovate-bot, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request updates the geopandas dependency to version 1.1.2. This update is crucial as it patches a significant SQL injection vulnerability found in the to_postgis() function, which could lead to unauthorized data access. Beyond the security fix, the new version also incorporates several bug resolutions, enhancing the stability and reliability of geospatial data operations.

Highlights

  • Dependency Update: Updates the geopandas library from version 1.1.1 to 1.1.2 for Python environments running version 3.10 and above.
  • Security Fix: Addresses a critical SQL injection vulnerability (CVE-2025-69662) in the to_postgis() function, which could allow attackers to obtain sensitive information when writing GeoDataFrames to a PostgreSQL database.
  • Bug Fixes: Includes several bug fixes, such as resolving issues with GeoDataFrame.from_features, read_file/to_file errors, read_parquet for complex arrow types, and preserving CRS in value_counts on GeoSeries.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Feb 1, 2026
Copy link
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 geopandas dependency to version 1.1.2 to address a security vulnerability (CVE-2025-69662). The change itself is correct and necessary.

I noticed that samples/geography/noxfile_config.py currently disables tests for Python 3.10, with a comment indicating this is due to geopandas compatibility. Since this PR updates geopandas for Python versions >= 3.10, it would be a good opportunity to re-enable these tests to improve test coverage. This would involve removing "3.10" from the ignored_versions list in samples/geography/noxfile_config.py.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: bigquery Issues related to the googleapis/python-bigquery API. samples Issues that are directly related to samples. size: xs Pull request size is extra small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants