Commit Graph

5099 Commits

Author SHA1 Message Date
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
Steven Silvester
e96f112d84
PYTHON-3274 Add commandStartedEvent assertions to clustered index spec tests (#1022) 2022-07-27 18:28:23 -05:00
Shane Harvey
864812d400
PYTHON-3366 Support mypy 0.971 and test with latest version (#1021)
PYTHON-3369 Use https://www.gevent.org
2022-07-25 15:25:41 -07:00
Shane Harvey
f5ac946020
PYTHON-3368 Add test that reads are not retried in a transaction (#1020) 2022-07-25 15:19:22 -07:00
Shane Harvey
925537575b
PYTHON-3284 Fix test_snapshot_query by waiting for documents to be committed to the snapshot (#1019) 2022-07-25 14:22:51 -07:00
Shane Harvey
065b02bcb3
PYTHON-3358 Skip obsolete StaleShardVersion test on 6.1.0+ (#1018) 2022-07-21 11:47:02 -07:00
Shane Harvey
c131ad8cc1
Update readme for 6.0 support (#1017) 2022-07-20 13:04:49 -07:00
Shane Harvey
e192c7f85e BUMP 4.2.1.dev0 2022-07-20 08:37:16 -07:00
Shane Harvey
9bc134cf61
BUMP 4.2 (#1016) 2022-07-20 08:33:41 -07:00
Shane Harvey
6172c00dbe
PYTHON-3362 Fix CSOT gridfs test (#1015) 2022-07-19 19:08:54 -07:00
Shane Harvey
4d4fddaf69
PYTHON-3363 Allow change stream to be resumed after a timeout (#1014)
Apply client timeoutMS to ChangeStream iteration.
2022-07-19 18:17:12 -07:00
Shane Harvey
935f926bd9
PYTHON-3362 Ignore wtimeout when timeoutMS or timeout() is configured (#1013)
Apply client timeoutMS to gridfs operations.
2022-07-19 17:46:09 -07:00
Shane Harvey
db3f2dca05
PYTHON-2459 Implement unified GridFS tests (#1012) 2022-07-19 15:01:41 -07:00
Shane Harvey
667046129a
PYTHON-3289 Apply client timeoutMS to every operation (#1011) 2022-07-18 23:22:43 -07:00
Shane Harvey
5c38676d53
PYTHON-3359 Remove Database and Collection timeout override (#1009)
Remove MongoClient.timeout in favor of client.options.timeout.
2022-07-18 19:54:45 -05:00
Shane Harvey
c43486101f
PYTHON-3291 Add PyMongoError.timeout to identify timeout related errors (#1008) 2022-07-18 15:58:20 -05:00
Julius Park
484374eb3f
PYTHON-3298 Add flag to create_collection to skip listCollections pre-check (#1006) 2022-07-18 13:40:16 -07:00
Shane Harvey
bbe364fea8
PYTHON-3294 Bump minimum pymongocrypt version to 1.3.0 (#1007) 2022-07-18 13:06:08 -05:00
Julius Park
61add4a1cf
PYTHON-3303 Upgrade encryption testing to macos 10.15+ (#1004) 2022-07-14 16:30:52 -07:00
Shane Harvey
309a7e0b3d
PYTHON-3353 Improve reliability of SDAM heartbeat error spec tests (#1005) 2022-07-14 17:09:42 -05:00
Steven Silvester
135efdd23f
PYTHON-3153 Update initial DNS seedlist discovery tests to support dedicated load balancer port (#1002) 2022-07-14 14:57:52 -05:00
Tim Gates
418130d923
docs: Fix a few typos (#1003) 2022-07-12 12:00:39 -05:00
Steven Silvester
34f3a1585c
PYTHON-3349 Don't clear entire load balanced pool when serviceId is unknown (#1001) 2022-07-11 16:11:32 -05:00
Steven Silvester
d2b95d1bf0
PYTHON-3336 Test Failure - test_load_balancer failing (#1000) 2022-07-08 19:40:25 -05:00
Julius Park
b9884f34a9
Test Failure - crypt_shared FLE tests fail on Windows/macos (#999) 2022-07-08 12:30:39 -07:00
Shane Harvey
b16533951c
PYTHON-3345 CSOT use connection handshake RTT for load balanced mode (#998) 2022-07-07 16:55:16 -07:00
Steven Silvester
b40f13bf7d
PYTHON-3311 Module "pymongo" does not explicitly export attribute "MongoClient"; implicit reexport disabled (#994) 2022-07-06 18:30:00 -05:00
Steven Silvester
c09af5876d
PYTHON-3338 Add versionadded to docs for key management APIs (#992) 2022-07-06 18:29:28 -05:00
Steven Silvester
ff1efd1ab2
PYTHON-2986 Update serverless testing for load balancer fronting single proxy (#997) 2022-07-06 17:03:58 -05:00
Steven Silvester
b8f857d19e
PYTHON-3292 Remove ElectionInProgress (216) from ResumableChangeStreamError (#996) 2022-07-06 16:59:46 -05:00
Steven Silvester
751949a22a
PYTHON-3316 Add Type Check Test for Transactions (#995) 2022-07-06 14:24:06 -05:00
Steven Silvester
256cd002d6
PYTHON-3339 Ignore Sourceforge link that is giving 403 Error (#993) 2022-07-06 14:23:14 -05:00
Shane Harvey
6acc9f64cf
PYTHON-3333 Fix bug where non-cursor read operations fail in a transaction with directConnection=True on primary (#991) 2022-07-06 11:39:41 -07:00
Shane Harvey
02de2c93e0
PYTHON-3337 Fix capped collection test on MMAPv1 (#990) 2022-07-06 11:39:07 -07:00
Julius Park
6d916d68c2
PYTHON-3315 Remove index_key_id option from ClientEncryption encrypt method (#989) 2022-07-01 12:36:12 -07:00
Steven Silvester
b37b146ac8
PYTHON-3053 Key Management API (#958) 2022-06-30 12:35:29 -05:00
Steven Silvester
0631039118
PYTHON-3319 Require contentionFactor for "Indexed" explicit encryption (#987) 2022-06-29 16:08:38 -05:00
Julius Park
bacaf7fa50
PYTHON-3309 Explicit Queryable Encryption doc example needs to utilize index_key_Id (#986) 2022-06-29 13:11:25 -07:00
Steven Silvester
6ed38529e8
PYTHON-3286 Update expected FLE 2 find payloads in tests (#988) 2022-06-29 15:11:13 -05:00
Julius Park
f290290261
PYTHON-3097 Language specific examples for AWS Lambda (#984) 2022-06-29 12:18:52 -07:00
Julius Park
ae71872fa9
PYTHON-3297 Test auto decryption occurs after CommandSucceeded events (#980) 2022-06-24 10:52:09 -07:00
Julius Park
1f7f46faa2
PYTHON-3282 Add comment option tests for distinct helper (#979) 2022-06-21 15:30:17 -07:00
Julius Park
3169f1fe31
PYTHON-3310 Test Failure - query_type must be str or None, not: <enum 'QueryType'> (#978) 2022-06-21 10:46:49 -07:00
Ben Warner
4ae93c4937
PYTHON-1552 Prevent uploading partial or corrupt GridFS files after an error occurs 2022-06-16 15:26:27 -07:00
Ben Warner
922e63d6e0
PYTHON-3093 Continuation of #972 (#976) 2022-06-16 11:40:09 -07:00