Shane Harvey
25a9b98cb3
BUMP 3.10.0
2019-12-10 10:51:31 -08:00
Tim Gates
2e36161e38
Fix simple typo: overidden -> overridden ( #432 )
2019-12-10 10:08:54 -08:00
Mark Benvenuto
1d71968c76
PYTHON-2064 Collect crash dumps from mongo-orchestration ( #431 )
2019-12-10 10:05:51 -08:00
Shane Harvey
a7c3738785
Update changelog for 3.10 release
2019-12-05 14:00:32 -08:00
Prashant Mital
04a51ed57a
PYTHON-2074 Correctly mock the MonitorBase API
2019-12-05 10:01:53 +05:30
Prashant Mital
ed4204f237
PYTHON-1954 Stop holding the topology lock while creating new connections
2019-12-05 09:58:58 +05:30
Shane Harvey
228f716570
PYTHON-2059 Do not send readPreference with OP_MSG getMore commands
2019-12-03 12:29:01 -08:00
Shane Harvey
895b66272e
PYTHON-2070 Migrate MongoDB 4.3+ Windows testing to Windows 2016+
...
MongoDB 4.4 requires a minimum of Windows 10 / Server 2016.
2019-12-03 12:27:11 -08:00
Shane Harvey
23a62433b6
PYTHON-1660 Clear MongoClient session pool after a fork
...
Note that a MongoClient instance is still not fork-safe. This change
avoids "Cannot start transaction X on session <SID> because a newer
transaction Y has already started" errors and other incorrect command
results caused by duplicate sessions in the child process.
2019-12-03 11:51:13 -08:00
Shane Harvey
94cb6acc09
PYTHON-1966 Test with custom default encoding on Python 2
2019-12-02 12:32:37 -08:00
Shane Harvey
eda4fbb159
PYTHON-2043 Spawn mongocryptd as a daemon process and silence resource warnings
2019-11-22 16:13:54 -08:00
Shane Harvey
e627321c2e
PYTHON-1966 Fix unicode(PyMongoError) on Python 2
2019-11-22 15:17:56 -08:00
paul fisher
6c4e1c9371
PYTHON-2061 bson: check for negative entry size in decode_file_iter ( #429 )
...
Raise InvalidBSON instead of ValueError when decode_file_iter reads an invalid
BSON object size.
2019-11-22 14:57:00 -08:00
Prashant Mital
b8ce14dfd2
PYTHON-2063 Fix faulty command construction in failpoint context manager
2019-11-21 16:24:19 -08:00
Shane Harvey
ec4b02052d
PYTHON-1993 Use dochub for stable CSFLE documentation links
2019-11-21 12:15:12 -08:00
Prashant Mital
e31a0ef95f
PYTHON-1911 Implement missing changeStream prose tests
2019-11-20 19:46:07 -08:00
Shane Harvey
d0423d2d53
PYTHON-1993 Add client-side field level encryption documentation examples
...
Specify pymongocrypt<2.0.0 in setup.py for compatibility.
2019-11-20 15:42:32 -08:00
Bernie Hackett
849a415356
PYTHON-2002 Re-enable dns/srv tests
2019-11-18 17:41:42 -08:00
Shane Harvey
083c2474da
PYTHON-2055 Subtract message header from compressed bulk OP_MSG
...
This change prevents pymongo from generating a bulk OP_COMPRESSED/OP_MSG
with an uncompressed message larger than the server's limit of
maxMessageSizeBytes - 16.
2019-11-14 16:24:08 -08:00
Prashant Mital
1fdfb9864b
PYTHON-2054 Remove unused example TestTransactionExamples.test_transactions_beta
2019-11-14 13:29:45 -08:00
Bernie Hackett
d37540ae15
PYTHON-2053 Test with pypy3.6
2019-11-13 14:17:50 -08:00
Bernie Hackett
bfdf48edfa
PYTHON-2009 Add Python 3.8 to trove classifiers
2019-11-13 08:21:45 -08:00
Bernie Hackett
4cbbd85c4c
PYTHON-2009 Test with Python 3.8 in Evergreen
2019-11-13 08:17:18 -08:00
Shane Harvey
a3556c4447
PYTHON-2012 Update FLE to support commands larger than 6MiB
...
Bulk write command are batched at 2MiB when auto encryption is enabled.
2019-11-12 15:24:09 -08:00
Prashant Mital
c65367b8f0
PYTHON-1972 Add example usage for withTransaction API
2019-11-11 16:06:57 -08:00
Shane Harvey
9cf0fbd785
PYTHON-2001 Fix warnings emitted by Python 3.8 ( #428 )
...
Fix DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats
Fix DeprecationWarning: isAlive() is deprecated, use is_alive() instead
Fix SyntaxWarning: invalid escape sequence
Test Python 3.8 on Travis
2019-11-08 11:48:15 -08:00
Shane Harvey
bbf55d6da5
PYTHON-2039 Avoid shadowing dns module in srv tests
2019-11-06 10:42:45 -08:00
Shane Harvey
55f8df2141
PYTHON-2002 Skip failing dnspython seedlist tests on Python 2
2019-11-05 16:54:00 -08:00
Shane Harvey
13d559b6d4
PYTHON-2002 Skip failing dnspython SRV polling tests on Python 2
2019-11-05 16:24:08 -08:00
Shane Harvey
b572600821
PYTHON-2012 FLE GA changes ( #427 )
...
Silence mongocryptd output, users should provide logging options via mongocryptd_spawn_args instead.
Document 'endpoint' support in create_data_key.
Document that create_data_key returns a Binary with UUID subtype.
Add custom endpoint prose test.
Resync encryption spec tests.
Check command started events in Data key and double encryption prose test.
2019-11-05 14:45:30 -08:00
Prashant Mital
f62c53f472
PYTHON-2020 Make ClientSession._in_transaction a public property
2019-11-01 16:58:38 -07:00
Shane Harvey
9a882245b1
PYTHON-2025 Remove unused tox and appveyor configs
2019-11-01 13:09:34 -07:00
Maciej "RooTer" Urbański
08e839070b
Test against Python 3.7 on Travis ( #426 )
2019-11-01 11:38:24 -07:00
Shane Harvey
c25a83aee4
PYTHON-2007 Fix pymongocrypt install error message
2019-10-31 16:14:57 -07:00
Shane Harvey
ad0e87c0e0
PYTHON-2022 Fix potential UnboundLocalError in gridfs test
2019-10-28 14:53:52 -07:00
Shane Harvey
560415666a
PYTHON-2023 Use $merge to non-admin db to fix db.aggregate write concern test
2019-10-25 15:56:47 -07:00
Anders Kaseorg
bb18da769c
PYTHON-2001 Fix Python 3.8 SyntaxWarning: "is not" with a literal ( #425 )
...
Fixes this warning from Python 3.8:
bson/json_util.py:702: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if doc['$minKey'] is not 1:
bson/json_util.py:711: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if doc['$maxKey'] is not 1:
2019-10-24 14:08:08 -05:00
Shane Harvey
502b59898e
PYTHON-2006 Fix DuplicateKeyError in custom types test
2019-10-16 15:52:52 -07:00
Shane Harvey
3236994c81
SPEC-1464 Workaround for unordered JSON parsing in FLE test
2019-10-04 16:22:39 -07:00
Shane Harvey
bce43939c9
PYTHON-1996 Add require_test_commands tests that use failpoints
2019-10-04 14:59:41 -07:00
Shane Harvey
efb89583f3
PYTHON-1995 Resync encryption spec tests to 71518175e8bd5ee36fc35a7529b65f9d248b1c83
2019-10-04 14:47:12 -07:00
Shane Harvey
802de40e0d
PYTHON-1918 Fix decoding perf test
2019-09-12 16:53:38 -07:00
Prashant Mital
ef3df1663c
PYTHON-1918 Stop using BSON.encode and BSON.decode functions
2019-09-09 18:06:46 -07:00
Prashant Mital
7d8ade1ff9
BUMP 3.10.0.dev0
2019-08-20 10:17:40 -07:00
Bernie Hackett
e152e9eafa
BUMP 3.9.0
2019-08-13 18:05:10 -07:00
Bernie Hackett
5847b34f68
Claim support for MongoDB 4.2
2019-08-13 15:20:02 -07:00
Bernie Hackett
1a7502c08a
Fix up changelog and docs for 3.9.0 release
2019-08-13 14:19:29 -07:00
Shane Harvey
55c8bdd346
PYTHON-1939 Add prose tests for BSON size limits and batch splitting
2019-08-13 13:35:55 -07:00
Shane Harvey
94e2b103f1
PYTHON-1959 Use read/writeConcern majority for key vault operations
2019-08-13 11:11:46 -07:00
Shane Harvey
af0f6fd264
PYTHON-1955 Uninstall pymongocrypt after test suite
2019-08-13 11:01:54 -07:00