Commit Graph

3191 Commits

Author SHA1 Message Date
Noah Stapp
dd99f80ce3
PYTHON-5309: [v4.12] AsyncMongoClient doesn't use PyOpenSSL (#2286) (#2319)
Co-authored-by: Iris <58442094+sleepyStick@users.noreply.github.com>
2025-04-28 13:49:21 -04:00
Noah Stapp
f5836b3f6f
PYTHON-5346: [v4.12] test_init_disconnected_with_srv cannot run against sharded Topologies (#2304) (#2309) 2025-04-24 13:05:31 -05:00
Steven Silvester
38bc13db9c
PYTHON-5212 [v4.12] Do not hold Topology lock while resetting pool (#2307)
Co-authored-by: Noah Stapp <noah.stapp@mongodb.com>
2025-04-24 11:19:24 -05:00
Shane Harvey
79cb34a7b7
PYTHON-5314 [v4.12] Fix default imports for modules that worked in v4.8 (#2300) (#2303) 2025-04-23 11:34:51 -07:00
Shane Harvey
c83784610e
PYTHON-5310 [v4.12] Fix uri_parser AttributeError when used directly (#2283) (#2302)
Co-authored-by: Noah Stapp <noah.stapp@mongodb.com>
2025-04-23 10:43:11 -07:00
Steven Silvester
de0e2336cb
PYTHON-5288: [v4.12] SRV hostname validation fails when resolver and resolved hostnames are identical with three domain levels (#2276)
Co-authored-by: Jeffrey A. Clark <aclark@aclark.net>
2025-04-10 12:52:56 -05:00
Noah Stapp
708ce16961
PYTHON-4724 - Prohibit AsyncMongoClient from being used across multiple event loops (#2256) 2025-04-04 13:22:22 -04:00
Jeffrey A. Clark
1c813dc648
PYTHON-4575 Allow valid SRV hostnames with less than 3 parts (#2234) 2025-04-04 13:09:04 -04:00
Noah Stapp
e7c0814512
PYTHON-4557 - Fix write log messages for retried commands (#2260) 2025-04-03 15:33:11 -04:00
Shane Harvey
8b668898b8
PYTHON-5208 Add spec test for wait queue timeout errors do not clear the pool (#2199)
Also stop running the ping command to advance session cluster times in the unified tests.
2025-04-03 12:05:45 -07:00
Steven Silvester
61033760e5
PYTHON-5260 Fix OCSP test setup (#2254) 2025-04-02 09:53:49 -05:00
Noah Stapp
3210b175dd
PYTHON-4557 - Add log message for retried commands (#2248) 2025-04-02 08:29:23 -04:00
Noah Stapp
04ebbcde87
PYTHON-5259 - Better test assertions for error substrings (#2253) 2025-04-02 08:22:25 -04:00
Noah Stapp
e724d66bb5
PYTHON-5250 - Change streams expanded events present by default in 8.2+ (#2252) 2025-04-01 15:01:38 -04:00
Steven Silvester
894782e1b3
PYTHON-5255 Fix OIDC allowed_hosts test (#2251) 2025-04-01 12:19:06 -05:00
Steven Silvester
9ff5a1755c
PYTHON-3674 Simplify transaction options in convenient API doc example code (#2230) 2025-03-31 19:26:18 -05:00
Steven Silvester
711a45a0e9
PYTHON-4938 Clarify write concern rules in the transactions spec (#2231) 2025-03-31 19:23:32 -05:00
Noah Stapp
a3f3ec52bc
PYTHON-4946 - Add GridFSBucket.rename_by_name (#2219) 2025-03-31 14:02:06 -04:00
Noah Stapp
8675a163df
PYTHON-4947 - GridFS spec: Add performant 'delete revisions by filena… (#2218) 2025-03-31 09:07:53 -04:00
Steven Silvester
58a41ae7f5
PYTHON-4020 Drivers should unpin connections when ending a session (#2239) 2025-03-28 15:31:56 -05:00
Noah Stapp
c326161379
PYTHON-4933 - Allow drivers to set bypassDocumentValidation: false on… (#2227) 2025-03-28 15:56:37 -04:00
Noah Stapp
e51ad27d20
PYTHON-4493 - Use asyncio protocols instead of sockets for network IO (#2151)
Co-authored-by: Shane Harvey <shnhrv@gmail.com>
2025-03-28 15:02:40 -04:00
Noah Stapp
f3ca1e0372
PYTHON-4833 - Add Collection bulk_write benchmarks (#2245) 2025-03-28 13:48:46 -04:00
Steven Silvester
0c6f84642c
PYTHON-4942 & PYTHON-4936 Test that isClientError considers network errors and operations may be an empty array (#2236) 2025-03-27 13:09:09 -05:00
Steven Silvester
4e5166b29a
PYTHON-3712 Deprecate sharded-replicaset topology type and clean up redundant runOnRequirements (#2232) 2025-03-26 17:39:10 -05:00
Noah Stapp
2c1a1608f2
PYTHON-5169 - Deprecate Hedged Reads option (#2213)
Co-authored-by: Shane Harvey <shnhrv@gmail.com>
2025-03-25 17:00:19 -04:00
Iris
eea8a37257
PYTHON-3636 AsyncMongoClient should perform SRV resolution lazily (#2191)
Co-authored-by: Noah Stapp <noah@noahstapp.com>
Co-authored-by: Shane Harvey <shane.harvey@mongodb.com>
2025-03-25 13:45:06 -07:00
Noah Stapp
43fa11cb80
PYTHON-4939 - Sync CSOT runCursorCommand test (#2221) 2025-03-25 13:46:44 -04:00
Noah Stapp
fa5e637da8
PYTHON-4937 - Add support for 'number' alias in $$type operator (#2223) 2025-03-25 11:01:07 -04:00
Noah Stapp
296046cc38
PYTHON-5121 - Use canonical Extended JSON for BSON binary vector spec… (#2215) 2025-03-24 16:02:10 -04:00
Noah Stapp
df30eff390
PYTHON-5135 - Rename WriteConcernFailed code name to WriteConcernTimeout (#2214) 2025-03-24 15:37:00 -04:00
Noah Stapp
dec13a8020
PYTHON-4990 - Remove deprecated field from GridFS unified tests (#2216) 2025-03-24 14:14:53 -04:00
Noah Stapp
f77e1ac119
PYTHON-4961 - Split updateWithPipelines.yml by operation (#2217) 2025-03-24 11:45:12 -04:00
Noah Stapp
e99818df08
PYTHON-5222 - Revise assertion for unacknowledged client bulkWrite result (#2212) 2025-03-24 11:14:59 -04:00
Iris
1145c9de54
PYTHON-5046 Support $lookup in CSFLE and QE (#2210) 2025-03-20 13:55:52 -07:00
Steven Silvester
134f52ff23
PYTHON-5213 Convert AWS Lambda and Search Index tests to use new test scripts (#2205) 2025-03-19 15:58:12 -05:00
Steven Silvester
4353278dc8
PYTHON-5207 Convert mod_wsgi tests to use the new test runner (#2202) 2025-03-14 10:38:30 -05:00
Noah Stapp
e6e8650cc9
PYTHON-5144 - Add async performance benchmarks (#2188) 2025-03-13 15:08:41 -04:00
Steven Silvester
5e055eea0f
PYTHON-5206 Convert Atlas Connect and Enterprise Auth tests to use new test scripts (#2201)
Co-authored-by: Noah Stapp <noah@noahstapp.com>
2025-03-13 12:00:56 -05:00
Shane Harvey
189923f7c3
PYTHON-5198 Fix test_03_invalid_keyid (#2195) 2025-03-12 15:19:40 -07:00
Steven Silvester
6e5126d6bb
PYTHON-5196 Convert OIDC tests to use new test scripts (#2194) 2025-03-12 15:47:56 -05:00
Shane Harvey
e48365c5f1
PYTHON-5202 WaitQueueTimeoutError should not clear the pool (#2192) 2025-03-12 11:21:19 -07:00
Noah Stapp
34ca759f85
PYTHON-5113 - Refactor test utils for async (#2149) 2025-03-12 12:59:56 -04:00
Shane Harvey
7ef18af49b
PYTHON-4580 Add key_expiration_ms option for DEK cache lifetime (#2186) 2025-03-10 17:11:38 -07:00
Shane Harvey
61d435408e
PYTHON-5194 Test secondary with IPv6 literal in SDAM (#2189) 2025-03-10 14:19:16 -07:00
Casey Clements
b66a5cb673
PYTHON-5172 bugfix: Add __repr__ and __eq__ to bson.binary.BinaryVector (#2162) 2025-03-10 15:45:32 -04:00
Steven Silvester
f69e1f6f04
PYTHON-5184 Revert skip to non-lb-connection-establishment (#2185) 2025-03-06 16:53:47 -06:00
Shane Harvey
4ffebb04e9
PYTHON-5168 Use logging for client background task errors (#2166) 2025-03-05 14:05:21 -08:00
Shane Harvey
4ed621b3e7
PYTHON-5173 Adjust test_continuous_network_errors to be less flaky (#2183) 2025-03-05 13:42:36 -08:00
Shane Harvey
de09181b1c
PYTHON-4960 More informative error message for stale primary (#2115) 2025-03-05 10:30:52 -08:00