SIGN IN SIGN UP

Update pymongo requirement from <4.17,>=4.12 to >=4.12,<4.18 in /libs/langgraph-checkpoint-mongodb (#377)

Updates the requirements on
[pymongo](https://github.com/mongodb/mongo-python-driver) to permit the
latest version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/mongodb/mongo-python-driver/releases">pymongo's
releases</a>.</em></p>
<blockquote>
<h2>PyMongo 4.17.0</h2>
<p><a
href="https://www.mongodb.com/community/forums/t/pymongo-4-17-released/338426">Community
notes</a></p>
<h2>What's Changed</h2>
<ul>
<li>refactor(ci): replace shell=True and awk pipes with native Python by
<a href="https://github.com/RinZ27"><code>@​RinZ27</code></a> in <a
href="https://redirect.github.com/mongodb/mongo-python-driver/pull/2671">mongodb/mongo-python-driver#2671</a></li>
<li>PYTHON-5697 - Migrate 8.0+ tests to Windows 2022 by <a
href="https://github.com/NoahStapp"><code>@​NoahStapp</code></a> in <a
href="https://redirect.github.com/mongodb/mongo-python-driver/pull/2681">mongodb/mongo-python-driver#2681</a></li>
<li>[Spec Resync] 01-19-2026 by <a
href="https://github.com/mongodb-drivers-pr-bot"><code>@​mongodb-drivers-pr-bot</code></a>[bot]
in <a
href="https://redirect.github.com/mongodb/mongo-python-driver/pull/2680">mongodb/mongo-python-driver#2680</a></li>
<li>Bump pyright from 1.1.407 to 1.1.408 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/mongodb/mongo-python-driver/pull/2675">mongodb/mongo-python-driver#2675</a></li>
<li>PYTHON-5692 - [Infrastructure] Improve dependabot version updates by
<a href="https://github.com/NoahStapp"><code>@​NoahStapp</code></a> in
<a
href="https://redirect.github.com/mongodb/mongo-python-driver/pull/2682">mongodb/mongo-python-driver#2682</a></li>
<li>PYTHON-5605 - Drop usage of Ubuntu 20 by <a
href="https://github.com/NoahStapp"><code>@​NoahStapp</code></a> in <a
href="https://redirect.github.com/mongodb/mongo-python-driver/pull/2683">mongodb/mongo-python-driver#2683</a></li>
<li>PYTHON-5699 &amp; PYTHON-5698 [Spec Resync] 01-26-2026 by <a
href="https://github.com/mongodb-drivers-pr-bot"><code>@​mongodb-drivers-pr-bot</code></a>[bot]
in <a
href="https://redirect.github.com/mongodb/mongo-python-driver/pull/2685">mongodb/mongo-python-driver#2685</a></li>
<li>PYTHON-5703 Use Ubuntu24 for AWS Auth tests by <a
href="https://github.com/blink1073"><code>@​blink1073</code></a> in <a
href="https://redirect.github.com/mongodb/mongo-python-driver/pull/2686">mongodb/mongo-python-driver#2686</a></li>
<li>PYTHON-5704 Skip free-threading for enterprise auth builds by <a
href="https://github.com/blink1073"><code>@​blink1073</code></a> in <a
href="https://redirect.github.com/mongodb/mongo-python-driver/pull/2687">mongodb/mongo-python-driver#2687</a></li>
<li>Bump astral-sh/setup-uv from 7.1.6 to 7.2.0 in the actions group
across 1 directory by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/mongodb/mongo-python-driver/pull/2684">mongodb/mongo-python-driver#2684</a></li>
<li>Bump peter-evans/create-pull-request from 8.0.0 to 8.1.0 in the
actions group by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/mongodb/mongo-python-driver/pull/2692">mongodb/mongo-python-driver#2692</a></li>
<li>PYTHON-1357 - Refactor Cursor and CommandCursor by <a
href="https://github.com/NoahStapp"><code>@​NoahStapp</code></a> in <a
href="https://redirect.github.com/mongodb/mongo-python-driver/pull/2691">mongodb/mongo-python-driver#2691</a></li>
<li>[Spec Resync] 02-02-2026 by <a
href="https://github.com/mongodb-drivers-pr-bot"><code>@​mongodb-drivers-pr-bot</code></a>[bot]
in <a
href="https://redirect.github.com/mongodb/mongo-python-driver/pull/2694">mongodb/mongo-python-driver#2694</a></li>
<li>PYTHON-5467 Add codecov integration by <a
href="https://github.com/blink1073"><code>@​blink1073</code></a> in <a
href="https://redirect.github.com/mongodb/mongo-python-driver/pull/2690">mongodb/mongo-python-driver#2690</a></li>
<li>Bump astral-sh/setup-uv from 7.2.0 to 7.2.1 in the actions group by
<a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/mongodb/mongo-python-driver/pull/2700">mongodb/mongo-python-driver#2700</a></li>
<li>PYTHON-XXXX Fixed typo in Running Tests Locally section. by <a
href="https://github.com/caseyclements"><code>@​caseyclements</code></a>
in <a
href="https://redirect.github.com/mongodb/mongo-python-driver/pull/2698">mongodb/mongo-python-driver#2698</a></li>
<li>PYTHON-5467 Fix codecov upload by <a
href="https://github.com/blink1073"><code>@​blink1073</code></a> in <a
href="https://redirect.github.com/mongodb/mongo-python-driver/pull/2701">mongodb/mongo-python-driver#2701</a></li>
<li>PYTHON-5467 Fix codecov upload on Evergreen by <a
href="https://github.com/blink1073"><code>@​blink1073</code></a> in <a
href="https://redirect.github.com/mongodb/mongo-python-driver/pull/2702">mongodb/mongo-python-driver#2702</a></li>
<li>PYTHON-5715 Add appName to OIDC test failpoints by <a
href="https://github.com/blink1073"><code>@​blink1073</code></a> in <a
href="https://redirect.github.com/mongodb/mongo-python-driver/pull/2697">mongodb/mongo-python-driver#2697</a></li>
<li>PYTHON-5705 Improve fallback for PyOpenSSL windows system certs
loading by <a
href="https://github.com/blink1073"><code>@​blink1073</code></a> in <a
href="https://redirect.github.com/mongodb/mongo-python-driver/pull/2688">mongodb/mongo-python-driver#2688</a></li>
<li>PYTHON-3898 Add coverage to all variants by <a
href="https://github.com/blink1073"><code>@​blink1073</code></a> in <a
href="https://redirect.github.com/mongodb/mongo-python-driver/pull/2705">mongodb/mongo-python-driver#2705</a></li>
<li>PYTHON-5729 Pin setuptools when using older gevent by <a
href="https://github.com/blink1073"><code>@​blink1073</code></a> in <a
href="https://redirect.github.com/mongodb/mongo-python-driver/pull/2708">mongodb/mongo-python-driver#2708</a></li>
<li>Bump the actions group with 2 updates by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/mongodb/mongo-python-driver/pull/2711">mongodb/mongo-python-driver#2711</a></li>
<li>PYTHON-5708 Temporarily skip some BSON encryption tests by <a
href="https://github.com/blink1073"><code>@​blink1073</code></a> in <a
href="https://redirect.github.com/mongodb/mongo-python-driver/pull/2709">mongodb/mongo-python-driver#2709</a></li>
<li>PYTHON-5732 Use mongodb-runner in Evergreen Tests by <a
href="https://github.com/blink1073"><code>@​blink1073</code></a> in <a
href="https://redirect.github.com/mongodb/mongo-python-driver/pull/2703">mongodb/mongo-python-driver#2703</a></li>
<li>PYTHON-5731 - Server selection deprioritization only for overload
errors on replica sets by <a
href="https://github.com/NoahStapp"><code>@​NoahStapp</code></a> in <a
href="https://redirect.github.com/mongodb/mongo-python-driver/pull/2710">mongodb/mongo-python-driver#2710</a></li>
<li>PYTHON-5737 - BSON encoding/decoding performance improvements by <a
href="https://github.com/NoahStapp"><code>@​NoahStapp</code></a> in <a
href="https://redirect.github.com/mongodb/mongo-python-driver/pull/2715">mongodb/mongo-python-driver#2715</a></li>
<li>[Spec Resync] 03-02-2026 by <a
href="https://github.com/mongodb-drivers-pr-bot"><code>@​mongodb-drivers-pr-bot</code></a>[bot]
in <a
href="https://redirect.github.com/mongodb/mongo-python-driver/pull/2716">mongodb/mongo-python-driver#2716</a></li>
<li>Python 4542 - Improved sessions API by <a
href="https://github.com/NoahStapp"><code>@​NoahStapp</code></a> in <a
href="https://redirect.github.com/mongodb/mongo-python-driver/pull/2712">mongodb/mongo-python-driver#2712</a></li>
<li>PYTHON-5742 - Add Copilot instructions by <a
href="https://github.com/NoahStapp"><code>@​NoahStapp</code></a> in <a
href="https://redirect.github.com/mongodb/mongo-python-driver/pull/2717">mongodb/mongo-python-driver#2717</a></li>
<li>PYTHON-5747 Add jira link to spec resync PR by <a
href="https://github.com/sleepyStick"><code>@​sleepyStick</code></a> in
<a
href="https://redirect.github.com/mongodb/mongo-python-driver/pull/2723">mongodb/mongo-python-driver#2723</a></li>
<li>PYTHON-5114 Test suite reduce killAllSessions calls by <a
href="https://github.com/ShaneHarvey"><code>@​ShaneHarvey</code></a> in
<a
href="https://redirect.github.com/mongodb/mongo-python-driver/pull/2721">mongodb/mongo-python-driver#2721</a></li>
<li>PYTHON-5748 Remove unused SpecRunner class by <a
href="https://github.com/ShaneHarvey"><code>@​ShaneHarvey</code></a> in
<a
href="https://redirect.github.com/mongodb/mongo-python-driver/pull/2725">mongodb/mongo-python-driver#2725</a></li>
<li>PYTHON-5754 Fix USE_ACTIVE_VENV support by <a
href="https://github.com/aclark4life"><code>@​aclark4life</code></a> in
<a
href="https://redirect.github.com/mongodb/mongo-python-driver/pull/2728">mongodb/mongo-python-driver#2728</a></li>
<li>PYTHON-5753 Add just recipes for running coverage tests locally by
<a href="https://github.com/aclark4life"><code>@​aclark4life</code></a>
in <a
href="https://redirect.github.com/mongodb/mongo-python-driver/pull/2727">mongodb/mongo-python-driver#2727</a></li>
<li>PYTHON-5758 Remove unused validation functions by <a
href="https://github.com/aclark4life"><code>@​aclark4life</code></a> in
<a
href="https://redirect.github.com/mongodb/mongo-python-driver/pull/2733">mongodb/mongo-python-driver#2733</a></li>
<li>PYTHON-5757 Deprecate Python 2 methods in SON by <a
href="https://github.com/aclark4life"><code>@​aclark4life</code></a> in
<a
href="https://redirect.github.com/mongodb/mongo-python-driver/pull/2732">mongodb/mongo-python-driver#2732</a></li>
<li>PYTHON-5766 Add codecov badge to readme by <a
href="https://github.com/aclark4life"><code>@​aclark4life</code></a> in
<a
href="https://redirect.github.com/mongodb/mongo-python-driver/pull/2737">mongodb/mongo-python-driver#2737</a></li>
<li>Bump the actions group across 1 directory with 4 updates by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/mongodb/mongo-python-driver/pull/2736">mongodb/mongo-python-driver#2736</a></li>
<li>[Spec Resync] 03-30-2026 by <a
href="https://github.com/mongodb-drivers-pr-bot"><code>@​mongodb-drivers-pr-bot</code></a>[bot]
in <a
href="https://redirect.github.com/mongodb/mongo-python-driver/pull/2741">mongodb/mongo-python-driver#2741</a></li>
<li>Bump astral-sh/setup-uv from 7.3.0 to 7.6.0 in the actions group by
<a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/mongodb/mongo-python-driver/pull/2740">mongodb/mongo-python-driver#2740</a></li>
<li>PYTHON-5401: Add AI Generated Contributions Policy by <a
href="https://github.com/Jibola"><code>@​Jibola</code></a> in <a
href="https://redirect.github.com/mongodb/mongo-python-driver/pull/2696">mongodb/mongo-python-driver#2696</a></li>
<li>PYTHON-5768 Add AGENTS.md w/copilot instructions by <a
href="https://github.com/aclark4life"><code>@​aclark4life</code></a> in
<a
href="https://redirect.github.com/mongodb/mongo-python-driver/pull/2744">mongodb/mongo-python-driver#2744</a></li>
<li>PYTHON-5791 - test_list_database_names should not check ordering by
<a href="https://github.com/NoahStapp"><code>@​NoahStapp</code></a> in
<a
href="https://redirect.github.com/mongodb/mongo-python-driver/pull/2751">mongodb/mongo-python-driver#2751</a></li>
<li>PYTHON-5668 - Merge backpressure branch into mainline by <a
href="https://github.com/NoahStapp"><code>@​NoahStapp</code></a> in <a
href="https://redirect.github.com/mongodb/mongo-python-driver/pull/2729">mongodb/mongo-python-driver#2729</a></li>
<li>PYTHON-5795 Fix absolute link to CONTRIBUTING.md in README.md by <a
href="https://github.com/aclark4life"><code>@​aclark4life</code></a> in
<a
href="https://redirect.github.com/mongodb/mongo-python-driver/pull/2756">mongodb/mongo-python-driver#2756</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/mongodb/mongo-python-driver/blob/master/doc/changelog.rst">pymongo's
changelog</a>.</em></p>
<blockquote>
<h2>Changes in Version 4.17.0 (2026/04/20)</h2>
<p>PyMongo 4.17 brings a number of changes including:</p>
<ul>
<li><code>has_key</code>, <code>iterkeys</code> and
<code>itervalues</code> in :class:<code>bson.son.SON</code> have
been deprecated and will be removed in PyMongo 5.0. These methods were
deprecated in favor of the standard dictionary containment operator
<code>in</code>
and the <code>keys()</code> and <code>values()</code> methods,
respectively.</li>
<li>Added the
:meth:<code>~pymongo.asynchronous.client_session.AsyncClientSession.bind</code>
and :meth:<code>~pymongo.client_session.ClientSession.bind</code>
methods
that allow users to bind a session to all database operations within the
scope of a context manager instead of having to explicitly pass the
session to each individual operation.
See the <code>Transactions docs
&lt;https://www.mongodb.com/docs/languages/python/pymongo-driver/current/crud/transactions/#methods&gt;</code>_
for examples and more information.</li>
<li>Added support for MongoDB's Intelligent Workload Management (IWM)
and ingress connection rate limiting features.
The driver now gracefully handles write-blocking scenarios and optimizes
connection establishment during high-load conditions to maintain
application availability.
See the <code>IWM
&lt;https://www.mongodb.com/docs/atlas/intelligent-workload-management&gt;</code>_
or <code>Overload Errors
&lt;https://www.mongodb.com/docs/atlas/overload-errors/?interface=driver&amp;language=python&gt;</code>_
docs for more information.</li>
</ul>
<h2>Changes in Version 4.16.0 (2026/01/07)</h2>
<p>PyMongo 4.16 brings a number of changes including:</p>
<ul>
<li>Removed invalid documents from
:class:<code>bson.errors.InvalidDocument</code> error messages as
doing so may leak sensitive user data.
Instead, invalid documents are stored in
:attr:<code>bson.errors.InvalidDocument.document</code>.</li>
<li>PyMongo now requires <code>dnspython&gt;=2.6.1</code>, since
<code>dnspython</code> 1.0 is no longer maintained.
The minimum version is <code>2.6.1</code> to account for
<code>CVE-2023-29483
&lt;https://www.cve.org/CVERecord?id=CVE-2023-29483&gt;</code>_.</li>
<li>Removed support for Eventlet.
Eventlet is actively being sunset by its maintainers and has
compatibility issues with PyMongo's dnspython dependency.</li>
<li>Use Zstandard support from the standard library for Python 3.14+,
and use <code>backports.zstd</code> for older versions.</li>
<li>Fixed return type annotation for <code>find_one_and_*</code> methods
on :class:<code>~pymongo.asynchronous.collection.AsyncCollection</code>
and :class:<code>~pymongo.synchronous.collection.Collection</code> to
include <code>None</code>.</li>
<li>Added support for NumPy 1D-arrays in
:class:<code>bson.binary.BinaryVector</code>.</li>
<li>Prevented :class:<code>~pymongo.encryption.ClientEncryption</code>
from loading the crypt
shared library to fix &quot;MongoCryptError: An existing crypt_shared
library is
loaded by the application&quot; unless the linked library search path is
set.</li>
</ul>
<h2>Changes in Version 4.15.5 (2025/12/02)</h2>
<p>Version 4.15.5 is a bug fix release.</p>
<ul>
<li>Fixed a bug that could cause <code>AutoReconnect(&quot;connection
pool paused&quot;)</code> errors when cursors fetched more documents
from the database after SDAM heartbeat failures.</li>
</ul>
<h2>Changes in Version 4.15.4 (2025/10/21)</h2>
<p>Version 4.15.4 is a bug fix release.</p>
<ul>
<li>Relaxed the callback type of
:meth:<code>~pymongo.asynchronous.client_session.AsyncClientSession.with_transaction</code>
to allow the broader Awaitable type rather than only Coroutine
objects.</li>
<li>Added the missing Python 3.14 trove classifier to the package
metadata.</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/mongodb/mongo-python-driver/commit/f2103a95870ab5c00b436f757cbaeb86a1047679"><code>f2103a9</code></a>
Prep branch v4.17</li>
<li><a
href="https://github.com/mongodb/mongo-python-driver/commit/3491c08ef6505d42d07b9a17100b5190ed1294fc"><code>3491c08</code></a>
PYTHON-5801 - Update changelog for 4.17 release (<a
href="https://redirect.github.com/mongodb/mongo-python-driver/issues/2762">#2762</a>)</li>
<li><a
href="https://github.com/mongodb/mongo-python-driver/commit/912ef337f90852b58eaf6318e59f97206b281980"><code>912ef33</code></a>
PYTHON-5798 - Overload retargeting prose tests do not ensure that sec…
(<a
href="https://redirect.github.com/mongodb/mongo-python-driver/issues/2760">#2760</a>)</li>
<li><a
href="https://github.com/mongodb/mongo-python-driver/commit/b4e2c03a927ca275e097342f847eb9705465e975"><code>b4e2c03</code></a>
PYTHON-5800 - Simple collation is included in index information (<a
href="https://redirect.github.com/mongodb/mongo-python-driver/issues/2761">#2761</a>)</li>
<li><a
href="https://github.com/mongodb/mongo-python-driver/commit/f31ba09713ff61086f5ebddb43a1e79b419b9802"><code>f31ba09</code></a>
PYTHON-5797 - Add IWM and Overload Error links to changelog (<a
href="https://redirect.github.com/mongodb/mongo-python-driver/issues/2757">#2757</a>)</li>
<li><a
href="https://github.com/mongodb/mongo-python-driver/commit/5da91837d4db9b2f1d3521f2e39cff9e0ff94334"><code>5da9183</code></a>
PYTHON-5794 - Add prose tests to verify correct retry behavior when a…
(<a
href="https://redirect.github.com/mongodb/mongo-python-driver/issues/2755">#2755</a>)</li>
<li><a
href="https://github.com/mongodb/mongo-python-driver/commit/35e51a50f3ecf2020be10b6eae96e3ad0038174a"><code>35e51a5</code></a>
Revert &quot;PYTHON-5768 Add AGENTS.md w/copilot instructions&quot; (<a
href="https://redirect.github.com/mongodb/mongo-python-driver/issues/2744">#2744</a>)
(<a
href="https://redirect.github.com/mongodb/mongo-python-driver/issues/2754">#2754</a>)</li>
<li><a
href="https://github.com/mongodb/mongo-python-driver/commit/f41dd5c08b352f2ca885e19e475e366383dd3ec8"><code>f41dd5c</code></a>
PYTHON-5772 Increase _gcp_helpers.py coverage (<a
href="https://redirect.github.com/mongodb/mongo-python-driver/issues/2749">#2749</a>)</li>
<li><a
href="https://github.com/mongodb/mongo-python-driver/commit/49e7a052e2fdf864ec3eb73e308d6cfd11b5f31d"><code>49e7a05</code></a>
PYTHON-5760 Increase _azure_helpers.py coverage (<a
href="https://redirect.github.com/mongodb/mongo-python-driver/issues/2747">#2747</a>)</li>
<li><a
href="https://github.com/mongodb/mongo-python-driver/commit/a2b0cd85e3a57cd63cbce9bc24500afb0fa062c6"><code>a2b0cd8</code></a>
PYTHON-5795 Fix absolute link to CONTRIBUTING.md in README.md (<a
href="https://redirect.github.com/mongodb/mongo-python-driver/issues/2756">#2756</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/mongodb/mongo-python-driver/compare/4.12.0...4.17.0">compare
view</a></li>
</ul>
</details>
<br />


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)


</details>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: John Kennedy <65985482+jkennedyvz@users.noreply.github.com>
D
dependabot[bot] committed
60540adf5b85c05b1e4c085f7b182a3d3bc86087
Parent: 4a373a4
Committed by GitHub <noreply@github.com> on 5/19/2026, 3:20:34 AM