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

Update pymongo requirement from ==4.5.* to ==4.6.* in /requirements #2988

Merged
merged 1 commit into from
Feb 27, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 26, 2024

Updates the requirements on pymongo to permit the latest version.

Release notes

Sourced from pymongo's releases.

PyMongo 4.6.2

Release notes: https://www.mongodb.com/community/forums/t/pymongo-4-6-2-released/267404

Changelog

Sourced from pymongo's changelog.

Changes in Version 4.6.2

PyMongo 4.6.2 fixes the following bug:

  • Fixed a bug appearing in Python 3.12 where "RuntimeError: can't create new thread at interpreter shutdown" could be written to stderr when a MongoClient's thread starts as the python interpreter is shutting down.

Changes in Version 4.6.1

PyMongo 4.6.1 fixes the following bug:

  • Ensure retryable read OperationFailure errors re-raise exception when 0 or NoneType error code is provided.

Changes in Version 4.6

PyMongo 4.6 brings a number of improvements including:

  • Added the serverMonitoringMode URI and keyword argument to :class:~pymongo.mongo_client.MongoClient.

  • Improved client performance and reduced connection requirements in Function-as-a-service (FaaS) environments like AWS Lambda, Google Cloud Functions, and Microsoft Azure Functions.

  • Added the :attr:pymongo.monitoring.CommandSucceededEvent.database_name property.

  • Added the :attr:pymongo.monitoring.CommandFailedEvent.database_name property.

  • Allow passing a dict to sort/create_index/hint.

  • Added :func:repr support to the write result classes: :class:~pymongo.results.BulkWriteResult, :class:~pymongo.results.DeleteResult, :class:~pymongo.results.InsertManyResult, :class:~pymongo.results.InsertOneResult, :class:~pymongo.results.UpdateResult, and :class:~pymongo.encryption.RewrapManyDataKeyResult. For example:

    client.t.t.insert_one({}) InsertOneResult(ObjectId('65319acdd55bb3a27ab5502b'), acknowledged=True) client.t.t.insert_many([{} for _ in range(3)]) InsertManyResult([ObjectId('6532f85e826f2b6125d6ce39'), ObjectId('6532f85e826f2b6125d6ce3a'), ObjectId('6532f85e826f2b6125d6ce3b')], acknowledged=True)

  • :meth:~pymongo.uri_parser.parse_uri now considers the delimiting slash (/) between hosts and connection options optional. For example, "mongodb://example.com?tls=true" is now a valid URI.

  • Fixed a bug where PyMongo would incorrectly promote all cursors to exhaust cursors when connected to load balanced MongoDB clusters or Serverless clusters.

  • Added the :ref:network-compression-example documentation page.

  • Added more timeout information to network errors.

Changes in Version 4.5

... (truncated)

Commits
  • e04576d DEVPROD-3871 Use teardown_task when there is one function/command (#1533)
  • cf1c6a1 PYTHON-4219 Prep for 4.6.2 Release (#1530)
  • d29b2b7 PYTHON-4147 [v4.6]: Silence noisy thread.start() RuntimeError at shutdown (#1...
  • 0477b9b PYTHON-4077 [v4.6]: Ensure there is a MacOS wheel for Python 3.7 (#1527)
  • ecad17d BUMP 4.6.2.dev0
  • 485e0a5 BUMP 4.6.1
  • 995365c PYTHON-4038 [v4.6]: Ensure retryable read OperationFailures re-raise except...
  • 8e25ce1 BUMP 4.6.0
  • a17e412 Updated changelog with timeout info change (#1417)
  • a09a03e PYTHON-3930 Add docs page for network compression (#1415)
  • 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 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/master/doc/changelog.rst)
- [Commits](mongodb/mongo-python-driver@4.5.0...4.6.2)

---
updated-dependencies:
- dependency-name: pymongo
  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 February 26, 2024 12:59
@dependabot dependabot bot added DEPENDENCY Any changes in any dependencies (new dep or its version) should be produced via Change Request on PM python Pull requests that update Python code labels Feb 26, 2024
Copy link

codecov bot commented Feb 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.15%. Comparing base (ac993c8) to head (6879ef8).

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2988      +/-   ##
===========================================
- Coverage    81.16%   81.15%   -0.01%     
===========================================
  Files          520      520              
  Lines        39535    39535              
===========================================
- Hits         32087    32086       -1     
- Misses        7448     7449       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@yunchu yunchu merged commit 6efdada into develop Feb 27, 2024
17 of 18 checks passed
@yunchu yunchu deleted the dependabot/pip/requirements/pymongo-eq-4.6.star branch February 27, 2024 07:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DEPENDENCY Any changes in any dependencies (new dep or its version) should be produced via Change Request on PM python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants