pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/py-mongo py-mongo: updated to 3.12.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/983d38205ad3
branches: trunk
changeset: 456353:983d38205ad3
user: adam <adam%pkgsrc.org@localhost>
date: Mon Jul 26 17:30:35 2021 +0000
description:
py-mongo: updated to 3.12.0
Changes in Version 3.12.0
-------------------------
.. warning:: PyMongo 3.12.0 deprecates support for Python 2.7, 3.4 and 3.5.
These Python versions will not be supported by PyMongo 4.
.. warning:: PyMongo now allows insertion of documents with keys that include
dots ('.') or start with dollar signs ('$').
- PyMongoCrypt 1.1.0 or later is now required for client side field level
encryption support.
Notable improvements
....................
- Added support for MongoDB 5.0.
- Support for MongoDB Versioned API, see :class:`~pymongo.server_api.ServerApi`.
- Support for snapshot reads on secondaries (see :ref:`snapshot-reads-ref`).
- Support for Azure and GCP KMS providers for client side field level
encryption. See the docstring for :class:`~pymongo.mongo_client.MongoClient`,
:class:`~pymongo.encryption_options.AutoEncryptionOpts`,
and :mod:`~pymongo.encryption`.
- Support AWS authentication with temporary credentials when connecting to KMS
in client side field level encryption.
- Support for connecting to load balanced MongoDB clusters via the new
``loadBalanced`` URI option.
- Support for creating timeseries collections via the ``timeseries`` and
``expireAfterSeconds`` arguments to
:meth:`~pymongo.database.Database.create_collection`.
- Added :attr:`pymongo.mongo_client.MongoClient.topology_description`.
- Added hash support to :class:`~pymongo.mongo_client.MongoClient`,
:class:`~pymongo.database.Database` and
:class:`~pymongo.collection.Collection` (`PYTHON-2466`_).
- Improved the error message returned by
:meth:`~pymongo.collection.Collection.insert_many` when supplied with an
argument of incorrect type (`PYTHON-1690`_).
- Added session and read concern support to
:meth:`~pymongo.collection.Collection.find_raw_batches`
and :meth:`~pymongo.collection.Collection.aggregate_raw_batches`.
Bug fixes
.........
- Fixed a bug that could cause the driver to deadlock during automatic
client side field level encryption (`PYTHON-2472`_).
- Fixed a potential deadlock when garbage collecting an unclosed exhaust
:class:`~pymongo.cursor.Cursor`.
- Fixed an bug where using gevent.Timeout to timeout an operation could
lead to a deadlock.
- Fixed the following bug with Atlas Data Lake. When closing cursors,
pymongo now sends killCursors with the namespace returned the cursor's
initial command response.
- Fixed a bug in :class:`~pymongo.cursor.RawBatchCursor` that caused it to
return an empty bytestring when the cursor contained no results. It now
raises :exc:`StopIteration` instead.
Deprecations
............
- Deprecated support for Python 2.7, 3.4 and 3.5.
- Deprecated support for database profiler helpers
:meth:`~pymongo.database.Database.profiling_level`,
:meth:`~pymongo.database.Database.set_profiling_level`,
and :meth:`~pymongo.database.Database.profiling_info`. Instead, users
should run the `profile command`_ with the
:meth:`~pymongo.database.Database.command` helper directly.
- Deprecated :exc:`~pymongo.errors.NotMasterError`. Users should
use :exc:`~pymongo.errors.NotPrimaryError` instead.
- Deprecated :class:`~pymongo.ismaster.IsMaster` and :mod:`~pymongo.ismaster`
which will be removed in PyMongo 4.0 and are replaced by
:class:`~pymongo.hello.Hello` and :mod:`~pymongo.hello` which provide the
same API.
- Deprecated the :mod:`pymongo.messeage` module.
- Deprecated the ``ssl_keyfile`` and ``ssl_certfile`` URI options in favor
of ``tlsCertificateKeyFile`` (see :doc:`examples/tls`).
diffstat:
databases/py-mongo/Makefile | 4 ++--
databases/py-mongo/PLIST | 14 +++++++++++++-
databases/py-mongo/distinfo | 10 +++++-----
3 files changed, 20 insertions(+), 8 deletions(-)
diffs (69 lines):
diff -r c3ab128a1466 -r 983d38205ad3 databases/py-mongo/Makefile
--- a/databases/py-mongo/Makefile Mon Jul 26 17:28:51 2021 +0000
+++ b/databases/py-mongo/Makefile Mon Jul 26 17:30:35 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.10 2021/05/06 10:35:07 adam Exp $
+# $NetBSD: Makefile,v 1.11 2021/07/26 17:30:35 adam Exp $
-DISTNAME= pymongo-3.11.4
+DISTNAME= pymongo-3.12.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^py//}
CATEGORIES= databases python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pymongo/}
diff -r c3ab128a1466 -r 983d38205ad3 databases/py-mongo/PLIST
--- a/databases/py-mongo/PLIST Mon Jul 26 17:28:51 2021 +0000
+++ b/databases/py-mongo/PLIST Mon Jul 26 17:30:35 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2020/12/09 09:46:11 adam Exp $
+@comment $NetBSD: PLIST,v 1.6 2021/07/26 17:30:35 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -72,6 +72,9 @@
${PYSITELIB}/pymongo/__init__.pyc
${PYSITELIB}/pymongo/__init__.pyo
${PYSITELIB}/pymongo/_cmessage.so
+${PYSITELIB}/pymongo/_ipaddress.py
+${PYSITELIB}/pymongo/_ipaddress.pyc
+${PYSITELIB}/pymongo/_ipaddress.pyo
${PYSITELIB}/pymongo/aggregation.py
${PYSITELIB}/pymongo/aggregation.pyc
${PYSITELIB}/pymongo/aggregation.pyo
@@ -135,6 +138,12 @@
${PYSITELIB}/pymongo/event_loggers.py
${PYSITELIB}/pymongo/event_loggers.pyc
${PYSITELIB}/pymongo/event_loggers.pyo
+${PYSITELIB}/pymongo/hello.py
+${PYSITELIB}/pymongo/hello.pyc
+${PYSITELIB}/pymongo/hello.pyo
+${PYSITELIB}/pymongo/hello_compat.py
+${PYSITELIB}/pymongo/hello_compat.pyc
+${PYSITELIB}/pymongo/hello_compat.pyo
${PYSITELIB}/pymongo/helpers.py
${PYSITELIB}/pymongo/helpers.pyc
${PYSITELIB}/pymongo/helpers.pyo
@@ -201,6 +210,9 @@
${PYSITELIB}/pymongo/server.py
${PYSITELIB}/pymongo/server.pyc
${PYSITELIB}/pymongo/server.pyo
+${PYSITELIB}/pymongo/server_api.py
+${PYSITELIB}/pymongo/server_api.pyc
+${PYSITELIB}/pymongo/server_api.pyo
${PYSITELIB}/pymongo/server_description.py
${PYSITELIB}/pymongo/server_description.pyc
${PYSITELIB}/pymongo/server_description.pyo
diff -r c3ab128a1466 -r 983d38205ad3 databases/py-mongo/distinfo
--- a/databases/py-mongo/distinfo Mon Jul 26 17:28:51 2021 +0000
+++ b/databases/py-mongo/distinfo Mon Jul 26 17:30:35 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.9 2021/05/06 10:35:07 adam Exp $
+$NetBSD: distinfo,v 1.10 2021/07/26 17:30:35 adam Exp $
-SHA1 (pymongo-3.11.4.tar.gz) = 8c33c3ae4fb7c2af12edd29ae14a454677eafc7e
-RMD160 (pymongo-3.11.4.tar.gz) = 3f3081e578734021f23a5da735cb55abaa4abde5
-SHA512 (pymongo-3.11.4.tar.gz) = 85a98e166f5e6aa387e4c7c9b6f284541321a570a7828c1cf7e140230e1aabb29561211bab04b8be9fbcefd1488e8b63b9fe034960e2bdccfd8ed18b083fe7e1
-Size (pymongo-3.11.4.tar.gz) = 783122 bytes
+SHA1 (pymongo-3.12.0.tar.gz) = dc3a166d2c5ae1bdd2414f76be527d4eda129c72
+RMD160 (pymongo-3.12.0.tar.gz) = c3dd260ab97220f87102aad2fae40fadeacbc0b5
+SHA512 (pymongo-3.12.0.tar.gz) = bfd3e6ec401052320c9e5099d5422dfbecd2fe212f1471bce92262f975e65864a69c24afebf39a9f74d04f601ff0684241e74bee3960900488396ea994a6db35
+Size (pymongo-3.12.0.tar.gz) = 818554 bytes
Home |
Main Index |
Thread Index |
Old Index