8000 Update pymongo requirement from <5.0,>=4.20.1 to >=4.20.2,<5.0 by dependabot[bot] · Pull Request #439 · mongodb/motor · GitHub
[go: up one dir, main page]

Skip to content

Update pymongo requirement from <5.0,>=4.20.1 to >=4.20.2,<5.0 - #439

Merged
blink1073 merged 1 commit into
masterfrom
dependabot/pip/pymongo-gte-4.20.2-and-lt-5.0
Dec 1, 2026
Merged

blink1073 merged 1 commit into
masterfrom
dependabot/pip/pymongo-gte-4.20.2-and-lt-5.0

Conversation

@dependabot
@dependabot dependabot Bot commented on behalf of github Nov 30, 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.2

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

Changelog

Sourced from pymongo's changelog.

Changes in Version 4.20.2 (2026/11/25)

Bug fixes .........

  • Fixed a bug where :meth:~gridfs.GridFS.get_version and :meth:~gridfs.GridFS.get_last_version accepted a non-string filename and treated a dict as query criteria. They now raise :exc:TypeError (PYTHON-6183_).
  • Fixed a bug where the MONGODB_LOG_MAX_DOCUMENT_LENGTH environment variable was ignored because PyMongo read the misspelled MONGOB_LOG_MAX_DOCUMENT_LENGTH instead. The misspelled name is still read when MONGODB_LOG_MAX_DOCUMENT_LENGTH is not set (PYTHON-5939_).
  • Fixed a bug where the C extension's BSON decoder could read past the end of the input buffer when decoding an array whose last element is truncated (CVE-2026-135898_).
  • Hardened the driver's handling of stapled OCSP responses to better conform with the OCSP specification (CVE-2026-135146_).

.. _PYTHON-6183: https://jira.mongodb.org/browse/PYTHON-6183 .. _PYTHON-5939: https://jira.mongodb.org/browse/PYTHON-5939 .. _CVE-2026-135146: https://vulnogram.org/seaview/?CVE-2026-135146 .. _CVE-2026-135898: https://vulnogram.org/seaview/?CVE-2026-135898

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)

... (truncated)

Commits

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.20.1...4.20.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from a team as a code owner November 30, 2026 10:23
@dependabot
dependabot Bot requested a review from blink1073 November 30, 2026 10:23
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Nov 30, 2026
@blink1073
blink1073 merged commit 28c379c into master Dec 1, 2026
27 checks passed
@blink1073
blink1073 deleted the dependabot/pip/pymongo-gte-4.20.2-and-lt-5.0 branch December 1, 2026 16:12
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.

1 participant

0