omnibus
omnibus copied to clipboard
Bump pymongo from 3.5.1 to 4.6.3
Bumps pymongo from 3.5.1 to 4.6.3.
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
PyMongo 4.6.1
Release notes: https://www.mongodb.com/community/forums/t/pymongo-4-6-1-released/255752
PyMongo 4.6.0
Release notes: https://www.mongodb.com/community/forums/t/pymongo-4-6-0-released/251866
PyMongo 4.5.0
Release notes: https://www.mongodb.com/community/forums/t/pymongo-4-5-0-released/240662
PyMongo 4.4.1
Release notes: https://www.mongodb.com/community/forums/t/pymongo-4-4-1-released/235045
PyMongo 4.4.0
Release notes: https://www.mongodb.com/community/forums/t/pymongo-4-4-released/232211
PyMongo 4.4.0b0
Release notes: https://www.mongodb.com/community/forums/t/pymongo-4-4-0b0-release/210471
PyMongo 4.3.3
Release notes: https://www.mongodb.com/community/forums/t/pymongo-4-3-3-release/200145
PyMongo 4.3.2
Release notes: https://www.mongodb.com/community/forums/t/pymongo-4-3-2-released/194266
PyMongo 4.2.0
Release notes: https://www.mongodb.com/community/forums/t/pymongo-4-2-0-released/176012
PyMongo 4.2.0b0
Release notes: https://www.mongodb.com/community/forums/t/python-driver-4-2-0-beta-available/168488
PyMongo 4.1.1
Release notes: https://www.mongodb.com/community/forums/t/pymongo-4-1-1-released/157895
PyMongo 4.1.0
Release notes: https://www.mongodb.com/community/forums/t/pymongo-4-1-0-released/156029
PyMongo 4.0.2
Release notes: https://www.mongodb.com/community/forums/t/pymongo-4-0-2-released/150457
PyMongo 4.0.1
Release notes: https://www.mongodb.com/community/forums/t/pymongo-4-0-1-released/135979
PyMongo 4.0
Release notes: https://www.mongodb.com/community/forums/t/pymongo-4-0-released/134677
PyMongo 3.13.0
Release notes https://www.mongodb.com/community/forums/t/pymongo-3-13-0-released/197141
... (truncated)
Changelog
Sourced from pymongo's changelog.
Changelog
Changes in Version 4.7
PyMongo 4.7 brings a number of improvements including:
Added the :class:
pymongo.hello.Hello.connection_id, :attr:pymongo.monitoring.CommandStartedEvent.server_connection_id, :attr:pymongo.monitoring.CommandSucceededEvent.server_connection_id, and :attr:pymongo.monitoring.CommandFailedEvent.server_connection_idproperties.Fixed a bug where inflating a :class:
~bson.raw_bson.RawBSONDocumentcontaining a :class:~bson.code.Codewould cause an error.Significantly improved the performance of encoding BSON documents to JSON.
Support for named KMS providers for client side field level encryption. Previously supported KMS providers were only: aws, azure, gcp, kmip, and local. The KMS provider is now expanded to support name suffixes (e.g. local:myname). Named KMS providers enables more than one of each KMS provider type to be configured. See the docstring for :class:
~pymongo.encryption_options.AutoEncryptionOpts. Note that named KMS providers requires pymongocrypt >=1.9 and libmongocrypt >=1.9.:meth:
~pymongo.encryption.ClientEncryption.encryptand :meth:~pymongo.encryption.ClientEncryption.encrypt_expressionnow allowkey_idto be passed in as a :class:uuid.UUID.Fixed a bug where :class:
~bson.int64.Int64instances could not always be encoded byorjson_. The following now works::import orjson from bson import json_util orjson.dumps({'a': Int64(1)}, default=json_util.default, option=orjson.OPT_PASSTHROUGH_SUBCLASS)
.. _orjson: https://github.com/ijl/orjson
- 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.
- Added a warning when connecting to DocumentDB and CosmosDB clusters. For more information regarding feature compatibility and support please visit
mongodb.com/supportability/documentdb <https://mongodb.com/supportability/documentdb>_ andmongodb.com/supportability/cosmosdb <https://mongodb.com/supportability/cosmosdb>_.- Added the :attr:
pymongo.monitoring.ConnectionCheckedOutEvent.duration, :attr:pymongo.monitoring.ConnectionCheckOutFailedEvent.duration, and :attr:pymongo.monitoring.ConnectionReadyEvent.durationproperties.- Added the
typeandkwargsarguments to :class:~pymongo.operations.SearchIndexModelto enable creating vector search indexes in MongoDB Atlas.- Fixed a bug where
read_concernandwrite_concernwere improperly added to :meth:~pymongo.collection.Collection.list_search_indexesqueries.Unavoidable breaking changes ............................
... (truncated)
Commits
8da192fBUMP 4.6.356b6b6dPYTHON-4305 Fix bson size check (#1564)449d0f3BUMP to 4.6.3.dev0e04576dDEVPROD-3871 Use teardown_task when there is one function/command (#1533)cf1c6a1PYTHON-4219 Prep for 4.6.2 Release (#1530)d29b2b7PYTHON-4147 [v4.6]: Silence noisy thread.start() RuntimeError at shutdown (#1...0477b9bPYTHON-4077 [v4.6]: Ensure there is a MacOS wheel for Python 3.7 (#1527)ecad17dBUMP 4.6.2.dev0485e0a5BUMP 4.6.1995365cPYTHON-4038 [v4.6]: Ensure retryable readOperationFailures re-raise except...- 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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the Security Alerts page.