Skip to content

chore(deps-dev): bump pymongo from 4.7.3 to 4.12.0#1160

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/pymongo-4.12.0
Closed

chore(deps-dev): bump pymongo from 4.7.3 to 4.12.0#1160
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/pymongo-4.12.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Apr 9, 2025

Copy link
Copy Markdown
Contributor

Bumps pymongo from 4.7.3 to 4.12.0.

Release notes

Sourced from pymongo's releases.

PyMongo 4.12.0

Community notes: https://www.mongodb.com/community/forums/t/pymongo-4-12-released/318187

PyMongo 4.11.3

What's Changed

New Contributors

Full Changelog: mongodb/mongo-python-driver@4.11.2...4.11.3

PyMongo 4.11.2

Community notes:

What's Changed

Full Changelog: mongodb/mongo-python-driver@4.11.1...4.11.2

PyMongo 4.11.1

Community notes: https://www.mongodb.com/community/forums/t/pymongo-4-11-1-released/312193

PyMongo 4.11.0

Community notes: https://www.mongodb.com/community/forums/t/pymongo-4-11-released/310976

PyMongo 4.10.1

Community notes: https://www.mongodb.com/community/forums/t/pymongo-4-10-1-released/299573

PyMongo 4.10.0

Community notes: https://www.mongodb.com/community/forums/t/pymongo-4-10-0-released/299474

PyMongo 4.9.2

  • Fixed a bug where pymongo.asynchronous.mongo_client.AsyncMongoClient could deadlock.
  • Fixed a bug where PyMongo could fail to import on Windows if asyncio is misconfigured.
  • Fixed a bug where pymongo.results.UpdateResult.did_upsert would raise a TypeError.

PyMongo 4.9.1

Community notes: https://www.mongodb.com/community/forums/t/pymongo-4-9-released/297833

PyMongo 4.8.0

Changes in Version 4.8.0

PyMongo 4.8 brings a number of improvements including:

  • The handshake metadata for "os.name" on Windows has been simplified to "Windows" to improve import time.
  • The repr of bson.binary.Binary is now redacted when the subtype is SENSITIVE_SUBTYPE(8).

... (truncated)

Changelog

Sourced from pymongo's changelog.

Changes in Version 4.12.0 (2025/04/08)

.. warning:: Driver support for MongoDB 4.0 reached end of life in April 2025. PyMongo 4.12 will be the last release to support MongoDB 4.0.

PyMongo 4.12 brings a number of changes including:

  • Support for configuring DEK cache lifetime via the key_expiration_ms argument to :class:~pymongo.encryption_options.AutoEncryptionOpts.
  • Support for $lookup in CSFLE and QE supported on MongoDB 8.1+.
  • pymongocrypt>=1.13 is now required for :ref:In-Use Encryption support.
  • Added :meth:gridfs.asynchronous.grid_file.AsyncGridFSBucket.rename_by_name and :meth:gridfs.grid_file.GridFSBucket.rename_by_name for more performant renaming of a file with multiple revisions.
  • Added :meth:gridfs.asynchronous.grid_file.AsyncGridFSBucket.delete_by_name and :meth:gridfs.grid_file.GridFSBucket.delete_by_name for more performant deletion of a file with multiple revisions.
  • AsyncMongoClient no longer performs DNS resolution for "mongodb+srv://" connection strings on creation. To avoid blocking the asyncio loop, the resolution is now deferred until the client is first connected.
  • Added index hinting support to the :meth:~pymongo.asynchronous.collection.AsyncCollection.distinct and :meth:~pymongo.collection.Collection.distinct commands.
  • Deprecated the hedge parameter for :class:~pymongo.read_preferences.PrimaryPreferred, :class:~pymongo.read_preferences.Secondary, :class:~pymongo.read_preferences.SecondaryPreferred, :class:~pymongo.read_preferences.Nearest. Support for hedge will be removed in PyMongo 5.0.
  • Removed PyOpenSSL support from the asynchronous API due to limitations of the CPython asyncio.Protocol SSL implementation.
  • Allow valid SRV hostnames with less than 3 parts.

