forked from pool/python-pymongo
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:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# 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
|
||||
Version: 3.11.4
|
||||
Version: 4.1.1
|
||||
Release: 0
|
||||
Summary: Python driver for MongoDB
|
||||
License: Apache-2.0
|
||||
|
Reference in New Issue
Block a user