diff options
author | adam <adam@pkgsrc.org> | 2020-12-09 09:46:11 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2020-12-09 09:46:11 +0000 |
commit | 3bbb975016a1c96c3c0d1dcaef6d9a8345859be1 (patch) | |
tree | 6e97c6bfdc4997d5efc40e6e1cca7a1521a910e4 /databases/py-mongo | |
parent | 3a5e94eeb596209d72decd830aa2852c8bb2fa10 (diff) | |
download | pkgsrc-3bbb975016a1c96c3c0d1dcaef6d9a8345859be1.tar.gz |
py-mongo: updated to 3.11.2
Changes in Version 3.11.2
Issues Resolved
Version 3.11.2 includes a number of bugfixes. Highlights include:
Fixed a memory leak caused by failing SDAM monitor checks on Python 3 (PYTHON-2433).
Fixed a regression that changed the string representation of BulkWriteError (PYTHON-2438).
Fixed a bug that made it impossible to use bson.codec_options.CodecOptions.with_options() and with_options() on some early versions of Python 3.4 and Python 3.5 due to a bug in the standard library implementation of collections.namedtuple._asdict() (PYTHON-2440).
Fixed a bug that resulted in a TypeError exception when a PyOpenSSL socket was configured with a timeout of None (PYTHON-2443).
Changes in Version 3.11.1
Version 3.11.1 adds support for Python 3.9 and includes a number of bugfixes. Highlights include:
Support for Python 3.9.
Initial support for Azure and GCP KMS providers for client side field level encryption is in beta. See the docstring for MongoClient, AutoEncryptionOpts, and encryption. Note: Backwards-breaking changes may be made before the final release.
Fixed a bug where the bson.json_util.JSONOptions API did not match the bson.codec_options.CodecOptions API due to the absence of a bson.json_util.JSONOptions.with_options() method. This method has now been added.
Fixed a bug which made it impossible to serialize BulkWriteError instances using pickle.
Fixed a bug wherein PyMongo did not always discard an implicit session after encountering a network error.
Fixed a bug where connections created in the background were not authenticated.
Fixed a memory leak in the bson module when using a TypeRegistry.
Changes in Version 3.11.0
Version 3.11 adds support for MongoDB 4.4 and includes a number of bug fixes. Highlights include:
Support for OCSP (Online Certificate Status Protocol).
Support for PyOpenSSL as an alternative TLS implementation. PyOpenSSL is required for OCSP support. It will also be installed when using the “tls” extra if the version of Python in use is older than 2.7.9.
Support for the MONGODB-AWS authentication mechanism.
Support for the directConnection URI option and kwarg to MongoClient.
Support for speculative authentication attempts in connection handshakes which reduces the number of network roundtrips needed to authenticate new connections on MongoDB 4.4+.
Support for creating collections in multi-document transactions with create_collection() on MongoDB 4.4+.
Added index hinting support to the replace_one(), update_one(), update_many(), find_one_and_replace(), find_one_and_update(), delete_one(), delete_many(), and find_one_and_delete() commands.
Added index hinting support to the ReplaceOne, UpdateOne, UpdateMany, DeleteOne, and DeleteMany bulk operations.
Added support for bson.binary.UuidRepresentation.UNSPECIFIED and MongoClient(uuidRepresentation='unspecified') which will become the default UUID representation starting in PyMongo 4.0. See Handling UUID Data for details.
Added the background parameter to pymongo.database.Database.validate_collection(). For a description of this parameter see the MongoDB documentation for the validate command.
Added the allow_disk_use parameters to pymongo.collection.Collection.find().
Added the hedge parameter to PrimaryPreferred, Secondary, SecondaryPreferred, Nearest to support disabling (or explicitly enabling) hedged reads in MongoDB 4.4+.
Fixed a bug in change streams that could cause PyMongo to miss some change documents when resuming a stream that was started without a resume token and whose first batch did not contain any change documents.
Fixed an bug where using gevent.Timeout to timeout an operation could lead to a deadlock.
Deprecations:
Deprecated the oplog_replay parameter to pymongo.collection.Collection.find(). Starting in MongoDB 4.4, the server optimizes queries against the oplog collection without requiring the user to set this flag.
Deprecated pymongo.collection.Collection.reindex(). Use command() to run the reIndex command instead.
Deprecated pymongo.mongo_client.MongoClient.fsync(). Use command() to run the fsync command instead.
Deprecated pymongo.mongo_client.MongoClient.unlock(). Use command() to run the fsyncUnlock command instead. See the documentation for more information.
Deprecated pymongo.mongo_client.MongoClient.is_locked. Use command() to run the currentOp command instead. See the documentation for more information.
Unavoidable breaking changes:
GridFSBucket and GridFS do not support multi-document transactions. Running a GridFS operation in a transaction now always raises the following error: InvalidOperation: GridFS does not support multi-document transactions
Diffstat (limited to 'databases/py-mongo')
-rw-r--r-- | databases/py-mongo/Makefile | 4 | ||||
-rw-r--r-- | databases/py-mongo/PLIST | 20 | ||||
-rw-r--r-- | databases/py-mongo/distinfo | 10 |
3 files changed, 26 insertions, 8 deletions
diff --git a/databases/py-mongo/Makefile b/databases/py-mongo/Makefile index 0d9694836be..acd1b3b4dc6 100644 --- a/databases/py-mongo/Makefile +++ b/databases/py-mongo/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.7 2020/01/29 13:08:35 adam Exp $ +# $NetBSD: Makefile,v 1.8 2020/12/09 09:46:11 adam Exp $ -DISTNAME= pymongo-3.10.1 +DISTNAME= pymongo-3.11.2 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^py//} CATEGORIES= databases python MASTER_SITES= ${MASTER_SITE_PYPI:=p/pymongo/} diff --git a/databases/py-mongo/PLIST b/databases/py-mongo/PLIST index dfa938474eb..3df7c40bf90 100644 --- a/databases/py-mongo/PLIST +++ b/databases/py-mongo/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.4 2020/01/29 13:08:35 adam Exp $ +@comment $NetBSD: PLIST,v 1.5 2020/12/09 09:46:11 adam Exp $ ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt @@ -78,6 +78,9 @@ ${PYSITELIB}/pymongo/aggregation.pyo ${PYSITELIB}/pymongo/auth.py ${PYSITELIB}/pymongo/auth.pyc ${PYSITELIB}/pymongo/auth.pyo +${PYSITELIB}/pymongo/auth_aws.py +${PYSITELIB}/pymongo/auth_aws.pyc +${PYSITELIB}/pymongo/auth_aws.pyo ${PYSITELIB}/pymongo/bulk.py ${PYSITELIB}/pymongo/bulk.pyc ${PYSITELIB}/pymongo/bulk.pyo @@ -129,6 +132,9 @@ ${PYSITELIB}/pymongo/encryption_options.pyo ${PYSITELIB}/pymongo/errors.py ${PYSITELIB}/pymongo/errors.pyc ${PYSITELIB}/pymongo/errors.pyo +${PYSITELIB}/pymongo/event_loggers.py +${PYSITELIB}/pymongo/event_loggers.pyc +${PYSITELIB}/pymongo/event_loggers.pyo ${PYSITELIB}/pymongo/helpers.py ${PYSITELIB}/pymongo/helpers.pyc ${PYSITELIB}/pymongo/helpers.pyo @@ -159,6 +165,12 @@ ${PYSITELIB}/pymongo/monotonic.pyo ${PYSITELIB}/pymongo/network.py ${PYSITELIB}/pymongo/network.pyc ${PYSITELIB}/pymongo/network.pyo +${PYSITELIB}/pymongo/ocsp_cache.py +${PYSITELIB}/pymongo/ocsp_cache.pyc +${PYSITELIB}/pymongo/ocsp_cache.pyo +${PYSITELIB}/pymongo/ocsp_support.py +${PYSITELIB}/pymongo/ocsp_support.pyc +${PYSITELIB}/pymongo/ocsp_support.pyo ${PYSITELIB}/pymongo/operations.py ${PYSITELIB}/pymongo/operations.pyc ${PYSITELIB}/pymongo/operations.pyo @@ -168,6 +180,9 @@ ${PYSITELIB}/pymongo/periodic_executor.pyo ${PYSITELIB}/pymongo/pool.py ${PYSITELIB}/pymongo/pool.pyc ${PYSITELIB}/pymongo/pool.pyo +${PYSITELIB}/pymongo/pyopenssl_context.py +${PYSITELIB}/pymongo/pyopenssl_context.pyc +${PYSITELIB}/pymongo/pyopenssl_context.pyo ${PYSITELIB}/pymongo/read_concern.py ${PYSITELIB}/pymongo/read_concern.pyc ${PYSITELIB}/pymongo/read_concern.pyo @@ -198,6 +213,9 @@ ${PYSITELIB}/pymongo/server_type.pyo ${PYSITELIB}/pymongo/settings.py ${PYSITELIB}/pymongo/settings.pyc ${PYSITELIB}/pymongo/settings.pyo +${PYSITELIB}/pymongo/socket_checker.py +${PYSITELIB}/pymongo/socket_checker.pyc +${PYSITELIB}/pymongo/socket_checker.pyo ${PYSITELIB}/pymongo/son_manipulator.py ${PYSITELIB}/pymongo/son_manipulator.pyc ${PYSITELIB}/pymongo/son_manipulator.pyo diff --git a/databases/py-mongo/distinfo b/databases/py-mongo/distinfo index 00f793458f2..8cec531ee29 100644 --- a/databases/py-mongo/distinfo +++ b/databases/py-mongo/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.6 2020/01/29 13:08:35 adam Exp $ +$NetBSD: distinfo,v 1.7 2020/12/09 09:46:11 adam Exp $ -SHA1 (pymongo-3.10.1.tar.gz) = abb08727829ceba6cd79d15cb24a7fa98d1d4afa -RMD160 (pymongo-3.10.1.tar.gz) = ec4aef0193194ee32f5954989b0aaaaf39b9b57e -SHA512 (pymongo-3.10.1.tar.gz) = 5a73ac17ef6f6783a573facd90879dbefa0c95d69123bc67c1a6af0987cb5786f637b8fa81a6810387acc34829a4cde33b848ac0f7b08f7d07faa90a8e13b595 -Size (pymongo-3.10.1.tar.gz) = 715892 bytes +SHA1 (pymongo-3.11.2.tar.gz) = d673cefa65902268a230b50b5a953ca3a94f14e5 +RMD160 (pymongo-3.11.2.tar.gz) = b9044cd2e2248caa1ae934a4c997e5e7a988b881 +SHA512 (pymongo-3.11.2.tar.gz) = 07f8dd60427d17a23ea264e594c3b2d62ccc4b966238191a5f2d24f2e4558afdf6faad355bfc546790cab173222ccd76afa6d803bbff2a04279c46f06db36572 +Size (pymongo-3.11.2.tar.gz) = 770595 bytes |