Commit Graph

5143 Commits

Author SHA1 Message Date
Steven Silvester
3eb316ed30 BUMP 4.3.0 2022-10-13 17:06:55 -05:00
Steven Silvester
f79b90992e
PYTHON-3453 Fix handling of enterprise auth vars (#1076) 2022-10-13 17:01:52 -05:00
Steven Silvester
f3fc409e24
PYTHON-3474 Document changes to AWS Credential Handling (#1077) 2022-10-13 16:44:43 -05:00
Steven Silvester
df77653ccc
PYTHON-3347 Test against Python 3.11 prerelease (#1069) 2022-10-13 06:09:23 -05:00
Julius Park
4e11bdaa3e
PYTHON-3445 Fix documentation for with_options (#1075) 2022-10-12 15:30:37 -07:00
Julius Park
438539eaa2
PYTHON-3445 Improve documentation for with_options (#1074) 2022-10-12 13:59:51 -07:00
Steven Silvester
4a5e0f6655
PYTHON-3313 Cache AWS Credentials Where Possible (#982) 2022-10-12 10:21:06 -05:00
Steven Silvester
775c0203ca
PYTHON-3453 Test failure - Enterprise Auth Windows 64 Python 3.7 (#1072) 2022-10-11 14:16:08 -05:00
Steven Silvester
24a343b830
PYTHON-3468 Test failures in test_srv_polling.TestSrvPolling (#1073) 2022-10-11 14:14:59 -05:00
Shane Harvey
8abeb882b4
PYTHON-3452 Skip SDAM test that relies on retryWrites on MMAPv1 (#1071) 2022-10-10 12:48:42 -07:00
Julius Park
eaf0e6d84f
PYTHON-3445 Improve documentation for custom readPreference tags (#1068) 2022-10-07 12:05:20 -07:00
Shane Harvey
774154e934
PYTHON-3451 Stop passing bytes to getaddrinfo to fix eventlet support (#1066) 2022-10-05 14:34:59 -07:00
Shane Harvey
85f0987e1d PYTHON-3400 Only use new electionId/setVersion logic on 6.0+ 2022-10-05 13:02:15 -07:00
Shane Harvey
64d7d6da8a PYTHON-2970 Prioritize electionId over setVersion for stale primary check (#845) 2022-10-05 13:02:15 -07:00
Shane Harvey
c9ac5a5cf8
PYTHON-3447 Add back empty tls extra to avoid pip warnings (#1065) 2022-09-28 16:00:15 -07:00
Julius Park
c874c96e29
PYTHON-3232 Improved change stream event visibility for C2C Replication (#1062) 2022-09-27 15:31:20 -07:00
Julius Park
2af12e6463
PYTHON-3444 MyPy Errors With Version 0.981 (#1063) 2022-09-26 15:48:48 -07:00
Steven Silvester
449cb8fb0f
PYTHON-2722 Improve performance of find/aggregate_raw_batches (#1047) 2022-09-22 15:14:40 -05:00
Max Zhenzhera
0143881f02
PYTHON-3441 Add missing pool_ready method in monitoring docs example (#1060) 2022-09-19 13:19:14 -07:00
Steven Silvester
eb028d0195
PYTHON-3420 Update ChangeStreamEvent type definition to include clusterTime (#1057) 2022-09-16 13:41:06 -05:00
Julius Park
dcb1327395
PYTHON-3423 Make dnspython a required dependency (#1055) 2022-09-15 13:31:45 -07:00
Shane Harvey
179efda312
PYTHON-3406 Reinstate warning and docs that PyMongo is not fork safe (#1050)
Log child process C-level stacks when fork tests deadlock.
Encode hostname to bytes to avoid getaddrinfo importlib deadlock.
2022-09-13 14:14:53 -07:00
Steven Silvester
b8cb1c1cf0
PYTHON-3413 Skip EC2 test on Windows (#1054) 2022-09-13 15:30:56 -05:00
Steven Silvester
1019c91bf6
PYTHON-3424 PyMongo Universal Wheels Are Improperly Compiled (#1051) 2022-09-12 19:14:50 -05:00
Steven Silvester
e3ff041b47
PYTHON-3433 Failure: test.test_encryption.TestSpec.test_legacy_maxWireVersion_operation_fails_with_maxWireVersion___8 (#1052) 2022-09-09 16:28:15 -05:00
Steven Silvester
78256368c7
PYTHON-3411 Stop testing MongoDB 6.0 on Amazon1 2018 (#1049) 2022-08-29 17:33:00 -05:00
Steven Silvester
0f135a157e
PYTHON-3413 Ensure AWS EC2 Credential Test is Running Properly (#1048) 2022-08-25 20:16:39 -05:00
Shane Harvey
1575e53ef7
PYTHON-3409 Retry flakey CSOT tests twice (#1046) 2022-08-22 16:19:30 -07:00
Julius Park
9ff0ac8a62
PYTHON-3407 macos release failing on Python 3.8 AttributeError: 'Distribution' object has no attribute 'convert_2to3_doctests' (#1044) 2022-08-22 15:05:39 -07:00
Shane Harvey
1e6b4a48d4
PYTHON-3406 Log traceback when fork() test encounters a deadlock (#1045)
Co-authored-by: Ben Warner <ben.warner@mongodb.com>
2022-08-22 14:16:27 -07:00
Shane Harvey
7f19186cac
PYTHON-3406 Refactor fork tests to print traceback on failure (#1042) 2022-08-18 17:06:02 -07:00
Shane Harvey
a0a5c7194d
PYTHON-3405/PYTHON-2531 Fix tests for primary step down (#1041) 2022-08-18 15:38:09 -07:00
Ben Warner
09aeef0f9d
Changelog 4.3 (#1038) 2022-08-18 15:30:45 -07:00
Shane Harvey
cfc99c82f3
PYTHON-3402 Fix TestRewrapWithSeparateClientEncryption (#1040) 2022-08-18 14:01:35 -07:00
Ben Warner
dd3b4b11d2
PYTHON-3403 Skips unit test if eventlent or gevent is imported (#1039) 2022-08-18 12:15:44 -07:00
Ben Warner
4170dc958e
PYTHON-3393 Added fork-safety stress test. (#1036) 2022-08-16 10:40:28 -07:00
Julius Park
6d2e27a1b7
PYTHON-3355 Test with consistent versions of crypt_shared and server (#1033) 2022-08-15 21:18:44 -07:00
Ben Warner
a20ff68d51
PYTHON-3390 Test for encrypted client post-fork (#1037) 2022-08-15 12:07:49 -07:00
Steven Silvester
c0dadcb6ca
PYTHON-3385 Add prose test for RewrapManyDataKey (#1034) 2022-08-12 13:53:07 -05:00
Ben Warner
3204290e93
PYTHON-2484 Added lock sanitization for MongoClient and ObjectId (#985) 2022-08-04 16:58:56 -07:00
Ben Warner
46673c3705
PYTHON-3379 Refactored DatetimeConversionOpts to DatetimeConversion (#1031) 2022-08-04 12:53:57 -07:00
Ben Warner
92a6fa79b6
PYTHON-3376/PYTHON-3378 Update FAQ about OverflowError when decoding out of range datetimes (#1025) 2022-08-03 16:53:50 -07:00
Shane Harvey
13e2715af0
PYTHON-3312 Convert SDAM integration tests to unified (#1028) 2022-08-03 15:34:16 -07:00
Shane Harvey
5b85ad2bcf
PYTHON-3391 Skip unsupported CSOT tests on serverless (#1030) 2022-08-03 13:30:41 -07:00
Shane Harvey
7c19ff7f7a
PYTHON-3389 Close ChangeStream after non-resumable non-timeout errors (#1029) 2022-08-03 12:23:50 -07:00
Ben Warner
fbb8dde826
PYTHON-3375 Added docstrings to DatetimeConversionOpts (#1024)
* Added docstrings

* Fixed detail

* Fixed punctuation and links

Co-authored-by: Ben Warner <ben.warner@mongodb.com>
2022-07-29 15:53:38 -07:00
Shane Harvey
1166bb96cd
PYTHON-3382 Resync csfle tests (#1027) 2022-07-29 15:39:11 -07:00
Ben Warner
3c18c20795
PYTHON-3377 datetime_ms documentation page is empty (#1026)
Co-authored-by: Ben Warner <ben.warner@mongodb.com>
2022-07-29 12:07:04 -07:00
Ben Warner
0c56d56658
PYTHON-3371 Remove DatetimeConversionOpts.__repr__ (#1023)
* Removed __repr__ and adjusted repr string

* Changed to %s

Co-authored-by: Ben Warner <ben.warner@mongodb.com>
2022-07-28 15:55:34 -07:00
Ben Warner
14002a5a0d
PYTHON-1824 Allow encoding/decoding out-of-range datetimes via DatetimeMS and datetime_conversion (#981)
https://jira.mongodb.org/browse/PYTHON-1824

Co-authored-by: Ben Warner <ben.warner@mongodb.com>
2022-07-27 16:53:52 -07:00