14
0

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 </examples/authentication>` 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
This commit is contained in:
Sascha Peilicke
2013-09-03 07:27:19 +00:00
committed by Git OBS Bridge
parent eb24c7144d
commit 1b313641cb
4 changed files with 29 additions and 5 deletions

View File

@@ -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