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

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:84ac1da67d0dabc711fa8259324d4e94b26a85411bcf0c12dc80a427d9f93ecc
size 303234

3
pymongo-2.6.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0397584348e5b9efa678878ef686ea3bb77f9b83e634480033ce67467d43675a
size 322457

View File

@@ -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 </examples/authentication>` 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

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