Skip to content

Commit c61af1a

Browse files
Python: Update pymongo requirement from <4.14,>=4.8.0 to >=4.8.0,<4.15 in /python (#12921)
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.14.0</h2> <p>Community notes: <a href="https://www.mongodb.com/community/forums/t/pymongo-4-14-released/326906">https://www.mongodb.com/community/forums/t/pymongo-4-14-released/326906</a></p> </blockquote> </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.14.0 (2025/08/06)</h2> <p>.. warning:: PyMongo 4.14 drops support for MongoDB 4.0. PyMongo now supports MongoDB 4.2+.</p> <p>PyMongo 4.14 brings a number of changes including:</p> <ul> <li> <p>Dropped support for MongoDB 4.0.</p> </li> <li> <p>Added preliminary support for Python 3.14 and 3.14 with free-threading. We do not yet support the following with Python 3.14:</p> <ul> <li>Subinterpreters (<code>concurrent.interpreters</code>)</li> <li>Free-threading with Encryption</li> <li>mod_wsgi</li> </ul> </li> <li> <p>Removed experimental support for free-threading support in Python 3.13.</p> </li> <li> <p>Added :attr:<code>bson.codec_options.TypeRegistry.codecs</code> and :attr:<code>bson.codec_options.TypeRegistry.fallback_encoder</code> properties to allow users to directly access the type codecs and fallback encoder for a given :class:<code>bson.codec_options.TypeRegistry</code>.</p> </li> <li> <p>Added :meth:<code>pymongo.asynchronous.mongo_client.AsyncMongoClient.append_metadata</code> and :meth:<code>pymongo.mongo_client.MongoClient.append_metadata</code> to allow instantiated MongoClients to send client metadata on-demand</p> </li> <li> <p>Improved performance of selecting a server with the Primary selector.</p> </li> <li> <p>Introduces a minor breaking change. When encoding :class:<code>bson.binary.BinaryVector</code>, a <code>ValueError</code> will be raised if the 'padding' metadata field is &lt; 0 or &gt; 7, or non-zero for any type other than PACKED_BIT.</p> </li> <li> <p>Changed :meth:<code>~pymongo.uri_parser.parse_uri</code>'s <code>options</code> return value to be type <code>dict</code> instead of <code>_CaseInsensitiveDictionary</code>.</p> </li> </ul> <h2>Changes in Version 4.13.2 (2025/06/17)</h2> <p>Version 4.13.2 is a bug fix release.</p> <ul> <li>Fixed a bug where <code>AsyncMongoClient</code> would block the event loop while creating new connections, potentially significantly increasing latency for ongoing operations.</li> </ul> <p>Issues Resolved ...............</p> <p>See the <code>PyMongo 4.13.2 release notes in JIRA</code>_ for the list of resolved issues in this release.</p> <p>.. _PyMongo 4.13.2 release notes in JIRA: <a href="https://jira.mongodb.org/secure/ReleaseNote.jspa?projectId=10004&amp;version=43937">https://jira.mongodb.org/secure/ReleaseNote.jspa?projectId=10004&amp;version=43937</a></p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/mongodb/mongo-python-driver/commit/6354d6cae770d765dd536eeaace13088dc09b993"><code>6354d6c</code></a> Prepare 4.14.0 release (<a href="https://redirect.github.com/mongodb/mongo-python-driver/issues/2458">#2458</a>)</li> <li><a href="https://github.com/mongodb/mongo-python-driver/commit/d7074ba9eedc8db2efa9e1929d63f3258b6320bd"><code>d7074ba</code></a> PYTHON-5454 &amp; PYTHON-5455 Add preliminary python 3.14 support (<a href="https://redirect.github.com/mongodb/mongo-python-driver/issues/2451">#2451</a>)</li> <li><a href="https://github.com/mongodb/mongo-python-driver/commit/d11cf20452fbf6418f1612607260faf3ae18753c"><code>d11cf20</code></a> Fix In-Use Encryption examples (<a href="https://redirect.github.com/mongodb/mongo-python-driver/issues/2457">#2457</a>)</li> <li><a href="https://github.com/mongodb/mongo-python-driver/commit/baec1e05f7005dc8a5979028ba5aac74256e3a3e"><code>baec1e0</code></a> Bump pyright from 1.1.392.post0 to 1.1.403 (<a href="https://redirect.github.com/mongodb/mongo-python-driver/issues/2455">#2455</a>)</li> <li><a href="https://github.com/mongodb/mongo-python-driver/commit/003ff56cbcecaa4860e14403b342967f5ee1336f"><code>003ff56</code></a> Bump the actions group with 2 updates (<a href="https://redirect.github.com/mongodb/mongo-python-driver/issues/2454">#2454</a>)</li> <li><a href="https://github.com/mongodb/mongo-python-driver/commit/cbe1b9e81b62f5a63f83694336fcf466126ce830"><code>cbe1b9e</code></a> Update coverage requirement from &lt;=7.5,&gt;=5 to &gt;=5,&lt;=7.10.2 (<a href="https://redirect.github.com/mongodb/mongo-python-driver/issues/2453">#2453</a>)</li> <li><a href="https://github.com/mongodb/mongo-python-driver/commit/0249a08201529346024d191c7cc098365375d5e8"><code>0249a08</code></a> Bump mypy from 1.14.1 to 1.17.1 (<a href="https://redirect.github.com/mongodb/mongo-python-driver/issues/2452">#2452</a>)</li> <li><a href="https://github.com/mongodb/mongo-python-driver/commit/bfaab82e2644a9d6867626cff08c1ff7d30517a3"><code>bfaab82</code></a> [Spec Resync] 07-28-2025 (<a href="https://redirect.github.com/mongodb/mongo-python-driver/issues/2447">#2447</a>)</li> <li><a href="https://github.com/mongodb/mongo-python-driver/commit/9f64dad6871bd13e359c56698810e93f5a1173be"><code>9f64dad</code></a> PYTHON-5473 - Better test assertions for booleans (<a href="https://redirect.github.com/mongodb/mongo-python-driver/issues/2450">#2450</a>)</li> <li><a href="https://github.com/mongodb/mongo-python-driver/commit/9514a6727022d602cfd87bf74ebccd21023252dd"><code>9514a67</code></a> PYTHON-5441 - Unskip gridfs download chunk tests (<a href="https://redirect.github.com/mongodb/mongo-python-driver/issues/2449">#2449</a>)</li> <li>Additional commits viewable in <a href="https://github.com/mongodb/mongo-python-driver/compare/4.8.0...4.14.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 merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@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] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent f1aac84 commit c61af1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ mistralai = [
107107
"mistralai >= 1.2,< 2.0"
108108
]
109109
mongo = [
110-
"pymongo >= 4.8.0, < 4.14",
110+
"pymongo >= 4.8.0, < 4.15",
111111
"motor >= 3.3.2,< 3.8.0"
112112
]
113113
notebooks = [

0 commit comments

Comments
 (0)