← Back to Pull requests

Build(deps): bump geopy from 2.4.1 to 2.5.0 in /docker/py3-tools-ubi #47091

Open
unknown opened this pull request with 650 lines diff across 8 files
View on GitHub
unknown unknown commented on Oct 03, 2026 17:28 UTC
Author

Bumps geopy from 2.4.1 to 2.5.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/geopy/geopy/releases">geopy's releases</a>.</em></p>
<blockquote>
<h2>2.5.0</h2>
<h2>Security Advisory</h2>
<p>GitHub Security advisory: GHSA-mhvh-fq92-pfmr.</p>
<p>Regular Expression Denial of Service (ReDoS) in <code>geopy.Point</code>:
<code>geopy.Point.from_string</code> may take excessive CPU time when parsing long,
malformed coordinate strings due to inefficient regular-expression behavior.</p>
<p>The numeric <code>geopy.Point</code> constructor is not affected.</p>
<p>Geocoders' <code>reverse</code> methods called with string inputs exercise the vulnerable path.</p>
<p>Reported by Younghun Lee in <a href="https://redirect.github.com/geopy/geopy/issues/608">#608</a>,
fix contributed by Apoorv Darshan in <a href="https://redirect.github.com/geopy/geopy/issues/610">#610</a>.</p>
<p>The fix rejects any inputs longer than 256 chars unconditionally,
which may start falsely rejecting previously valid Point strings
with long irrelevant prefixes.</p>
<h2>Bugfixes</h2>
<ul>
<li><code>.Geocodio</code>: fix <code>GeocoderQueryError</code> being raised for empty results.</li>
<li><code>.GoogleV3</code>: fix <code>utcnow</code> deprecation warnings.</li>
</ul>
<h2>Packaging Changes</h2>
<ul>
<li>Drop support for Python 3.7.</li>
<li>Add support for Python 3.13, 3.14, and 3.15.</li>
<li>Migrate build metadata from <code>setup.py</code> to <code>setup.cfg</code>.
Remove <code>download_url</code> from the metadata.
Contributed by Mike Taves. <a href="https://redirect.github.com/geopy/geopy/issues/535">#535</a></li>
<li>Replace <code>distutils</code> with <code>packaging</code> in tests (fixes Python 3.12+).</li>
</ul>
<h2>Code Improvements</h2>
<ul>
<li>Remove Python 2 relics.
Contributed by Miroslav Šedivý. <a href="https://redirect.github.com/geopy/geopy/issues/552">#552</a></li>
</ul>
<h2>Test Improvements</h2>
<ul>
<li>Fix applying pytest marks to fixtures (pytest &gt;= 9.1 compatibility).
Contributed by Tomáš Hrnčiar. <a href="https://redirect.github.com/geopy/geopy/issues/609">#609</a></li>
<li>Fix unclosed event loop warning in tests.</li>
<li>Fix pytest classmethod warning.</li>
<li><code>.Nominatim</code>: fix <code>test_reverse_near_zero</code> which was failing due to
locale-specific response formatting.
Contributed by Alfredo Tupone. <a href="https://redirect.github.com/geopy/geopy/issues/606">#606</a></li>
</ul>
<h2>Docs Improvements</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/geopy/geopy/blob/master/docs/changelog_2xx.rst">geopy's changelog</a>.</em></p>
<blockquote>
<h2>2.5.0</h2>
<p>2026-07-12</p>
<p>Security Advisory</p>
<pre><code>
GitHub Security advisory: :ghsa:mhvh-fq92-pfmr.
<p>Regular Expression Denial of Service (ReDoS) in :class:<code>.Point</code>:<br />
:meth:<code>.Point.from_string</code> may take excessive CPU time when parsing long,<br />
malformed coordinate strings due to inefficient regular-expression behavior.</p>
<p>The numeric :class:<code>.Point</code> constructor is not affected.</p>
<p>Geocoders' <code>reverse</code> methods called with string inputs exercise the vulnerable path.</p>
<p>Reported by Younghun Lee in :issue:<code>608</code>,<br />
fix contributed by Apoorv Darshan in :issue:<code>610</code>.</p>
<p>The fix rejects any inputs longer than 256 chars unconditionally,<br />
which may start falsely rejecting previously valid Point strings<br />
with long irrelevant prefixes.</p>
<p>Bugfixes</p>
<pre><code>

  • :class:.Geocodio: fix `GeocoderQueryError being raised for empty results.

  • :class:.GoogleV3: fix utcnow deprecation warnings.
  • Packaging Changes
    &lt;/code&gt;&lt;/pre&gt;
    &lt;ul&gt;
    &lt;li&gt;Drop support for Python 3.7.&lt;/li&gt;
    &lt;li&gt;Add support for Python 3.13, 3.14, and 3.15.&lt;/li&gt;
    &lt;li&gt;Migrate build metadata from &lt;code&gt;setup.py&lt;/code&gt; to &lt;code&gt;setup.cfg&lt;/code&gt;.
    Remove &lt;code&gt;download_url&lt;/code&gt; from the metadata.
    Contributed by Mike Taves. (:issue:&lt;code&gt;535&lt;/code&gt;)&lt;/li&gt;
    &lt;li&gt;Replace &lt;code&gt;distutils&lt;/code&gt; with &lt;code&gt;packaging&lt;/code&gt; in tests (fixes Python 3.12+).&lt;/li&gt;
    &lt;/ul&gt;
    &lt;p&gt;Code Improvements&lt;/p&gt;
    &lt;pre&gt;&lt;code&gt;

  • Remove Python 2 relics.

  • Contributed by Miroslav Šedivý. (:issue:
    552)

    Test Improvements
    &lt;/code&gt;&lt;/pre&gt;
    &lt;ul&gt;
    &lt;li&gt;Fix applying pytest marks to fixtures (pytest &amp;gt;= 9.1 compatibility).&lt;/li&gt;
    &lt;/ul&gt;
    &lt;!-- raw HTML omitted --&gt;
    &lt;/blockquote&gt;
    &lt;p&gt;... (truncated)&lt;/p&gt;
    &lt;/details&gt;
    &lt;details&gt;
    &lt;summary&gt;Commits&lt;/summary&gt;

    &lt;ul&gt;
    &lt;li&gt;&lt;a href=&quot;https://github.com/geopy/geopy/commit/402cbba8b093e5e3f89c81b902f576d65608a123&quot;&gt;&lt;code&gt;402cbba&lt;/code&gt;&lt;/a&gt; 2.5.0&lt;/li&gt;
    &lt;li&gt;&lt;a href=&quot;https://github.com/geopy/geopy/commit/f8c0dbd0c40db381e3eb906cc3428e04d33b19c4&quot;&gt;&lt;code&gt;f8c0dbd&lt;/code&gt;&lt;/a&gt; Makefile: fix make dist broken after 9af8380&lt;/li&gt;
    &lt;li&gt;&lt;a href=&quot;https://github.com/geopy/geopy/commit/46c9eef67abbe10857cfe651b77fc1e33f5637c1&quot;&gt;&lt;code&gt;46c9eef&lt;/code&gt;&lt;/a&gt; Add versionchanged&lt;/li&gt;
    &lt;li&gt;&lt;a href=&quot;https://github.com/geopy/geopy/commit/160aec2567168eaec8b78bc6c55125f6cf669246&quot;&gt;&lt;code&gt;160aec2&lt;/code&gt;&lt;/a&gt; Update changelog&lt;/li&gt;
    &lt;li&gt;&lt;a href=&quot;https://github.com/geopy/geopy/commit/106ff54eafe7ecc5966938ed07705a883882c475&quot;&gt;&lt;code&gt;106ff54&lt;/code&gt;&lt;/a&gt; AUTHORS: update an email per user's request&lt;/li&gt;
    &lt;li&gt;&lt;a href=&quot;https://github.com/geopy/geopy/commit/f35e84ec387671f263099f59a56844c0fe217d51&quot;&gt;&lt;code&gt;f35e84e&lt;/code&gt;&lt;/a&gt; Pull up AUTHORS&lt;/li&gt;
    &lt;li&gt;&lt;a href=&quot;https://github.com/geopy/geopy/commit/2c3df74a4af3c4499e0b4b44b45c9c86dd3be8ac&quot;&gt;&lt;code&gt;2c3df74&lt;/code&gt;&lt;/a&gt; Improve English grammar&lt;/li&gt;
    &lt;li&gt;&lt;a href=&quot;https://github.com/geopy/geopy/commit/7f176f08cc018a726b795e5ed9f2ab76ab5005a8&quot;&gt;&lt;code&gt;7f176f0&lt;/code&gt;&lt;/a&gt; tests: fix pytest error in 3.13+ caused by ce21fb7&lt;/li&gt;
    &lt;li&gt;&lt;a href=&quot;https://github.com/geopy/geopy/commit/547eb9b72fa22a4c8dea09098d2b207bc4e94be9&quot;&gt;&lt;code&gt;547eb9b&lt;/code&gt;&lt;/a&gt; Geocodio: fix GeocoderQueryError being raised for empty result&lt;/li&gt;
    &lt;li&gt;&lt;a href=&quot;https://github.com/geopy/geopy/commit/fbca44f4361e2eb05e1232092ccc4860e02f6c7f&quot;&gt;&lt;code&gt;fbca44f&lt;/code&gt;&lt;/a&gt; GoogleV3: fix utcnow deprecation warnings&lt;/li&gt;
    &lt;li&gt;Additional commits viewable in &lt;a href=&quot;https://github.com/geopy/geopy/compare/2.4.1...2.5.0&quot;&gt;compare view&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/details&gt;

    &lt;br /&gt;</code></pre>

    ![Dependabot compatibility score](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

    [//]: # (dependabot-automerge-start)
    [//]: # (dependabot-automerge-end)

    ---

    <details>
    <summary>Dependabot commands and options</summary>
    <br />

    You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR

  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it

  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency

  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)

  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)

  • @dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

  • You can disable automated security fix PRs for this repo from the Security Alerts page.

    </details>

    Diff: 650 lines (+487 / -163) across 8 files Reviewer: github-actions[bot] Review duration: 19m
    All Vouch review confidence checks passed
    Residual risk 0.28 = Change Risk (0.52) × (1 − Review Confidence (0.47)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.52 · 650 lines diff across 8 files
    0.52
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    46%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.388
    Shallow Review Depth shallow_review_depth
    0.344
    Real PR Conversation Timeline
    1 comments
    "Review active on #47091"
    general weight: 0.35
    Assignees
    Unassigned
    Labels
    risk: low confidence: 46.7% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 52% (MEDIUM) · Higher = larger blast radius
    52%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 46.7% · Lower = rushed or shallow review
    46.7%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 27.7% · Safe to merge
    27.7%