Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps-dev): bump pymongo from 4.7.3 to 4.11.2 #1131

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 4, 2025

Bumps pymongo from 4.7.3 to 4.11.2.

Release notes

Sourced from pymongo's releases.

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).
  • Secure Software Development Life Cycle automation for release process. GitHub Releases now include a Software Bill of Materials, and signature files corresponding to the distribution files released on PyPI.
  • Fixed a bug in change streams where both startAtOperationTime and resumeToken could be added to a retry attempt, which caused the retry to fail.
  • Fallback to stdlib ssl module when pyopenssl import fails with AttributeError.
  • Improved performance of MongoClient operations, especially when many operations are being run concurrently.

Unavoidable breaking changes

  • Since we are now using hatch as our build backend, we no longer have a usable setup.py file and require installation using pip. Attempts to invoke the setup.py file will raise an exception. Additionally, pip >= 21.3 is now required for editable installs.

Issues Resolved

See the PyMongo 4.8 release notes in JIRA for the list of resolved issues in this release.

... (truncated)

Changelog

Sourced from pymongo's changelog.

Changes in Version 4.11.2 (YYYY/MM/DD)

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

Changes in Version 4.11.1 (2025/02/10)

  • Fixed support for prebuilt ppc64le and s390x wheels.

Changes in Version 4.11.0 (2025/01/28)

.. warning:: PyMongo 4.11 drops support for Python 3.8 and PyPy 3.9: Python 3.9+ or PyPy 3.10+ is now required. .. warning:: PyMongo 4.11 drops support for MongoDB 3.6. PyMongo now supports MongoDB 4.0+. Driver support for MongoDB 3.6 reached end of life in April 2024. .. warning:: Driver support for MongoDB 4.0 reaches end of life in April 2025. A future minor release of PyMongo will raise the minimum supported MongoDB Server version from 4.0 to 4.2. This is in accordance with MongoDB Software Lifecycle Schedules. Support for MongoDB Server 4.0 will be dropped in a future release! .. warning:: This version does not include wheels for ppc64le or s390x architectures, see PYTHON-5058_ for more information.

PyMongo 4.11 brings a number of changes including:

  • Dropped support for Python 3.8 and PyPy 3.9.
  • Dropped support for MongoDB 3.6.
  • Dropped support for the MONGODB-CR authenticate mechanism, which is no longer supported by MongoDB 4.0+.
  • pymongocrypt>=1.12 is now required for :ref:In-Use Encryption support.
  • Added support for free-threaded Python with the GIL disabled. For more information see: Free-threaded CPython <https://docs.python.org/3.13/whatsnew/3.13.html#whatsnew313-free-threaded-cpython>. We do not yet support free-threaded Python on Windows (PYTHON-5027) or with In-Use Encryption (PYTHON-5024_).
  • :attr:~pymongo.asynchronous.mongo_client.AsyncMongoClient.address and :attr:~pymongo.mongo_client.MongoClient.address now correctly block when called on unconnected clients until either connection succeeds or a server selection timeout error is raised.
  • Added :func:repr support to :class:pymongo.operations.IndexModel.
  • Added :func:repr support to :class:pymongo.operations.SearchIndexModel.
  • Added sort parameter to :meth:~pymongo.collection.Collection.update_one, :meth:~pymongo.collection.Collection.replace_one, :class:~pymongo.operations.UpdateOne, and :class:~pymongo.operations.UpdateMany,
  • :meth:~pymongo.mongo_client.MongoClient.bulk_write and

... (truncated)

Commits

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

Updates pymongo dependency from 4.7.3 to 4.11.2, bringing bug fixes and improvements to MongoDB database operations and command handling.

  • Fixed bug in Database.command to properly handle bulkWrite commands
  • Drops support for Python 3.8/PyPy 3.9 and MongoDB 3.6, now requiring Python 3.9+/PyPy 3.10+ and MongoDB 4.0+
  • Adds support for free-threaded Python with GIL disabled (except on Windows and In-Use Encryption)
  • Improves performance of MongoClient operations, especially for concurrent operations
  • Adds sort parameter to update/replace operations and bulk writes

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Mar 4, 2025
Copy link

@greptile-apps greptile-apps bot left a comment

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.11.2 branch 2 times, most recently from 0bcb6e4 to 9fbea28 Compare March 17, 2025 05:09
Bumps [pymongo](https://github.com/mongodb/mongo-python-driver) from 4.7.3 to 4.11.2.
- [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.11.2)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/pip/pymongo-4.11.2 branch from 9fbea28 to 9bee360 Compare March 18, 2025 05:09
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants