diff --git a/pymongo-3.11.4.tar.gz b/pymongo-3.11.4.tar.gz deleted file mode 100644 index 3b964ff..0000000 --- a/pymongo-3.11.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:539d4cb1b16b57026999c53e5aab857fe706e70ae5310cc8c232479923f932e6 -size 783122 diff --git a/pymongo-4.1.1.tar.gz b/pymongo-4.1.1.tar.gz new file mode 100644 index 0000000..68765d7 --- /dev/null +++ b/pymongo-4.1.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d7b8f25c9b0043cbaf77b8b895814e33e7a3c807a097377c07e1bd49946030d5 +size 776341 diff --git a/python-pymongo.changes b/python-pymongo.changes index 04c584a..7ae4ddc 100644 --- a/python-pymongo.changes +++ b/python-pymongo.changes @@ -1,3 +1,35 @@ +------------------------------------------------------------------- +Sat Jul 16 18:05:53 UTC 2022 - Markéta Machová + +- 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 diff --git a/python-pymongo.spec b/python-pymongo.spec index 363cdfa..6fc4a67 100644 --- a/python-pymongo.spec +++ b/python-pymongo.spec @@ -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