Noah Stapp
37243035ac
Merge branch 'master' into backpressure
2026-03-12 15:40:57 -04:00
Noah Stapp
f533157981
Python 4542 - Improved sessions API ( #2712 )
2026-03-05 09:04:37 -07:00
Steven Silvester
9c70be4b7a
Merge branch 'master' of github.com:mongodb/mongo-python-driver into backpressure
2026-02-04 12:15:36 -06:00
Steven Silvester
8dbf90372b
PYTHON-5528 & PYTHON-5651 Add exponential backoff to operation retry loop for server overloaded errors ( #2635 )
...
Co-authored-by: Kevin Albertson <kevin.albertson@mongodb.com>
Co-authored-by: Casey Clements <caseyclements@users.noreply.github.com>
2026-02-04 12:12:42 -06:00
Noah Stapp
543c4e532c
PYTHON-1357 - Refactor Cursor and CommandCursor ( #2691 )
2026-02-02 08:47:26 -05:00
Steven Silvester
84699d284b
Merge branch 'master' of github.com:mongodb/mongo-python-driver into backpressure
2026-01-14 10:41:43 -06:00
Jib
60289f0398
PYTHON-5433 (hotfix): Fix typing check for sbom requirements file ( #2655 )
2025-12-17 20:37:58 -06:00
Jib
f9f48bab95
PYTHON-5433: Create an sbom-requirements.txt file to capture optional dependencies ( #2649 )
2025-12-16 14:29:15 -05:00
Steven Silvester
0010325aa8
PYTHON-5536 Avoid clearing the connection pool when the server connection rate limiter triggers ( #2509 )
...
Co-authored-by: Iris <58442094+sleepyStick@users.noreply.github.com>
Co-authored-by: Noah Stapp <noah.stapp@mongodb.com>
Co-authored-by: Shane Harvey <shnhrv@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
PYTHON-5629 Increase max overload retries from 3 to 5 and initial delay from 50ms to 100ms (#2599 )
PYTHON-5517 Simplify pool backpressure behavior (#2611 )
synchro
update network_layer
update pool shared
update pool shared
update run-tests
2025-11-24 12:13:40 -06:00
Shane Harvey
c6526f8411
PYTHON-5504 Prototype exponential backoff in with_transaction ( #2492 )
...
PYTHON-5505 Prototype system overload retry loop for all operations (#2497 )
All commands that fail with the "Retryable" error label will be retried up to 3 times.
When the error includes the "SystemOverloaded" error label we apply exponential
backoff with jitter before attempting a retry.
PYTHON-5506 Prototype adaptive token bucket retry (#2501 )
Add adaptive token bucket based retry policy.
Successfully completed commands deposit 0.1 token.
Failed retry attempts consume 1 token.
A retry is only permitted if there is an available token.
Token bucket starts full with the maximum 1000 tokens.
PYTHON-5505 Use proper RetryableError and SystemOverloadedError labels
2025-11-24 11:27:39 -06:00
Noah Stapp
5f00966f9c
[TASK]-[PYTHON-5623]: Change with_transaction callback return type to Awaitable ( #2594 )
...
Co-authored-by: Logan Pulley <logan@pulley.host>
2025-10-29 14:31:25 -04:00
Steven Silvester
67384f0f08
PYTHON-5550 Add a test that uses uvloop as the event loop ( #2543 )
2025-09-30 12:30:00 -05:00
Steven Silvester
dba0aa94ad
PYTHON-5472 Remove driver tests for Atlas Data Lake ( #2542 )
2025-09-17 08:15:32 -05:00
Steven Silvester
7a07c02814
PYTHON-5544 Revert changes to base protocol layer ( #2535 )
2025-09-16 09:16:31 -05:00
Steven Silvester
e4b7eb52e6
PYTHON-5215 Add an asyncio.Protocol implementation for KMS ( #2460 )
2025-08-19 08:45:24 -05:00
Steven Silvester
ffb372aec7
PYTHON-5027 Test Windows with Python 3.14t ( #2444 )
2025-07-24 13:20:19 -05:00
Iris
65f7c54208
PYTHON-5344 and PYTHON-5403 Allow Instantiated MongoClients to Send Client Metadata On-Demand ( #2358 )
2025-06-24 09:34:53 -07:00
Noah Stapp
50ea82310d
PYTHON 5212 - Use asyncio.loop.sock_connect in _async_create_connection ( #2383 )
2025-06-13 15:30:10 -04:00
Jeffrey A. Clark
dfd5573c19
PYTHON-5002 Include test/ dir in synchro gaurd ( #2379 )
2025-06-11 15:54:32 -04:00
Noah Stapp
536b1cb8ab
PYTHON-5406 - AsyncPeriodicExecutor must reset CSOT contextvars befor… ( #2360 )
2025-06-06 13:17:36 -04:00
Noah Stapp
1366b9132e
PYTHON-5394 - Add native async support for OIDC ( #2352 )
2025-05-28 15:44:54 -04:00
Iris
c3e3373df2
PYTHON-5309 Ensure AsyncMongoClient doesn't use PyOpenSSL ( #2286 )
...
Co-authored-by: Noah Stapp <noah@noahstapp.com>
2025-04-24 16:19:09 -07:00
Noah Stapp
09897b698e
PYTHON-5212 - Do not hold Topology lock while resetting pool ( #2301 )
2025-04-23 15:13:38 -04: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
Steven Silvester
02fc85f635
PYTHON-5239 Audit bash scripts for consistency ( #2238 )
2025-03-31 19:27:56 -05: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
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
34ca759f85
PYTHON-5113 - Refactor test utils for async ( #2149 )
2025-03-12 12:59:56 -04:00
Iris
150a3ba756
PYTHON-5078 Convert test.test_discovery_and_monitoring to async ( #2093 )
...
Co-authored-by: Noah Stapp <noah@noahstapp.com>
2025-03-03 10:14:04 -08:00
Iris
c9a85ad321
PYTHON-5090 Convert test.test_monitor to async ( #2106 )
2025-02-27 08:05:23 -08:00
Steven Silvester
f27e8e123a
PYTHON-5149 Convert run-tests.sh to a Python script ( #2155 )
2025-02-24 09:14:10 -06:00
Iris
f32e2bc372
PYTHON-5075 Convert test.test_csot to async ( #2088 )
...
Co-authored-by: Noah Stapp <noah@noahstapp.com>
Co-authored-by: Noah Stapp <noah.stapp@mongodb.com>
2025-02-19 11:21:51 -08:00
Noah Stapp
338b7dcd49
PYTHON-5092 - Convert test.test_pooling to async ( #2145 )
2025-02-13 13:01:42 -08:00
Iris
42d7ec2749
PYTHON-5082 Convert test.test_gridfs_bucket to async ( #2143 )
2025-02-11 14:07:47 -08:00
Iris
0e6aa6fa15
PYTHON-5073 Convert test.test_connection_monitoring to async ( #2087 )
2025-02-11 14:01:39 -08:00
Iris
61c3ddda82
PYTHON-5100 Convert test.test_server_selection to async ( #2120 )
2025-02-11 10:58:49 -08:00
Iris
1f7f8a9e0f
PYTHON-5081 Convert test.test_gridfs to async ( #2099 )
2025-02-11 10:27:43 -08:00
Iris
13fa361421
PYTHON-5101 Convert test.test_server_selection_in_window to async ( #2119 )
...
Co-authored-by: Noah Stapp <noah@noahstapp.com>
2025-02-11 10:11:41 -08:00
Noah Stapp
b94dd8e12b
PYTHON-4745 - Test behavior of async task cancellation ( #2136 )
2025-02-10 16:50:40 -05:00
Iris
a1a21099ed
PYTHON-5089 Convert test.test_mongos_load_balancing to async ( #2107 )
...
Co-authored-by: Noah Stapp <noah.stapp@mongodb.com>
2025-02-06 10:29:16 -08:00
Iris
25c9b90842
PYTHON-5099 Convert test.test_sdam_monitoring_spec to async ( #2117 )
2025-02-06 10:24:37 -08:00
Noah Stapp
3dd44e6e5f
PYTHON-5087 - Convert test.test_load_balancer to async ( #2103 )
2025-02-06 10:07:24 -05:00
Noah Stapp
f344eb7965
PYTHON-5109 - Convert test.test_versioned_api to async ( #2129 )
2025-02-05 12:14:12 -05:00
Noah Stapp
ac8fa2d645
PYTHON-5094 - Convert test.test_read_preferences to async ( #2110 )
2025-02-05 12:13:56 -05:00
Noah Stapp
7108c2199d
PYTHON-5108 - Convert test.test_transactions_unified to async ( #2128 )
2025-02-05 12:11:03 -05:00
Noah Stapp
02d6cc9cfd
PYTHON-5107 - Convert test.test_streaming_protocol to async ( #2126 )
2025-02-05 12:10:44 -05:00
Noah Stapp
7a4150ac17
PYTHON-5080 - Convert test.test_examples to async ( #2097 )
2025-02-05 08:48:54 -05:00
Iris
8ae9a0432a
PYTHON-5102 Convert test.test_server_selection_logging to async ( #2121 )
...
Co-authored-by: Noah Stapp <noah@noahstapp.com>
2025-02-04 10:31:11 -08:00
Iris
2c492155a6
PYTHON-5103 Convert test.test_server_selection_rtt to async ( #2122 )
...
Co-authored-by: Noah Stapp <noah@noahstapp.com>
2025-02-04 10:30:35 -08:00