Skip to content

Update pymongo requirement from <3.0,>=2.6.2 to >=2.6.2,<5.0 in /requirements/extras in the pip group#1

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pip/requirements/extras/pip-29cd621122
Open

Update pymongo requirement from <3.0,>=2.6.2 to >=2.6.2,<5.0 in /requirements/extras in the pip group#1
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pip/requirements/extras/pip-29cd621122

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Feb 5, 2025

Copy link
Copy Markdown

Updates the requirements on pymongo to permit the latest version.
Updates pymongo to 4.11

Release notes

Sourced from pymongo's releases.

PyMongo 4.11.0

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

Changelog

Sourced from pymongo's changelog.

Changelog

Changes in Version 4.11.0 (YYYY/MM/DD)

.. 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 :meth:~pymongo.asynchronous.mongo_client.AsyncMongoClient.bulk_write now throw an error when ordered=True or verboseResults=True are used with unacknowledged writes. These are unavoidable breaking changes.
  • Fixed a bug in :const:bson.json_util.dumps where a :class:bson.datetime_ms.DatetimeMS would be incorrectly encoded as '{"$date": "X"}' instead of '{"$date": X}' when using the legacy MongoDB Extended JSON datetime representation.
  • Fixed a bug where :const:bson.json_util.loads would raise an IndexError when parsing an invalid "$date" instead of a ValueError.

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

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

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

... (truncated)

Commits
  • cae161e BUMP 4.11
  • dc29938 PYTHON-5047 Fix dry run logic in releases (#2083)
  • 4567f88 PYTHON-5047 Fix handling of attestation on testpypi workflows (#2081)
  • 848ab4f PYTHON-5047 Improve testing of publish workflows (#2080)
  • 2225cca PYTHON-5062 Add GitHub Actions CodeQL scanning (#2079)
  • 9082a4b PYTHON-5058 Build linux aarch64 wheel using native runner and omit ppc64le an...
  • a3208df PYTHON-5059 Update default maxMessageSizeBytes and maxWriteBatchSize (#2078)
  • dc18231 PYTHON-5047 Avoid updating the uv lock unintentionally (#2076)
  • a3cc43f PYTHON-4999 Resync retryable writes tests (#2073)
  • cfe7784 PYTHON-4976 Replace hatch with uv as our python environment and workfow tool ...
  • 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 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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Updates the requirements on [pymongo](https://github.com/mongodb/mongo-python-driver) to permit the latest version.

Updates `pymongo` to 4.11
- [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@2.6.2...4.11)

---
updated-dependencies:
- dependency-name: pymongo
  dependency-type: direct:production
  dependency-group: pip
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Feb 5, 2025
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