14
0

98 Commits

Author SHA256 Message Date
0b732ccdca Accepting request 1294457 from devel:languages:python
- update to 4.11.1:
  * Fixed support for prebuilt ppc64le and s390x wheels.
  * Dropped support for Python 3.8 and PyPy 3.9.
  * Dropped support for MongoDB 3.6.
  * Dropped support for the MONGODB-CR authenticate mechanism,
    which is no longer supported by MongoDB 4.0+.
  * pymongocrypt>=1.12 is now required for :ref:`In-Use
    Encryption` support.
  * Added support for free-threaded Python with the GIL disabled.
    For more information see: Free-threaded CPython. We do not
    yet support free-threaded Python on Windows (PYTHON-5027) or
    with In-Use Encryption (PYTHON-5024).
  * :attr:`~pymongo.asynchronous.mongo_client.AsyncMongoClient.ad
    dress` and :attr:`~pymongo.mongo_client.MongoClient.address`
    now correctly block when called on unconnected clients until
    either connection succeeds or a server selection timeout
    error is raised.
  * Added :func:`repr` support to
    :class:`pymongo.operations.IndexModel`.
  * Added :func:`repr` support to
    :class:`pymongo.operations.SearchIndexModel`.
  * Added sort parameter to
    :meth:`~pymongo.collection.Collection.update_one`,
    :meth:`~pymongo.collection.Collection.replace_one`,
    :class:`~pymongo.operations.UpdateOne`, and
    :class:`~pymongo.operations.UpdateMany`,
  * :meth:`~pymongo.mongo_client.MongoClient.bulk_write` and :met
    h:`~pymongo.asynchronous.mongo_client.AsyncMongoClient.bulk_w
    rite` now throw an error when ordered=True or
    verboseResults=True are used with unacknowledged writes.

OBS-URL: https://build.opensuse.org/request/show/1294457
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pymongo?expand=0&rev=46
2025-07-21 17:59:33 +00:00
f3265f70d6 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymongo?expand=0&rev=98 2025-07-18 21:21:44 +00:00
0937ac1832 - update to 4.11.1:
* Fixed support for prebuilt ppc64le and s390x wheels.
  * Dropped support for Python 3.8 and PyPy 3.9.
  * Dropped support for MongoDB 3.6.
  * Dropped support for the MONGODB-CR authenticate mechanism,
    which is no longer supported by MongoDB 4.0+.
  * pymongocrypt>=1.12 is now required for :ref:`In-Use
    Encryption` support.
  * Added support for free-threaded Python with the GIL disabled.
    For more information see: Free-threaded CPython. We do not
    yet support free-threaded Python on Windows (PYTHON-5027) or
    with In-Use Encryption (PYTHON-5024).
  * :attr:`~pymongo.asynchronous.mongo_client.AsyncMongoClient.ad
    dress` and :attr:`~pymongo.mongo_client.MongoClient.address`
    now correctly block when called on unconnected clients until
    either connection succeeds or a server selection timeout
    error is raised.
  * Added :func:`repr` support to
    :class:`pymongo.operations.IndexModel`.
  * Added :func:`repr` support to
    :class:`pymongo.operations.SearchIndexModel`.
  * Added sort parameter to
    :meth:`~pymongo.collection.Collection.update_one`,
    :meth:`~pymongo.collection.Collection.replace_one`,
    :class:`~pymongo.operations.UpdateOne`, and
    :class:`~pymongo.operations.UpdateMany`,
  * :meth:`~pymongo.mongo_client.MongoClient.bulk_write` and :met
    h:`~pymongo.asynchronous.mongo_client.AsyncMongoClient.bulk_w
    rite` now throw an error when ordered=True or
    verboseResults=True are used with unacknowledged writes.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymongo?expand=0&rev=97
