From 1b313641cbae94d66747c6773bff78fd3f9fc68b0e65033709bda6319e1e8c7f Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Tue, 3 Sep 2013 07:27:19 +0000 Subject: [PATCH] Accepting request 197134 from home:dirkmueller:branches:devel:languages:python - update to 2.6: - The ``max_pool_size`` option for :class:`~pymongo.mongo_client.MongoClient` and :class:`~pymongo.mongo_replica_set_client.MongoReplicaSetClient` now actually caps the number of sockets the pool will open concurrently. Once the pool has reached :attr:`~pymongo.mongo_client.MongoClient.max_pool_size` operations will block waiting for a socket to become available. If ``waitQueueTimeoutMS`` is set, an operation that blocks waiting for a socket will raise :exc:`~pymongo.errors.ConnectionFailure` after the timeout. By default ``waitQueueTimeoutMS`` is not set. See :ref:`connection-pooling` for more information. - The :meth:`~pymongo.collection.Collection.insert` method automatically splits large batches of documents into multiple insert messages based on :attr:`~pymongo.mongo_client.MongoClient.max_message_size` - Support for the exhaust cursor flag. See :meth:`~pymongo.collection.Collection.find` for details and caveats. - Support for the PLAIN and MONGODB-X509 authentication mechanisms. See :doc:`the authentication docs ` for more information. - Support aggregation output as a :class:`~pymongo.cursor.Cursor`. See :meth:`~pymongo.collection.Collection.aggregate` for details. OBS-URL: https://build.opensuse.org/request/show/197134 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymongo?expand=0&rev=22 --- pymongo-2.5.2.tar.gz | 3 --- pymongo-2.6.tar.gz | 3 +++ python-pymongo.changes | 24 ++++++++++++++++++++++++ python-pymongo.spec | 4 ++-- 4 files changed, 29 insertions(+), 5 deletions(-) delete mode 100644 pymongo-2.5.2.tar.gz create mode 100644 pymongo-2.6.tar.gz diff --git a/pymongo-2.5.2.tar.gz b/pymongo-2.5.2.tar.gz deleted file mode 100644 index eb78684..0000000 --- a/pymongo-2.5.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:84ac1da67d0dabc711fa8259324d4e94b26a85411bcf0c12dc80a427d9f93ecc -size 303234 diff --git a/pymongo-2.6.tar.gz b/pymongo-2.6.tar.gz new file mode 100644 index 0000000..854386b --- /dev/null +++ b/pymongo-2.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0397584348e5b9efa678878ef686ea3bb77f9b83e634480033ce67467d43675a +size 322457 diff --git a/python-pymongo.changes b/python-pymongo.changes index 629ced2..0aee9d2 100644 --- a/python-pymongo.changes +++ b/python-pymongo.changes @@ -1,3 +1,27 @@ +------------------------------------------------------------------- +Mon Sep 2 15:40:35 UTC 2013 - dmueller@suse.com + +- update to 2.6: + - The ``max_pool_size`` option for :class:`~pymongo.mongo_client.MongoClient` + and :class:`~pymongo.mongo_replica_set_client.MongoReplicaSetClient` now + actually caps the number of sockets the pool will open concurrently. + Once the pool has reached :attr:`~pymongo.mongo_client.MongoClient.max_pool_size` + operations will block waiting for a socket to become available. If + ``waitQueueTimeoutMS`` is set, an operation that blocks waiting for a socket + will raise :exc:`~pymongo.errors.ConnectionFailure` after the timeout. By + default ``waitQueueTimeoutMS`` is not set. + See :ref:`connection-pooling` for more information. + - The :meth:`~pymongo.collection.Collection.insert` method automatically splits + large batches of documents into multiple insert messages based on + :attr:`~pymongo.mongo_client.MongoClient.max_message_size` + - Support for the exhaust cursor flag. + See :meth:`~pymongo.collection.Collection.find` for details and caveats. + - Support for the PLAIN and MONGODB-X509 authentication mechanisms. + See :doc:`the authentication docs ` for more + information. + - Support aggregation output as a :class:`~pymongo.cursor.Cursor`. See + :meth:`~pymongo.collection.Collection.aggregate` for details. + ------------------------------------------------------------------- Thu Aug 8 14:47:50 UTC 2013 - dvaleev@suse.com diff --git a/python-pymongo.spec b/python-pymongo.spec index 1868d5e..2195ddd 100644 --- a/python-pymongo.spec +++ b/python-pymongo.spec @@ -17,7 +17,7 @@ Name: python-pymongo -Version: 2.5.2 +Version: 2.6 Release: 0 Url: http://github.com/mongodb/mongo-python-driver Summary: Python driver for MongoDB @@ -26,7 +26,7 @@ Group: Development/Languages/Python Source: http://pypi.python.org/packages/source/p/pymongo/pymongo-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel -BuildRequires: python-distribute +BuildRequires: python-setuptools #BuildRequires: python-nose Suggests: mongodb %if 0%{?suse_version} && 0%{?suse_version} <= 1110