14
0

Accepting request 990439 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/990439
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pymongo?expand=0&rev=40
This commit is contained in:
2022-07-21 09:33:09 +00:00
committed by Git OBS Bridge
4 changed files with 53 additions and 7 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,43 @@
-------------------------------------------------------------------
Wed Jul 20 10:58:54 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Conflict on python-bson
* Same namespace
* Different implementation (https://github.com/py-bson/bson)
- Do not wildcard collect files
-------------------------------------------------------------------
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

View File

@@ -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
@@ -34,6 +35,8 @@ BuildRequires: python-rpm-macros
%if 0%{?suse_version} || 0%{?fedora_version} >= 24
Suggests: mongodb
%endif
# Same namespace, different implementation (https://github.com/py-bson/bson)
Conflicts: python-bson
%python_subpackages
%description
@@ -61,6 +64,9 @@ export CFLAGS="%{optflags}"
%files %{python_files}
%license LICENSE
%doc README.rst
%{python_sitearch}/*
%{python_sitearch}/pymongo
%{python_sitearch}/pymongo-%{version}*-info
%{python_sitearch}/bson
%{python_sitearch}/gridfs
%changelog