14
0
Files
python-pymongo/mongodb-skip-test.patch
Dirk Mueller e73c09f49b - 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

15 lines
576 B
Diff

Index: pymongo-3.8.0/test/test_objectid.py
===================================================================
--- pymongo-3.8.0.orig/test/test_objectid.py
+++ pymongo-3.8.0/test/test_objectid.py
@@ -172,7 +172,8 @@ class TestObjectId(unittest.TestCase):
ObjectId()
self.assertEqual(ObjectId._inc, 0)
- def test_timestamp_values(self):
+ # this test overflows on i586
+ def _test_timestamp_values(self):
# Spec-test to check timestamp field is interpreted correctly.
TEST_DATA = {
0x00000000: (1970, 1, 1, 0, 0, 0),