2025-07-18 21:04:28 +00:00
cce4abeed2 Accepting request 1172342 from devel:languages:python
- update to 4.6.3 (bsc#1222492, CVE-2024-21506):
  * Fixed a potential memory access violation when decoding invalid
    bson.
- update to 4.6.2:
  * Fixed a bug appearing in Python 3.12 where “RuntimeError: can’t
    create new thread at interpreter shutdown” could be written to
    stderr when a MongoClient’s thread starts as the python
    interpreter is shutting down.
- update to 4.6.1:
  * Ensure retryable read OperationFailure errors re-raise
    exception when 0 or NoneType error code is provided.
- update to 4.6.0:
  * Release notes: https://www.mongodb.com/community/forums/t/pymongo-4-6-0-released/251866
- update to 4.5.0:
  * Release notes: https://www.mongodb.com/community/forums/t/pymongo-4-5-0-released/240662
- update to 4.4.1:
  * Fixed a bug where pymongo would raise a ConfigurationError:
    Invalid SRV host error when connecting to a “mongodb+srv://”
    URI that included capital letters in the SRV hosts returned
    from DNS. (PYTHON-3800).
  * Fixed a minor reference counting bug in the C extension (PYTHON-3798).
- update to 4.4.0:
  * Release notes: https://www.mongodb.com/community/forums/t/pymongo-4-4-released/232211

- Update to 4.3.3
- Update to 4.3.2
  * 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

OBS-URL: https://build.opensuse.org/request/show/1172342
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pymongo?expand=0&rev=45
2024-05-07 16:04:25 +00:00
b31c7cb513 - update to 4.6.3 (bsc#1222492, CVE-2024-21506):
* Fixed a potential memory access violation when decoding invalid
    bson.
- update to 4.6.2:
  * Fixed a bug appearing in Python 3.12 where “RuntimeError: can’t
    create new thread at interpreter shutdown” could be written to
    stderr when a MongoClient’s thread starts as the python
    interpreter is shutting down.
- update to 4.6.1:
  * Ensure retryable read OperationFailure errors re-raise
    exception when 0 or NoneType error code is provided.
- update to 4.6.0:
  * Release notes: https://www.mongodb.com/community/forums/t/pymongo-4-6-0-released/251866
- update to 4.5.0:
  * Release notes: https://www.mongodb.com/community/forums/t/pymongo-4-5-0-released/240662
- update to 4.4.1:
  * Fixed a bug where pymongo would raise a ConfigurationError:
    Invalid SRV host error when connecting to a “mongodb+srv://”
    URI that included capital letters in the SRV hosts returned
    from DNS. (PYTHON-3800).
  * Fixed a minor reference counting bug in the C extension (PYTHON-3798).
- update to 4.4.0:
  * Release notes: https://www.mongodb.com/community/forums/t/pymongo-4-4-released/232211
- Update to 4.3.3
- Update to 4.3.2
  * 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
  * directConnection URI option and keyword argument to MongoClient

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymongo?expand=0&rev=95
2024-05-07 07:32:10 +00:00
94a23f6d4f Accepting request 1092228 from devel:languages:python
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1092228
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pymongo?expand=0&rev=44
2023-06-12 13:25:43 +00:00
5e60d34f5a OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymongo?expand=0&rev=93 2023-06-11 11:34:25 +00:00
253c03042a Accepting request 1092130 from home:ecsos:python
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1092130
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymongo?expand=0&rev=92
2023-06-11 11:34:06 +00:00
06b958c11c Accepting request 1040777 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1040777
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pymongo?expand=0&rev=43
2022-12-07 16:35:06 +00:00
0b3251ac78 Accepting request 1040665 from home:yarunachalam:branches:devel:languages:python
- Update to 4.3.3 
  Version 4.3.3 documents support for the following:
  * CSFLE on-demand credentials for cloud KMS providers.
  * Authentication support for EKS Clusters.
  * Added the Client Side Operation Timeout example page to improve the documentation for pymongo.timeout().
  Bug Fixes
  * Fixed a performance regression in download_to_stream() and download_to_stream_by_name() by reading in chunks instead of line by line (PYTHON-3502).
  * Improved performance of gridfs.grid_file.GridOut.read() and gridfs.grid_file.GridOut.readline() (PYTHON-3508).

OBS-URL: https://build.opensuse.org/request/show/1040665
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymongo?expand=0&rev=90
2022-12-06 17:59:38 +00:00
7ff0fc6769 Accepting request 1032812 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1032812
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pymongo?expand=0&rev=42
2022-11-02 11:47:28 +00:00
d0270a3949 Accepting request 1032052 from home:yarunachalam:branches:devel:languages:python
- Update to 4.3.2 
  Complete Changelog https://pymongo.readthedocs.io/en/4.3.2/changelog.html

OBS-URL: https://build.opensuse.org/request/show/1032052
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymongo?expand=0&rev=88
2022-11-02 09:49:27 +00:00
9d197cb205 Accepting request 1007474 from devel:languages:python
- update to 4.2.0:
  - Support for MongoDB 6.0.
  - Support for the Queryable Encryption beta with MongoDB 6.0. Note that backwards-breaking
    changes may be made before the final release.  See :ref:`automatic-queryable-client-side-encryption` for example usage.
  - Provisional (beta) support for :func:`pymongo.timeout` to apply a single timeout
    to an entire block of pymongo operations.
  - Added the ``timeoutMS`` URI and keyword argument to :class:`~pymongo.mongo_client.MongoClient`.
  - Added the :attr:`pymongo.errors.PyMongoError.timeout` property which is ``True`` when
    the error was caused by a timeout.
  - Added the ``check_exists`` argument to :meth:`~pymongo.database.Database.create_collection`
    that when True (the default)  runs an additional ``listCollections`` command to verify that the
    collection does not exist already.
  - Added key management APIs to :class:`~pymongo.encryption.ClientEncryption`:
  - Support for the ``crypt_shared`` library to replace ``mongocryptd`` using the new
    ``crypt_shared_lib_path`` and ``crypt_shared_lib_required`` arguments to
    :class:`~pymongo.encryption_options.AutoEncryptionOpts`.
  - Fixed a bug where :meth:`~pymongo.collection.Collection.estimated_document_count`
    would fail with a "CommandNotSupportedOnView" error on views (`PYTHON-2885`_).
  - Fixed a bug where invalid UTF-8 strings could be passed as patterns for :class:`~bson.regex.Regex`
    objects. :func:`bson.encode` now correctly raises :class:`bson.errors.InvalidStringData` (`PYTHON-3048`_).
  - Fixed a bug that caused ``AutoReconnect("connection pool paused")`` errors in the child
    process after fork (`PYTHON-3257`_).
  - Fixed a bug where  :meth:`~pymongo.collection.Collection.count_documents` and
    :meth:`~pymongo.collection.Collection.distinct` would fail in a transaction with
    ``directConnection=True`` (`PYTHON-3333`_).
  - GridFS no longer uploads an incomplete files collection document after encountering an
    error in the middle of an upload fork. This results in fewer
    :class:`~gridfs.errors.CorruptGridFile` errors (`PYTHON-1552`_).
  - Renamed PyMongo's internal C extension methods to avoid crashing due to name conflicts
    with mpi4py and other shared libraries (`PYTHON-2110`_).

OBS-URL: https://build.opensuse.org/request/show/1007474
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pymongo?expand=0&rev=41
2022-10-03 11:45:42 +00:00
e69a6149a4 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymongo?expand=0&rev=86 2022-10-01 17:27:28 +00:00
c95402cd11 - update to 4.2.0:
- Support for MongoDB 6.0.
  - Support for the Queryable Encryption beta with MongoDB 6.0. Note that backwards-breaking
    changes may be made before the final release.  See :ref:`automatic-queryable-client-side-encryption` for example usage.
  - Provisional (beta) support for :func:`pymongo.timeout` to apply a single timeout
    to an entire block of pymongo operations.
  - Added the ``timeoutMS`` URI and keyword argument to :class:`~pymongo.mongo_client.MongoClient`.
  - Added the :attr:`pymongo.errors.PyMongoError.timeout` property which is ``True`` when
    the error was caused by a timeout.
  - Added the ``check_exists`` argument to :meth:`~pymongo.database.Database.create_collection`
    that when True (the default)  runs an additional ``listCollections`` command to verify that the
    collection does not exist already.
  - Added key management APIs to :class:`~pymongo.encryption.ClientEncryption`:
  - Support for the ``crypt_shared`` library to replace ``mongocryptd`` using the new
    ``crypt_shared_lib_path`` and ``crypt_shared_lib_required`` arguments to
    :class:`~pymongo.encryption_options.AutoEncryptionOpts`.
  - Fixed a bug where :meth:`~pymongo.collection.Collection.estimated_document_count`
    would fail with a "CommandNotSupportedOnView" error on views (`PYTHON-2885`_).
  - Fixed a bug where invalid UTF-8 strings could be passed as patterns for :class:`~bson.regex.Regex`
    objects. :func:`bson.encode` now correctly raises :class:`bson.errors.InvalidStringData` (`PYTHON-3048`_).
  - Fixed a bug that caused ``AutoReconnect("connection pool paused")`` errors in the child
    process after fork (`PYTHON-3257`_).
  - Fixed a bug where  :meth:`~pymongo.collection.Collection.count_documents` and
    :meth:`~pymongo.collection.Collection.distinct` would fail in a transaction with
    ``directConnection=True`` (`PYTHON-3333`_).
  - GridFS no longer uploads an incomplete files collection document after encountering an
    error in the middle of an upload fork. This results in fewer
    :class:`~gridfs.errors.CorruptGridFile` errors (`PYTHON-1552`_).
  - Renamed PyMongo's internal C extension methods to avoid crashing due to name conflicts
    with mpi4py and other shared libraries (`PYTHON-2110`_).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymongo?expand=0&rev=85
2022-10-01 13:56:59 +00:00
c802fbbd03 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
2022-07-21 09:33:09 +00:00
98a6981527 Accepting request 990390 from home:bnavigator:branches:devel:languages:python
- Conflict on python-bson
  * Same namespace
  * Different implementation (https://github.com/py-bson/bson)
- Do not wildcard collect files

OBS-URL: https://build.opensuse.org/request/show/990390
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymongo?expand=0&rev=83
2022-07-20 16:56:09 +00:00
384cb5fc1c 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
2022-07-18 11:39:16 +00:00
e6ccb98b74 Accepting request 895918 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/895918
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pymongo?expand=0&rev=39
2021-06-01 08:33:28 +00:00
99c744b5c6 Accepting request 895907 from home:pgajdos:python
- version update to 3.11.4
  - Version 3.11.4 fixes a bug where a MongoClient would mistakenly attempt to
    create minPoolSize connections to arbiter nodes (`PYTHON-2634`_).

OBS-URL: https://build.opensuse.org/request/show/895907
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymongo?expand=0&rev=80
2021-05-28 08:12:41 +00:00
601732a688 Accepting request 887877 from devel:languages:python
- update to 3.11.3:
  - Version 3.11.3 fixes a bug that prevented PyMongo from retrying writes
    after a writeConcernError on MongoDB 4.4+ (PYTHON-2452)

OBS-URL: https://build.opensuse.org/request/show/887877
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pymongo?expand=0&rev=38
2021-04-26 14:38:46 +00:00
85bd65d2e7 - update to 3.11.3:
- Version 3.11.3 fixes a bug that prevented PyMongo from retrying writes
    after a writeConcernError on MongoDB 4.4+ (PYTHON-2452)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymongo?expand=0&rev=78
2021-04-22 19:57:35 +00:00
cacc4b3ff1 Accepting request 868440 from devel:languages:python
- update to 3.11.2:
  - Fixed a memory leak caused by failing SDAM monitor checks on Python 3 (`PYTHON-2433`_).
  - Fixed a regression that changed the string representation of
    :exc:`~pymongo.errors.BulkWriteError` (`PYTHON-2438`_).
  - Fixed a bug that made it impossible to use
    :meth:`bson.codec_options.CodecOptions.with_options` and
    :meth:`~bson.json_util.JSONOptions.with_options` on some early versions of
    Python 3.4 and Python 3.5 due to a bug in the standard library implementation
    of :meth:`collections.namedtuple._asdict` (`PYTHON-2440`_).
  - Fixed a bug that resulted in a :exc:`TypeError` exception when a PyOpenSSL
    socket was configured with a timeout of ``None`` (`PYTHON-2443`_).

OBS-URL: https://build.opensuse.org/request/show/868440
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pymongo?expand=0&rev=37
2021-02-04 19:23:03 +00:00
1ba683a3b4 - update to 3.11.2:
- Fixed a memory leak caused by failing SDAM monitor checks on Python 3 (`PYTHON-2433`_).
  - Fixed a regression that changed the string representation of
    :exc:`~pymongo.errors.BulkWriteError` (`PYTHON-2438`_).
  - Fixed a bug that made it impossible to use
    :meth:`bson.codec_options.CodecOptions.with_options` and
    :meth:`~bson.json_util.JSONOptions.with_options` on some early versions of
    Python 3.4 and Python 3.5 due to a bug in the standard library implementation
    of :meth:`collections.namedtuple._asdict` (`PYTHON-2440`_).
  - Fixed a bug that resulted in a :exc:`TypeError` exception when a PyOpenSSL
    socket was configured with a timeout of ``None`` (`PYTHON-2443`_).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymongo?expand=0&rev=76
2021-02-01 18:10:58 +00:00
a6cf532afc Accepting request 850917 from devel:languages:python
- update to 3.11.1:
  - Support for Python 3.9.
  - Initial support for Azure and GCP KMS providers for client side field level
    encryption is in beta. See the docstring for
    :class:`~pymongo.mongo_client.MongoClient`,
    :class:`~pymongo.encryption_options.AutoEncryptionOpts`,
    and :mod:`~pymongo.encryption`. **Note: Backwards-breaking changes may be
    made before the final release.**
  - Fixed a bug where the :class:`bson.json_util.JSONOptions` API did not match
    the :class:`bson.codec_options.CodecOptions` API due to the absence of
    a :meth:`bson.json_util.JSONOptions.with_options` method. This method has now
    been added.
  - Fixed a bug which made it impossible to serialize
    :class:`~pymongo.errors.BulkWriteError` instances using :mod:`pickle`.
  - Fixed a bug wherein PyMongo did not always discard an implicit session after
    encountering a network error.
  - Fixed a bug where connections created in the background were not
    authenticated.
  - Fixed a memory leak in the :mod:`bson` module when using a
    :class:`~bson.codec_options.TypeRegistry`.

OBS-URL: https://build.opensuse.org/request/show/850917
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pymongo?expand=0&rev=36
2020-11-30 08:53:14 +00:00
187ed7d444 - update to 3.11.1:
- Support for Python 3.9.
  - Initial support for Azure and GCP KMS providers for client side field level
    encryption is in beta. See the docstring for
    :class:`~pymongo.mongo_client.MongoClient`,
    :class:`~pymongo.encryption_options.AutoEncryptionOpts`,
    and :mod:`~pymongo.encryption`. **Note: Backwards-breaking changes may be
    made before the final release.**
  - Fixed a bug where the :class:`bson.json_util.JSONOptions` API did not match
    the :class:`bson.codec_options.CodecOptions` API due to the absence of
    a :meth:`bson.json_util.JSONOptions.with_options` method. This method has now
    been added.
  - Fixed a bug which made it impossible to serialize
    :class:`~pymongo.errors.BulkWriteError` instances using :mod:`pickle`.
  - Fixed a bug wherein PyMongo did not always discard an implicit session after
    encountering a network error.
  - Fixed a bug where connections created in the background were not
    authenticated.
  - Fixed a memory leak in the :mod:`bson` module when using a
    :class:`~bson.codec_options.TypeRegistry`.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymongo?expand=0&rev=74
2020-11-26 08:38:18 +00:00
f31e95f20d Accepting request 824650 from devel:languages:python
- update to 3.11.0:
  * Version 3.11 adds support for MongoDB 4.4 and includes a number of bug fixes.
  * Support for OCSP (Online Certificate Status Protocol).
  * Support for PyOpenSSL as an alternative TLS implementation.
  * Support for the MONGODB-AWS authentication mechanism.
  * Support for the directConnection URI option and kwarg to MongoClient.
  * Support for speculative authentication attempts in connection handshakes which reduces the number of network roundtrips needed to authenticate new connections on MongoDB 4.4+.
  * Support for creating collections in multi-document transactions with create_collection() on MongoDB 4.4+.
  * Added index hinting support to the ReplaceOne, UpdateOne, UpdateMany, DeleteOne, and DeleteMany bulk operations.
  * Added support for bson.binary.UuidRepresentation.UNSPECIFIED and MongoClient(uuidRepresentation='unspecified') which will become the default UUID representation starting in PyMongo 4.0. See Handling UUID Data for details.
  * Added the background parameter to pymongo.database.Database.validate_collection(). For a description of this parameter see the MongoDB documentation for the validate command.
  * Added the allow_disk_use parameters to pymongo.collection.Collection.find().
  * Added the hedge parameter to PrimaryPreferred, Secondary, SecondaryPreferred, Nearest to support disabling (or explicitly enabling) hedged reads in MongoDB 4.4+.

OBS-URL: https://build.opensuse.org/request/show/824650
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pymongo?expand=0&rev=35
2020-08-13 08:14:40 +00:00
ef452d8338 - update to 3.11.0:
* Version 3.11 adds support for MongoDB 4.4 and includes a number of bug fixes.
  * Support for OCSP (Online Certificate Status Protocol).
  * Support for PyOpenSSL as an alternative TLS implementation.
  * Support for the MONGODB-AWS authentication mechanism.
  * Support for the directConnection URI option and kwarg to MongoClient.
  * Support for speculative authentication attempts in connection handshakes which reduces the number of network roundtrips needed to authenticate new connections on MongoDB 4.4+.
  * Support for creating collections in multi-document transactions with create_collection() on MongoDB 4.4+.
  * Added index hinting support to the ReplaceOne, UpdateOne, UpdateMany, DeleteOne, and DeleteMany bulk operations.
  * Added support for bson.binary.UuidRepresentation.UNSPECIFIED and MongoClient(uuidRepresentation='unspecified') which will become the default UUID representation starting in PyMongo 4.0. See Handling UUID Data for details.
  * Added the background parameter to pymongo.database.Database.validate_collection(). For a description of this parameter see the MongoDB documentation for the validate command.
  * Added the allow_disk_use parameters to pymongo.collection.Collection.find().
  * Added the hedge parameter to PrimaryPreferred, Secondary, SecondaryPreferred, Nearest to support disabling (or explicitly enabling) hedged reads in MongoDB 4.4+.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymongo?expand=0&rev=72
2020-08-06 08:46:54 +00:00
d46fbe14ca Accepting request 783016 from devel:languages:python
- update to 3.10.1:
  - Support for Client-Side Field Level Encryption with MongoDB 4.2. See
    :doc:`examples/encryption` for examples.
  - Support for Python 3.8.
  - Added :attr:`pymongo.client_session.ClientSession.in_transaction`.
  - Do not hold the Topology lock while creating connections in a MongoClient's
    background thread. This change fixes a bug where application operations would
    block while the background thread ensures that all server pools have
    minPoolSize connections.
  - Fix a UnicodeDecodeError bug when coercing a PyMongoError with a non-ascii
    error message to unicode on Python 2.
  - Fix an edge case bug where PyMongo could exceed the server's
    maxMessageSizeBytes when generating a compressed bulk write command.

OBS-URL: https://build.opensuse.org/request/show/783016
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pymongo?expand=0&rev=34
2020-03-11 17:45:19 +00:00
ec5daf1478 - update to 3.10.1:
- Support for Client-Side Field Level Encryption with MongoDB 4.2. See
    :doc:`examples/encryption` for examples.
  - Support for Python 3.8.
  - Added :attr:`pymongo.client_session.ClientSession.in_transaction`.
  - Do not hold the Topology lock while creating connections in a MongoClient's
    background thread. This change fixes a bug where application operations would
    block while the background thread ensures that all server pools have
    minPoolSize connections.
  - Fix a UnicodeDecodeError bug when coercing a PyMongoError with a non-ascii
    error message to unicode on Python 2.
  - Fix an edge case bug where PyMongo could exceed the server's
    maxMessageSizeBytes when generating a compressed bulk write command.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymongo?expand=0&rev=70
2020-03-09 16:22:00 +00:00
837511562c Accepting request 729840 from devel:languages:python
- Update to 3.9.0:
  * Update to sync with mongodb 4.2

OBS-URL: https://build.opensuse.org/request/show/729840
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pymongo?expand=0&rev=33
2019-09-23 10:04:53 +00:00
Tomáš Chvátal
bfe3537a6a - Update to 3.9.0:
* Update to sync with mongodb 4.2

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymongo?expand=0&rev=68
2019-09-10 11:57:15 +00:00
9e1b958a72 Accepting request 705616 from devel:languages:python
- Add patch to fix test run on 32bit:
  * mongodb-skip-test.patch

- Update to 3.8.0:
  * http://api.mongodb.com/python/3.8.0/changelog.html

OBS-URL: https://build.opensuse.org/request/show/705616
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pymongo?expand=0&rev=32
2019-06-18 12:43:09 +00:00
Tomáš Chvátal
6c760fa6b6 - Add patch to fix test run on 32bit:
* mongodb-skip-test.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymongo?expand=0&rev=66
2019-05-27 09:22:23 +00:00
Tomáš Chvátal
e0f4d0805f - Update to 3.8.0:
* http://api.mongodb.com/python/3.8.0/changelog.html

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymongo?expand=0&rev=65
2019-05-25 13:06:42 +00:00
c2f44ac00b Accepting request 639604 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/639604
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pymongo?expand=0&rev=31
2018-10-04 17:00:56 +00:00
Tomáš Chvátal
e0e4fd03bd Accepting request 639547 from home:alarrosa:branches:devel:languages:python:flask
Update python-pymongo to 3.7.1

OBS-URL: https://build.opensuse.org/request/show/639547
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymongo?expand=0&rev=63
2018-10-02 13:51:23 +00:00
dcc2e978bb Accepting request 624853 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/624853
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pymongo?expand=0&rev=30
2018-07-24 15:25:27 +00:00
4b05b069ce - Upgrade to 3.7.0
Version 3.7 adds support for MongoDB 4.0. More details are available
    at http://api.mongodb.com/python/3.7.0/changelog.html

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymongo?expand=0&rev=61
2018-07-16 17:02:31 +00:00
b974cbe80f Accepting request 587884 from devel:languages:python
all our platforms install this to sitearch (bsc#1085572)

OBS-URL: https://build.opensuse.org/request/show/587884
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pymongo?expand=0&rev=29
2018-03-19 22:37:53 +00:00
Thomas Bechtold
cb0d1d7865 all our platforms install this to sitearch (bsc#1085572)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymongo?expand=0&rev=59
2018-03-16 12:15:52 +00:00
9b2df26d93 Accepting request 583910 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/583910
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pymongo?expand=0&rev=28
2018-03-08 09:58:52 +00:00
Tomáš Chvátal
a8b53e1b8a Accepting request 583904 from home:aplanas:branches:devel:languages:python
Allows Recommends and Suggest in Fedora

OBS-URL: https://build.opensuse.org/request/show/583904
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymongo?expand=0&rev=57
2018-03-07 14:34:18 +00:00
00856c9d86 Accepting request 580809 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/580809
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pymongo?expand=0&rev=27
2018-03-05 12:37:31 +00:00
cf6eb82d64 Accepting request 580748 from home:aplanas:branches:devel:languages:python
- Suggests only for SUSE

OBS-URL: https://build.opensuse.org/request/show/580748
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymongo?expand=0&rev=55
2018-02-27 22:14:18 +00:00
02defea638 Accepting request 580306 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/580306
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pymongo?expand=0&rev=26
2018-02-27 15:59:22 +00:00
Tomáš Chvátal
36924363e7 Accepting request 580295 from home:oertel:branches:devel:languages:python
- fix build on ppc64 and s390x by dropping the ifarch statements
  all our platforms install this to sitearch

OBS-URL: https://build.opensuse.org/request/show/580295
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymongo?expand=0&rev=53
2018-02-26 16:59:55 +00:00
b50024f6ef 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
2018-02-23 14:31:32 +00:00
Tomáš Chvátal
9bd74f166d Accepting request 579242 from home:winski:mongodb
Update to version 3.6.0, required by newer versions of MongoDB (previous pymongo version that's currently in repo is not compatible with newer MongoDB releases)

OBS-URL: https://build.opensuse.org/request/show/579242
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymongo?expand=0&rev=51
2018-02-23 09:04:44 +00:00
2970722645 Accepting request 548008 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/548008
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pymongo?expand=0&rev=24
2017-12-22 11:18:04 +00:00