Skip to content

build(deps): update pymongo requirement from <5,>=4.19.0 to >=4.20.1,<5 in /Frontend - #316

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/Frontend/pymongo-gte-4.20.1-and-lt-5
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/Frontend/pymongo-gte-4.20.1-and-lt-5

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 22, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on pymongo to permit the latest version.

Release notes

Sourced from pymongo's releases.

PyMongo 4.20.1

Release notes: https://jira.mongodb.org/secure/ReleaseNote.jspa?projectId=10004&version=54018

Changelog

Sourced from pymongo's changelog.

Changes in Version 4.20.1 (2026/11/19)

Version 4.20.1 is a bug fix release.

Bug fixes .........

  • Fixed a bug where getMore commands in load-balanced mode were not retried when the server returned a retryable overload error (PYTHON-6262_).
  • Fixed a bug where a cancelled async command published a CommandStartedEvent (and its "Command started" log message) without a correlating CommandFailedEvent. A cancellation now publishes the failure before the CancelledError propagates (PYTHON-6187_).
  • Sanitize parsing error messages. (CVE-2026-129927_)
  • Improved credential validation. (CVE-2026-129926_).

.. _PYTHON-6262: https://jira.mongodb.org/browse/PYTHON-6262 .. _PYTHON-6187: https://jira.mongodb.org/browse/PYTHON-6187 .. _CVE-2026-129927: https://www.cve.org/CVERecord?id=CVE-2026-129927 .. _CVE-2026-129926: https://www.cve.org/CVERecord?id=CVE-2026-129926

Changes in Version 4.20.0 (2026/11/12)

  • The client handshake metadata now reports a detected coding agent in client.env.agent (PYTHON-5929_).
  • Removed the beta QueryType.PREFIXPREVIEW, QueryType.SUFFIXPREVIEW, and QueryType.SUBSTRINGPREVIEW query types. Use :attr:~pymongo.encryption.QueryType.PREFIX, :attr:~pymongo.encryption.QueryType.SUFFIX, and :attr:~pymongo.encryption.QueryType.SUBSTRING instead (requires MongoDB 9.0+ and pymongocrypt 1.21.0+) (PYTHON-5959_).
  • Removed the deprecated text_opts parameter of :meth:~pymongo.encryption.ClientEncryption.encrypt and :meth:~pymongo.asynchronous.encryption.AsyncClientEncryption.encrypt, and the TextOpts class. Use string_opts and :class:~pymongo.encryption_options.StringOpts instead (PYTHON-5959_).

Bug fixes .........

  • Fixed a disagreement between the C extension and pure-Python BSON decoders for binary elements with UUID subtypes (3 and 4) whose payload is not 16 bytes. Both now decode them to :class:~bson.binary.Binary under the default UNSPECIFIED UUID representation, and raise :class:~bson.errors.InvalidBSON when UUID conversion is requested (PYTHON-6172_).
  • Fixed a bug where MongoClient(maxPoolSize=0, minPoolSize>0) raised

... (truncated)

Commits
  • 35a3111 prep for 4.20.1 release (#3241)
  • a663e84 Merge commit from fork
  • 138396e Merge commit from fork
  • 73f852c PYTHON-6265 Opt into ruff markdown and docstring code formatting (#3239)
  • f98485b PYTHON-6279 Enable ruff rule W505 (#3240)
  • e8e0f13 PYTHON-6269 Enable ruff rule E501 (#3236)
  • 0121c96 PYTHON-6187 Publish CommandFailedEvent for cancelled commands (#3226)
  • d3741f4 PYTHON-6167 Split the test-non-standard task family into per-suite task famil...
  • 8b53252 PYTHON-6281 Enable stable ruff FURB rules (#3231)
  • 2260cab PYTHON-6264 Enable ruff rules D205, D400, and D401 (#3234)
  • Additional commits viewable in compare view

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 commands and options

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)

Updates the requirements on [pymongo](https://github.com/mongodb/mongo-python-driver) to permit the latest version.
- [Release notes](https://github.com/mongodb/mongo-python-driver/releases)
- [Changelog](https://github.com/mongodb/mongo-python-driver/blob/main/doc/changelog.rst)
- [Commits](mongodb/mongo-python-driver@4.19.0...4.20.1)

---
updated-dependencies:
- dependency-name: pymongo
  dependency-version: 4.20.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Nov 22, 2026
@coderabbitai

coderabbitai Bot commented Nov 22, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 6d322614-7e4e-4b9c-939f-545a4a466e99

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

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

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants