Commit Graph

3089 Commits

Author SHA1 Message Date
mongodb-drivers-pr-bot[bot]
c2bf5e455d
PYTHON-5198 Fix test_03_invalid_keyid (#2195) [v4.11] (#2198)
Co-authored-by: Shane Harvey <shnhrv@gmail.com>
2025-03-13 14:34:35 -07:00
mongodb-drivers-pr-bot[bot]
dc73514cba
PYTHON-5202 WaitQueueTimeoutError should not clear the pool (#2192) [v4.11] (#2196)
Co-authored-by: Shane Harvey <shnhrv@gmail.com>
2025-03-12 12:21:42 -07:00
Shane Harvey
315f3cd1b2
PYTHON-5166 Allow Database.command to run bulkWrite commands (#2164) [v4.11] (#2172) 2025-03-03 11:30:12 -08:00
Shane Harvey
a3208df5c9
PYTHON-5059 Update default maxMessageSizeBytes and maxWriteBatchSize (#2078) 2025-01-24 14:30:07 -08:00
Shane Harvey
a3cc43f60d
PYTHON-4999 Resync retryable writes tests (#2073) 2025-01-23 12:47:19 -08:00
Noah Stapp
f1af917894
PYTHON-5044 - Fix successive AsyncMongoClients on a single loop always ti… (#2065) 2025-01-22 08:49:16 -05:00
Jib
7dba1e5dd9
PYTHON-5043: Fix list[int, float] typo in binary.py (#2066) 2025-01-21 14:37:52 -05:00
Steven Silvester
2ff2fde911
PYTHON-5049 Drop support for PyPy 3.9 (#2070) 2025-01-21 12:38:02 -06:00
Noah Stapp
e4d84494c3
PYTHON-5021 - Fix usages of getaddrinfo to be non-blocking (#2059) 2025-01-17 09:46:48 -05:00
Shane Harvey
8fa6750a7e
PYTHON-5042 Resync transaction spec tests (#2058) 2025-01-16 12:14:25 -08:00
Shane Harvey
820701f15a
PYTHON-5038 Resolve certificate verify failed: Missing Authority Key Identifier (#2062) 2025-01-15 12:23:12 -08:00
Steven Silvester
ecf7ac7770
PYTHON-5013 Add NULL checks in InvalidDocument bson handling (#2049) 2025-01-13 20:34:58 -06:00
Noah Stapp
b9f4f796f1
Revert "PYTHON-4915 - Add guidance on adding _id fields to documents to CRUD spec, reorder client.bulk_write generated _id fields" (#2055)
Co-authored-by: Steven Silvester <steve.silvester@mongodb.com>
2025-01-13 09:16:28 -05:00
Steven Silvester
493fc2ab3e
PYTHON-5014 Fix handling of async socket errors in kms request (#2054) 2025-01-10 13:05:57 -06:00
Shane Harvey
6c9a20a49d
PYTHON-5014 Tests that use HTTPSConnection should only use stdlib ssl (#2053) 2025-01-10 09:32:07 -08:00
Steven Silvester
8d27699e75
PYTHON-3096 Finish implementation and tests for GSSAPI options (#1985) 2024-12-31 16:29:48 -06:00
Steven Silvester
1b89da4829
PYTHON-5006 Skip test_kms_retry when using PyOpenSSL (#2030) 2024-12-04 10:53:27 -06:00
Steven Silvester
dc34833d97
PYTHON-5005 Skip more csot tests where applicable (#2029) 2024-12-04 09:26:29 -06:00
Steven Silvester
11287e1257
PYTHON-5004 Fix handling of TEST_PATH (#2028) 2024-12-04 09:18:13 -06:00
Shane Harvey
ff2f95987f
PYTHON-2560 Retry KMS requests on transient errors (#2024) 2024-12-03 16:16:47 -08:00
Navjot
fdcbe2e622
PYTHON-1982 Update Invalid Document error message to include doc (#1854)
Co-authored-by: Navjot Singh <navjot@Navjots-Air.station>
Co-authored-by: Navjot Singh <navjot@Navjots-MacBook-Air.local>
Co-authored-by: Steven Silvester <steven.silvester@ieee.org>
2024-12-03 08:22:06 -06:00
Noah Stapp
f45b35a478
PYTHON-4996 - Ensure all async integration tests call their parent asyncSetup method (#2023) 2024-12-02 14:08:22 -05:00
Noah Stapp
0f61ebb115
PYTHON-4995 - Skip TestNoSessionsSupport tests on crypt_shared (#2022) 2024-12-02 12:35:31 -05:00
Noah Stapp
0e8d70457f
Async client uses tasks instead of threads
PYTHON-4725 - Async client should use tasks for SDAM instead of threads
PYTHON-4860 - Async client should use asyncio.Lock and asyncio.Condition
PYTHON-4941 - Synchronous unified test runner being used in asynchronous tests
PYTHON-4843 - Async test suite should use a single event loop
PYTHON-4945 - Fix test cleanups for mongoses

Co-authored-by: Iris <58442094+sleepyStick@users.noreply.github.com>
2024-11-26 16:55:27 -05:00
Noah Stapp
1c7a7fe9ec
PYTHON-4721 - Create individualized scripts for all shell.exec commands (#1997)
Co-authored-by: Jib <jib.adegunloye@mongodb.com>
2024-11-20 14:47:28 -05:00
Shane Harvey
b5f0104048
PYTHON-4980 Ignore network error on killAllSessions (#2011) 2024-11-19 15:43:28 -08:00
Shane Harvey
ddf783b69a
PYTHON-4982 Remove redundant configureFailPoint (#2012) 2024-11-19 15:43:17 -08:00
Shane Harvey
a7c1090056
PYTHON-4414 interruptInUseConnections should cancel pending connections too (#2010) 2024-11-19 10:46:57 -08:00
Shane Harvey
a3bdc133ca
PYTHON-4356 Unskip spec tests for agg $out (#2008) 2024-11-18 12:17:33 -08:00
Shane Harvey
1dd42173e1
PYTHON-4919 Resync tests for retryable writes (#2006) 2024-11-18 10:26:22 -08:00
Shane Harvey
18940030f1
PYTHON-4921 Eliminate unnecessary killCursors command when batchSize == limit (#2004) 2024-11-18 10:25:20 -08:00
Noah Stapp
72a51092cd
PYTHON-4915 - Add guidance on adding _id fields to documents to CRUD spec, reorder client.bulk_write generated _id fields (#1976) 2024-11-12 09:32:41 -05:00
Steven Silvester
6a8a805217
PYTHON-4845 Ensure ALLOWED_HOSTS is optional for Workload Usage (#1998) 2024-11-11 09:33:29 -06:00
Shane Harvey
0733c4da44
PYTHON-4925 Fix test bugs in $$matchAsDocument and $$matchAsRoot (#1988)
Fixes a bug where the driverConnectionId field was missing from "server heartbeat failed" log messages.
Avoids sending "upsert": False since various client.bulkWrite spec tests assume this field is only sent when it's True.
2024-11-05 12:19:51 -08:00
Casey Clements
466d0a188f
PYTHON-4903 Adds typing overloading to bson.binary.Binary.from_vector (#1967) 2024-11-05 10:47:36 -05:00
Steven Silvester
57fd616ace
PYTHON-4330 Add Kubernetes Support for OIDC (#1759) 2024-11-04 10:26:07 -06:00
Noah Stapp
a9caaf0d6a
PYTHON-4941 - Fix Synchronous unified test runner being used in async… (#1993) 2024-11-04 09:24:29 -05:00
Noah Stapp
6862e94d17
PYTHON-4923 - Add mixed case tests for read preference tags (#1990) 2024-11-01 13:21:17 -04:00
Noah Stapp
c680f63427
PYTHON-4917 - Test that inserts and upserts respect null _id values (#1992) 2024-11-01 13:21:07 -04:00
Noah Stapp
f3343aa952
PYTHON-4916 - URI options spec tests specify empty options when the i… (#1991) 2024-11-01 13:20:59 -04:00
Noah Stapp
260322277d
PYTHON-4926 - Skip tests with errorCodeName on Serverless (#1989) 2024-11-01 13:20:37 -04:00
Shane Harvey
32269aac1e
PYTHON-4885 Fix legacy extended JSON encoding of DatetimeMS (#1986) 2024-10-31 14:01:30 -07:00
Steven Silvester
351196b91b
PYTHON-4813 Update specification documentation links (#1977) 2024-10-30 15:46:52 -05:00
Steven Silvester
92d6a732c5
PYTHON-3906 & PYTHON-2867 Implement GSSAPI ServiceHost support and expand canonicalization options (#1983) 2024-10-30 14:06:54 -05:00
Steven Silvester
ad3292e39b
PYTHON-4922 Remove Support for MONGODB-CR Authentication (#1978) 2024-10-30 12:57:31 -05:00
Steven Silvester
9a11b78fdf
PYTHON-4209 Fix test for ensure that no error is raised for unknown auth mechanism (#1982) 2024-10-30 12:49:20 -05:00
Noah Stapp
2f1227c504
PYTHON-4807 - Specify how to handle unacknowledged+(ordered|verbose|m… (#1979) 2024-10-29 12:28:33 -04:00
Steven Silvester
dfb6a9a4f3
PYTHON-4209 Ensure that no error is raised for unknown auth mechanism (#1981) 2024-10-29 11:08:22 -05:00
Noah Stapp
00c29600de
PYTHON-4766 - Fix logic for determining whether to populate BulkWriteException.partialResult (#1980) 2024-10-29 11:34:06 -04:00
Steven Silvester
97ac3ebee2
PYTHON-4738 Skip encryption fork test (#1972) 2024-10-25 09:49:37 -05:00