14
0

Accepting request 579325 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/579325
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pymongo?expand=0&rev=25
This commit is contained in:
2018-02-23 14:31:32 +00:00
committed by Git OBS Bridge
4 changed files with 61 additions and 5 deletions

View File

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

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

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

View File

@@ -1,3 +1,59 @@
-------------------------------------------------------------------
Fri Feb 23 04:43:48 UTC 2018 - jacobwinski@gmail.com
- Update to version 3.6.0:
+ Adds support for MongoDB 3.6, drops support for CPython 3.3.
+ Drops support for MongoDB versions older than 2.6.
+ Updates:
* Support for change streams. See the
:meth:`~pymongo.collection.Collection.watch` method for details.
* Support for array_filters in
:meth:`~pymongo.collection.Collection.update_one`,
:meth:`~pymongo.collection.Collection.update_many`,
:meth:`~pymongo.collection.Collection.find_one_and_update`,
:meth:`~pymongo.operations.UpdateOne`, and
:meth:`~pymongo.operations.UpdateMany`.
* New Session API, see :meth:`~pymongo.mongo_client.MongoClient.start_session`.
* New methods :meth:`~pymongo.collection.Collection.find_raw_batches` and
:meth:`~pymongo.collection.Collection.aggregate_raw_batches` for use with
external libraries that can parse raw batches of BSON data.
* New methods :meth:`~pymongo.mongo_client.MongoClient.list_databases` and
:meth:`~pymongo.mongo_client.MongoClient.list_database_names`.
* New methods :meth:`~pymongo.database.Database.list_collections` and
:meth:`~pymongo.database.Database.list_collection_names`.
* Support for mongodb+srv:// URIs. See
:class:`~pymongo.mongo_client.MongoClient` for details.
* Index management helpers
(:meth:`~pymongo.collection.Collection.create_index`,
:meth:`~pymongo.collection.Collection.create_indexes`,
:meth:`~pymongo.collection.Collection.drop_index`,
:meth:`~pymongo.collection.Collection.drop_indexes`,
:meth:`~pymongo.collection.Collection.reindex`) now support maxTimeMS.
* Support for retryable writes and the ``retryWrites`` URI option. See
:class:`~pymongo.mongo_client.MongoClient` for details.
+ Deprecations:
* The `useCursor` option for :meth:`~pymongo.collection.Collection.aggregate`
is deprecated. The option was only necessary when upgrading from MongoDB
2.4 to MongoDB 2.6. MongoDB 2.4 is no longer supported.
* The :meth:`~pymongo.database.Database.add_user` and
:meth:`~pymongo.database.Database.remove_user` methods are deprecated. See
the method docstrings for alternatives.
+ Breaking changes:
* Starting in MongoDB 3.6, the deprecated methods
:meth:`~pymongo.database.Database.authenticate` and
:meth:`~pymongo.database.Database.logout` now invalidate all cursors created
prior. Instead of using these methods to change credentials, pass credentials
for one user to the :class:`~pymongo.mongo_client.MongoClient` at construction
time, and either grant access to several databases to one user account, or use
a distinct client object for each user.
* BSON binary subtype 4 is decoded using RFC-4122 byte order regardless
of the UUID representation. This is a change in behavior for applications
that use UUID representation :data:`bson.binary.JAVA_LEGACY` or
:data:`bson.binary.CSHARP_LEGACY` to decode BSON binary subtype 4. Other
UUID representations, :data:`bson.binary.PYTHON_LEGACY` (the default) and
:data:`bson.binary.STANDARD`, and the decoding of BSON binary subtype 3
are unchanged.
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Nov 25 17:07:57 UTC 2017 - axel.braun@gmx.de Sat Nov 25 17:07:57 UTC 2017 - axel.braun@gmx.de

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pymongo # spec file for package python-pymongo
# #
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -21,7 +21,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pymongo Name: python-pymongo
Version: 3.5.1 Version: 3.6.0
Release: 0 Release: 0
Url: http://github.com/mongodb/mongo-python-driver Url: http://github.com/mongodb/mongo-python-driver
Summary: Python driver for MongoDB Summary: Python driver for MongoDB