Issues Resolved ...............

See the PyMongo 4.12 release notes in JIRA_ for the list of resolved issues in this release.

.. _PyMongo 4.12 release notes in JIRA: https://jira.mongodb.org/secure/ReleaseNote.jspa?projectId=10004&version=41916

Changes in Version 4.11.2 (2025/03/05)

Version 4.11.2 is a bug fix release.

  • Fixed a bug where :meth:~pymongo.database.Database.command would fail when attempting to run the bulkWrite command.

Issues Resolved ...............

See the PyMongo 4.11.2 release notes in JIRA_ for the list of resolved issues in this release.

.. _PyMongo 4.11.2 release notes in JIRA: https://jira.mongodb.org/secure/ReleaseNote.jspa?projectId=10004&version=42506

... (truncated)

Commits
  • 98b656f BUMP 4.12.0
  • 92970d3 PYTHON-5248 Update changelog for 4.12 release (#2265)
  • 4d4a26c PYTHON-5270 Server selection should log remainingTimeMS as milliseconds (#2263)
  • 7a4218f PYTHON-5263 Convert s3-related functions to generated config (#2259)
  • 79e5d60 PYTHON-5268 Fix handling of PYTHON_BINARY (#2264)
  • bf0aa56 PYTHON-5252 Add dependency on pymongocrypt 1.13 (#2258)
  • 708ce16 PYTHON-4724 - Prohibit AsyncMongoClient from being used across multiple event...
  • 1c813dc PYTHON-4575 Allow valid SRV hostnames with less than 3 parts (#2234)
  • e7c0814 PYTHON-4557 - Fix write log messages for retried commands (#2260)
  • b402239 PYTHON-5219 - Avoid awaiting coroutines when holding locks (#2250)
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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 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)

Greptile Summary

Disclaimer: Experimental PR review

This PR bumps the pymongo dependency in the Langfuse Python SDK from 4.7.3 to 4.12.0, updating the MongoDB driver used in the project.

  • Updated pymongo version in /pyproject.toml to 4.12.0.
  • Incorporates bug fixes, async improvements, and new gridfs methods.
  • Note: MongoDB 4.0 support is dropped in 4.12.0, so verify compatibility.
  • No other code changes required; ensure tests pass with the new dependency.

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Apr 9, 2025

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

No file(s) reviewed, no comment(s)
Edit PR Review Bot Settings | Greptile

@dependabot dependabot Bot force-pushed the dependabot/pip/pymongo-4.12.0 branch 2 times, most recently from e6119e1 to ed3a47e Compare April 18, 2025 05:15
@dependabot dependabot Bot force-pushed the dependabot/pip/pymongo-4.12.0 branch from ed3a47e to 1f83b75 Compare April 25, 2025 05:35
Bumps [pymongo](https://github.com/mongodb/mongo-python-driver) from 4.7.3 to 4.12.0.
- [Release notes](https://github.com/mongodb/mongo-python-driver/releases)
- [Changelog](https://github.com/mongodb/mongo-python-driver/blob/master/doc/changelog.rst)
- [Commits](mongodb/mongo-python-driver@4.7.3...4.12.0)

---
updated-dependencies:
- dependency-name: pymongo
  dependency-version: 4.12.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/pip/pymongo-4.12.0 branch from 1f83b75 to b77f33f Compare April 29, 2025 05:09
@dependabot @github

dependabot Bot commented on behalf of github Apr 30, 2025

Copy link
Copy Markdown
Contributor Author

Superseded by #1177.

@dependabot dependabot Bot closed this Apr 30, 2025
@dependabot dependabot Bot deleted the dependabot/pip/pymongo-4.12.0 branch April 30, 2025 06:01
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