Received: by mail.netbsd.org (Postfix, from userid 605) id D25E484D9E; Sun, 7 Oct 2018 07:33:44 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id E71B084C8D for ; Sun, 7 Oct 2018 07:33:43 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id HfiiY5QD0se1 for ; Sun, 7 Oct 2018 07:33:42 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 957A184D8D for ; Sun, 7 Oct 2018 07:33:42 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 8F1EDFBEE; Sun, 7 Oct 2018 07:33:42 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1538897622256550" MIME-Version: 1.0 Date: Sun, 7 Oct 2018 07:33:42 +0000 From: "Adam Ciarcinski" Subject: CVS commit: pkgsrc/databases/py-mongo To: pkgsrc-changes@NetBSD.org Reply-To: adam@netbsd.org X-Mailer: log_accum Message-Id: <20181007073342.8F1EDFBEE@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1538897622256550 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: adam Date: Sun Oct 7 07:33:42 UTC 2018 Modified Files: pkgsrc/databases/py-mongo: Makefile PLIST distinfo Log Message: py-mongo: updated to 3.7.1 Changes in Version 3.7.1 Version 3.7.1 fixes a few issues discovered since the release of 3.7.0. Calling :meth:~pymongo.database.Database.authenticate more than once with the same credentials results in OperationFailure. Authentication fails when SCRAM-SHA-1 is used to authenticate users with only MONGODB-CR credentials. A millisecond rounding problem when decoding datetimes in the pure Python BSON decoder on 32 bit systems and AWS lambda. Issues Resolved Changes in Version 3.7.0 Version 3.7 adds support for MongoDB 4.0. Highlights include: Support for single replica set multi-document ACID transactions. See :ref:transactions-ref. Support for wire protocol compression. See the :meth:~pymongo.mongo_client.MongoClient documentation for details. Support for Python 3.7. New count methods, :meth:~pymongo.collection.Collection.count_documents and :meth:~pymongo.collection.Collection.estimated_document_count. :meth:~pymongo.collection.Collection.count_documents is always accurate when used with MongoDB 3.6+, or when used with older standalone or replica set deployments. With older sharded clusters is it always accurate when used with Primary read preference. It can also be used in a transaction, unlike the now deprecated :meth:pymongo.collection.Collection.count and :meth:pymongo.cursor.Cursor.count methods. Support for watching changes on all collections in a database using the new :meth:pymongo.database.Database.watch method. Support for watching changes on all collections in all databases using the new :meth:pymongo.mongo_client.MongoClient.watch method. Support for watching changes starting at a user provided timestamp using the new start_at_operation_time parameter for the watch() helpers. Better support for using PyMongo in a FIPS 140-2 environment. Specifically, the following features and changes allow PyMongo to function when MD5 support is disabled in OpenSSL by the FIPS Object Module: Support for the :ref:SCRAM-SHA-256 authentication mechanism. The :ref:GSSAPI , :ref:PLAIN , and :ref:MONGODB-X509 mechanisms can also be used to avoid issues with OpenSSL in FIPS environments. MD5 checksums are now optional in GridFS. See the disable_md5 option of :class:~gridfs.GridFS and :class:~gridfs.GridFSBucket. :class:~bson.objectid.ObjectId machine bytes are now hashed using FNV-1a instead of MD5. The :meth:~pymongo.database.Database.list_collection_names and :meth:~pymongo.database.Database.collection_names methods use the nameOnly option when supported by MongoDB. The :meth:pymongo.collection.Collection.watch method now returns an instance of the :class:~pymongo.change_stream.CollectionChangeStream class which is a subclass of :class:~pymongo.change_stream.ChangeStream. SCRAM client and server keys are cached for improved performance, following RFC 5802. If not specified, the authSource for the :ref:PLAIN authentication mechanism defaults to $external. wtimeoutMS is once again supported as a URI option. When using unacknowledged write concern and connected to MongoDB server version 3.6 or greater, the bypass_document_validation option is now supported in the following write helpers: :meth:~pymongo.collection.Collection.insert_one, :meth:~pymongo.collection.Collection.replace_one, :meth:~pymongo.collection.Collection.update_one, :meth:~pymongo.collection.Collection.update_many. Deprecations: Deprecated :meth:pymongo.collection.Collection.count and :meth:pymongo.cursor.Cursor.count. These two methods use the count command and may or may not be accurate, depending on the options used and connected MongoDB topology. Use :meth:~pymongo.collection.Collection.count_documents instead. Deprecated the snapshot option of :meth:~pymongo.collection.Collection.find and :meth:~pymongo.collection.Collection.find_one. The option was deprecated in MongoDB 3.6 and removed in MongoDB 4.0. Deprecated the max_scan option of :meth:~pymongo.collection.Collection.find and :meth:~pymongo.collection.Collection.find_one. The option was deprecated in MongoDB 4.0. Use maxTimeMS instead. Deprecated :meth:~pymongo.mongo_client.MongoClient.close_cursor. Use :meth:~pymongo.cursor.Cursor.close instead. Deprecated :meth:~pymongo.mongo_client.MongoClient.database_names. Use :meth:~pymongo.mongo_client.MongoClient.list_database_names instead. Deprecated :meth:~pymongo.database.Database.collection_names. Use :meth:~pymongo.database.Database.list_collection_names instead. Deprecated :meth:~pymongo.collection.Collection.parallel_scan. MongoDB 4.2 will remove the parallelCollectionScan command. Unavoidable breaking changes: Commands that fail with server error codes 10107, 13435, 13436, 11600, 11602, 189, 91 (NotMaster, NotMasterNoSlaveOk, NotMasterOrSecondary, InterruptedAtShutdown, InterruptedDueToReplStateChange, PrimarySteppedDown, ShutdownInProgress respectively) now always raise :class:~pymongo.errors.NotMasterError instead of :class:~pymongo.errors.OperationFailure. :meth:~pymongo.collection.Collection.parallel_scan no longer uses an implicit session. Explicit sessions are still supported. Unacknowledged writes (w=0) with an explicit session parameter now raise a client side error. Since PyMongo does not wait for a response for an unacknowledged write, two unacknowledged writes run serially by the client may be executed simultaneously on the server. However, the server requires a single session must not be used simultaneously by more than one operation. Therefore explicit sessions cannot support unacknowledged writes. Unacknowledged writes without a session parameter are still supported. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 pkgsrc/databases/py-mongo/Makefile cvs rdiff -u -r1.2 -r1.3 pkgsrc/databases/py-mongo/PLIST cvs rdiff -u -r1.3 -r1.4 pkgsrc/databases/py-mongo/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1538897622256550 Content-Disposition: inline Content-Length: 3929 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/databases/py-mongo/Makefile diff -u pkgsrc/databases/py-mongo/Makefile:1.4 pkgsrc/databases/py-mongo/Makefile:1.5 --- pkgsrc/databases/py-mongo/Makefile:1.4 Tue Sep 12 16:32:22 2017 +++ pkgsrc/databases/py-mongo/Makefile Sun Oct 7 07:33:42 2018 @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.4 2017/09/12 16:32:22 adam Exp $ +# $NetBSD: Makefile,v 1.5 2018/10/07 07:33:42 adam Exp $ -DISTNAME= pymongo-3.5.1 +DISTNAME= pymongo-3.7.1 PKGNAME= ${DISTNAME:S/py/${PYPKGPREFIX}-/1} CATEGORIES= databases python MASTER_SITES= ${MASTER_SITE_PYPI:=p/pymongo/} Index: pkgsrc/databases/py-mongo/PLIST diff -u pkgsrc/databases/py-mongo/PLIST:1.2 pkgsrc/databases/py-mongo/PLIST:1.3 --- pkgsrc/databases/py-mongo/PLIST:1.2 Tue Sep 12 16:32:22 2017 +++ pkgsrc/databases/py-mongo/PLIST Sun Oct 7 07:33:42 2018 @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.2 2017/09/12 16:32:22 adam Exp $ +@comment $NetBSD: PLIST,v 1.3 2018/10/07 07:33:42 adam Exp $ ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt @@ -78,9 +78,15 @@ ${PYSITELIB}/pymongo/auth.pyo ${PYSITELIB}/pymongo/bulk.py ${PYSITELIB}/pymongo/bulk.pyc ${PYSITELIB}/pymongo/bulk.pyo +${PYSITELIB}/pymongo/change_stream.py +${PYSITELIB}/pymongo/change_stream.pyc +${PYSITELIB}/pymongo/change_stream.pyo ${PYSITELIB}/pymongo/client_options.py ${PYSITELIB}/pymongo/client_options.pyc ${PYSITELIB}/pymongo/client_options.pyo +${PYSITELIB}/pymongo/client_session.py +${PYSITELIB}/pymongo/client_session.pyc +${PYSITELIB}/pymongo/client_session.pyo ${PYSITELIB}/pymongo/collation.py ${PYSITELIB}/pymongo/collation.pyc ${PYSITELIB}/pymongo/collation.pyo @@ -93,6 +99,9 @@ ${PYSITELIB}/pymongo/command_cursor.pyo ${PYSITELIB}/pymongo/common.py ${PYSITELIB}/pymongo/common.pyc ${PYSITELIB}/pymongo/common.pyo +${PYSITELIB}/pymongo/compression_support.py +${PYSITELIB}/pymongo/compression_support.pyc +${PYSITELIB}/pymongo/compression_support.pyo ${PYSITELIB}/pymongo/cursor.py ${PYSITELIB}/pymongo/cursor.pyc ${PYSITELIB}/pymongo/cursor.pyo @@ -102,6 +111,9 @@ ${PYSITELIB}/pymongo/cursor_manager.pyo ${PYSITELIB}/pymongo/database.py ${PYSITELIB}/pymongo/database.pyc ${PYSITELIB}/pymongo/database.pyo +${PYSITELIB}/pymongo/driver_info.py +${PYSITELIB}/pymongo/driver_info.pyc +${PYSITELIB}/pymongo/driver_info.pyo ${PYSITELIB}/pymongo/errors.py ${PYSITELIB}/pymongo/errors.pyc ${PYSITELIB}/pymongo/errors.pyo @@ -156,6 +168,9 @@ ${PYSITELIB}/pymongo/response.pyo ${PYSITELIB}/pymongo/results.py ${PYSITELIB}/pymongo/results.pyc ${PYSITELIB}/pymongo/results.pyo +${PYSITELIB}/pymongo/saslprep.py +${PYSITELIB}/pymongo/saslprep.pyc +${PYSITELIB}/pymongo/saslprep.pyo ${PYSITELIB}/pymongo/server.py ${PYSITELIB}/pymongo/server.pyc ${PYSITELIB}/pymongo/server.pyo Index: pkgsrc/databases/py-mongo/distinfo diff -u pkgsrc/databases/py-mongo/distinfo:1.3 pkgsrc/databases/py-mongo/distinfo:1.4 --- pkgsrc/databases/py-mongo/distinfo:1.3 Tue Sep 12 16:32:22 2017 +++ pkgsrc/databases/py-mongo/distinfo Sun Oct 7 07:33:42 2018 @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.3 2017/09/12 16:32:22 adam Exp $ +$NetBSD: distinfo,v 1.4 2018/10/07 07:33:42 adam Exp $ -SHA1 (pymongo-3.5.1.tar.gz) = b3c72f65d8acb9799cba4b5f1a2492b1b4d98553 -RMD160 (pymongo-3.5.1.tar.gz) = 98918531be0e3944685cb4e3eae27ccaf1e07876 -SHA512 (pymongo-3.5.1.tar.gz) = 67526bcc27233b85226d7ef6aacce6dfb848efc88730fb8207c3b610f3943ac813f6c2842b7e514d733a65a2b7ea4f255574732e42372551b1b333e3437fd82f -Size (pymongo-3.5.1.tar.gz) = 1332463 bytes +SHA1 (pymongo-3.7.1.tar.gz) = 43a318a9d79e0bcafb2ab08853f789435d05d37c +RMD160 (pymongo-3.7.1.tar.gz) = 889344b510fbce2092b0860433cb7fd2ab924d02 +SHA512 (pymongo-3.7.1.tar.gz) = 34f7448c90a0741d1c80e5924d53e70d5c4bf74d140ea50cef1a519e11b7429dc8551ddb868ec4c02351da6619924ae0d4f7bfc12ef4fa9635c81e2f69aea30f +Size (pymongo-3.7.1.tar.gz) = 723014 bytes --_----------=_1538897622256550--