14
0

Accepting request 989816 from home:mcalabkova:branches:devel:languages:python

- Update to 4.1.1
  * PyMongo 4.0 drops support for Python 2.7, 3.4, and 3.5.
  * PyMongo 4.1 drops support for Python 3.6.0 and 3.6.1, Python 3.6.2+ is now required.
  * PyMongo 4.0 drops support for MongoDB 2.6, 3.0, 3.2, and 3.4.
  * The default uuid_representation for CodecOptions, JSONOptions, 
    and MongoClient has been changed from bson.binary.UuidRepresentation.PYTHON_LEGACY 
    to bson.binary.UuidRepresentation.UNSPECIFIED. Attempting to 
    encode a uuid.UUID instance to BSON or JSON now produces an 
    error by default. See Handling UUID Data for details.
  * Removed some arguments and functions mostly from:
    * pymongo.mongo_client.MongoClient
    * pymongo.database.Database
    * pymongo.collection.Collection
    * pymongo.mongo_client.MongoClient
    * pymongo.son_manipulator
  * directConnection URI option and keyword argument to MongoClient 
    defaults to False instead of None
  * tz_aware, an argument for JSONOptions, now defaults to False instead of True.
  * items() now returns a dict_items object rather than a list.
  * The hint option is now required when using min or max queries with find().
  * MongoClient` now raises an InvalidURI exception when it encounters 
    unescaped percent signs in username and password when parsing MongoDB URIs.
  * Enhanced connection pooling to create connections more efficiently 
    and avoid connection storms.
  * MongoClient now accepts a URI and keyword argument srvMaxHosts 
    that limits the number of mongos-like hosts a client will connect to.
  * Support for the “kmip” KMS provider for client side field level encryption.
  * Many more changes, seet the upstream changelog for details

OBS-URL: https://build.opensuse.org/request/show/989816
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymongo?expand=0&rev=82
This commit is contained in:
2022-07-18 11:39:16 +00:00
committed by Git OBS Bridge
parent 99c744b5c6
commit 384cb5fc1c
4 changed files with 39 additions and 6 deletions

View File

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

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

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

View File

@@ -1,3 +1,35 @@
-------------------------------------------------------------------
Sat Jul 16 18:05:53 UTC 2022 - Markéta Machová <mmachova@suse.com>
- Update to 4.1.1
* PyMongo 4.0 drops support for Python 2.7, 3.4, and 3.5.
* PyMongo 4.1 drops support for Python 3.6.0 and 3.6.1, Python 3.6.2+ is now required.
* PyMongo 4.0 drops support for MongoDB 2.6, 3.0, 3.2, and 3.4.
* The default uuid_representation for CodecOptions, JSONOptions,
and MongoClient has been changed from bson.binary.UuidRepresentation.PYTHON_LEGACY
to bson.binary.UuidRepresentation.UNSPECIFIED. Attempting to
encode a uuid.UUID instance to BSON or JSON now produces an
error by default. See Handling UUID Data for details.
* Removed some arguments and functions mostly from:
* pymongo.mongo_client.MongoClient
* pymongo.database.Database
* pymongo.collection.Collection
* pymongo.mongo_client.MongoClient
* pymongo.son_manipulator
* directConnection URI option and keyword argument to MongoClient
defaults to False instead of None
* tz_aware, an argument for JSONOptions, now defaults to False instead of True.
* items() now returns a dict_items object rather than a list.
* The hint option is now required when using min or max queries with find().
* MongoClient` now raises an InvalidURI exception when it encounters
unescaped percent signs in username and password when parsing MongoDB URIs.
* Enhanced connection pooling to create connections more efficiently
and avoid connection storms.
* MongoClient now accepts a URI and keyword argument srvMaxHosts
that limits the number of mongos-like hosts a client will connect to.
* Support for the “kmip” KMS provider for client side field level encryption.
* Many more changes, seet the upstream changelog for details
------------------------------------------------------------------- -------------------------------------------------------------------
Fri May 28 07:38:51 UTC 2021 - pgajdos@suse.com Fri May 28 07:38:51 UTC 2021 - pgajdos@suse.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pymongo # spec file for package python-pymongo
# #
# Copyright (c) 2021 SUSE LLC # Copyright (c) 2022 SUSE LLC
# #
# 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
@@ -16,9 +16,10 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1
Name: python-pymongo Name: python-pymongo
Version: 3.11.4 Version: 4.1.1
Release: 0 Release: 0
Summary: Python driver for MongoDB Summary: Python driver for MongoDB
License: Apache-2.0 License: Apache-2.0