Shane Harvey
0092b0af79
PYTHON-2504 Run pyupgrade 3.4.0 and ruff 0.0.265 ( #1196 )
...
pyupgrade --py37-plus bson/*.py pymongo/*.py gridfs/*.py test/*.py tools/*.py test/*/*.py
ruff --fix-only --select ALL --fixable ALL --target-version py37 --line-length=100 --unfixable COM812,D400,D415,ERA001,RUF100,SIM108,D211,D212,SIM105,SIM,PT,ANN204,EM bson/*.py pymongo/*.py gridfs/*.py test/*.py test/*/*.py
2023-05-11 15:27:17 -07:00
Steven Silvester
afd7e1c2cd
PYTHON-3460 Implement OIDC SASL mechanism ( #1138 )
2023-05-11 14:35:30 -05:00
Steven Silvester
ae83a0b8be
PYTHON-3570 Deprecate currentOp/collStats commands by 7.0 ( #1205 )
2023-05-08 11:49:05 -05:00
Shane Harvey
3d3e4dc238
PYTHON-3464 Add FaaS platform to handshake metadata ( #1204 )
...
Truncate metadata env, os, and platform fields if needed.
2023-05-04 18:24:14 -07:00
Jean-Christophe Fillion-Robin
d340710e3d
PYTHON-3703 Fix typos and add codespell pre-commit hook ( #1203 )
...
Update pre-commit config adding "codespell" hook
2023-05-03 14:47:24 -07:00
Shane Harvey
deb0566c3e
PYTHON-3614 Support Queryable Encryption protocol v2 on 7.0+ ( #1197 )
...
Resync FLE spec tests and update docs for new QE protocol on 7.0.
Add client side error for createEncryptedCollection on MongoDB < 7.0.
KMS timeout errors should always have exc.timeout==True.
PYTHON-3583 Drivers should not create the ECC collection in v2 of queryable encryption.
2023-05-01 09:16:28 -07:00
Shane Harvey
bc9029a228
PYTHON-3679 Support mypy 1.2 ( #1194 )
2023-04-28 14:27:06 -07:00
Steven Silvester
e75cfec34f
PYTHON-3686 Consolidate CodecOptions Typings ( #1199 )
2023-04-28 16:11:27 -05:00
Shane Harvey
2cc8fb1f2e
PYTHON-3672 Increase server selection timeout in more tests ( #1192 )
2023-04-14 15:35:20 -07:00
Shane Harvey
c5652336ef
PYTHON-3671 Use default server selection timeout in test setup ( #1191 )
2023-04-14 14:45:57 -07:00
Steven Silvester
f7225fda55
PYTHON-3652 Bump maxWireVersion for MongoDB 7.0 ( #1188 )
2023-04-12 10:40:44 -05:00
Michael Pacheco
3077bbf1f9
PYTHON-3657 Allow index name explicitly set to None ( #1182 )
...
Co-authored-by: Michael Pacheco <michael.dias@luizalabs.com>
2023-04-07 11:09:50 -07:00
Shane Harvey
acc6605ea1
PYTHON-3522 Increase test timeout for Windows ( #1181 )
...
Temporarily skip CSOT GridFS tests on Windows.
2023-04-05 11:24:27 -07:00
Steven Silvester
148f7877cf
PYTHON-3644 Test encryption KMS connections with stdlib ssl, not just pyopenssl ( #1178 )
2023-04-03 17:13:23 -05:00
Julius Park
25ba21770c
PYTHON-3624 Update fle2-* tests to match name requirements in SERVER-74069 ( #1169 )
2023-03-13 14:57:46 -07:00
Shane Harvey
5e203bea8d
PYTHON-3629 Actually install pymongo for Atlas connect tests ( #1168 )
2023-03-07 10:55:20 -08:00
Shane Harvey
32faa261b6
PYTHON-3616 Use minimum RTT for CSOT maxTimeMS calculation ( #1163 )
...
Require at least 2 RTT samples, otherwise use 0 as RTT. Only keep last 10 samples.
2023-02-23 11:09:11 -08:00
Julius Park
715dd34810
PYTHON-2754 Add Spec Tests For DB Names With Commas ( #1162 )
2023-02-23 10:20:17 -08:00
Steven Silvester
1f80805251
PYTHON-3607 FAIL: test_01_aws (test.test_encryption.TestKmsTLSOptions) ( #1159 )
2023-02-17 08:31:09 -06:00
Shane Harvey
c0dd24e4a7
PYTHON-3609 Stop using deprecated setDaemon api in test suite ( #1158 )
2023-02-16 15:49:00 -08:00
Steven Silvester
b63dfbe1e4
PYTHON-3533 Permit tlsDisableOCSPEndpointCheck in KMS TLS options ( #1155 )
2023-02-15 11:36:42 -06:00
Shane Harvey
1797785f99
PYTHON-3577 Fix test_session_gc on serverless ( #1153 )
2023-02-14 10:18:55 -08:00
Julius Park
05845b8038
PYTHON-3562 Type annotation of bson.json_utils.loads is incorrect (only accepts str) ( #1152 )
2023-02-10 15:28:04 -08:00
Julius Park
2e6e9a8507
PYTHON-3592 createEncryptedCollection should raise a specialized exception to report the intermediate encryptedFields ( #1148 )
2023-02-07 10:23:59 -08:00
Shane Harvey
dcbba962dd
PYTHON-3596 Guarantee a document update in retryable writes tests ( #1149 )
2023-02-07 07:35:19 -08:00
Julius Park
79ccf4e287
PYTHON-3589 createEncryptedCollection should not accept keyAltNames ( #1147 )
2023-02-03 21:10:30 -08:00
Shane Harvey
540562a606
PYTHON-3577 Fix test_aggregate_out on 4.0 replica set ( #1146 )
2023-01-31 15:22:28 -08:00
Julius Park
b492263826
PYTHON-3357 Automatically create Queryable Encryption keys ( #1145 )
2023-01-31 14:58:37 -08:00
Steven Silvester
a3720d9cea
PYTHON-3568 Intellisense highlights multiple PyMongo methods because of CodecOptions ( #1139 )
2023-01-25 09:41:23 -06:00
Julius Park
2b21e7359f
PYTHON-3582 Add specification tests for range indexes ( #1142 )
2023-01-24 21:40:18 -08:00
Julius Park
d3117ce75d
PYTHON-3280 Support for Range Indexes ( #1140 )
2023-01-24 15:33:56 -08:00
Shane Harvey
ec074010d8
PYTHON-3523 Resync unified test format tests for getnonce ( #1141 )
2023-01-24 14:38:48 -08:00
Julius Park
57f757b74c
PYTHON-3446 Do not connect to mongocryptd if shared library is loaded ( #1136 )
2023-01-17 23:14:26 -08:00
Steven Silvester
24170dd523
PYTHON-3523 Remove getNonce command usage for 6.2+ ( #1135 )
2023-01-12 12:08:53 -06:00
Julius Park
eaea70bf08
DRIVERS-2369 Disable causal consistency in implicit sessions ( #1132 )
2023-01-10 15:49:46 -08:00
Steven Silvester
f5d09e1c97
PYTHON-3542 Test Failure - test_iteration on PyPy 3.8+ ( #1128 )
2022-12-20 13:39:04 -06:00
Julius Park
6419266395
PYTHON-3492 Test mongocryptd is not spawned when shared library is loaded ( #1124 )
2022-12-06 15:29:48 -08:00
Julius Park
ccade9bc05
PYTHON-3351 Provide access to raw result document when the server returns an error for a command ( #1125 )
2022-12-02 12:52:01 -08:00
Julius Park
26efc0f43d
PYTHON-3388 Propagate Original Error for Write Errors Labeled NoWritesPerformed ( #1117 )
2022-12-01 17:54:15 -08:00
Steven Silvester
ee2badff75
PYTHON-3524 Support passing list of strings to create_index ( #1121 )
2022-11-29 05:27:45 -06:00
Shane Harvey
1edbfad0c8
PYTHON-3529 Improve reliability of test_list_databases ( #1120 )
2022-11-17 12:27:15 -08:00
Shane Harvey
cde9adf6ab
PYTHON-3527 + PYTHON-3528 Fix no-server tests ( #1118 )
...
Fix TestCreateEntities when no server is running.
Fix no-server test_typeddict_find_notrequired.
2022-11-17 12:27:00 -08:00
Shane Harvey
b290f7b1a1
PYTHON-3526 Fix mockup tests ( #1119 )
2022-11-17 12:26:32 -08:00
Shane Harvey
3ab73905dc
PYTHON-3500 Resync retryable tests to fix serverless failures ( #1116 )
2022-11-15 17:43:34 -08:00
Shane Harvey
79aa5e6757
PYTHON-3516 Improve test EventListener api ( #1114 )
2022-11-14 08:50:08 -08:00
Julius Park
92e6150d84
PYTHON-3493 Bulk Write InsertOne Should Be Parameter Of Collection Type ( #1106 )
2022-11-10 14:19:55 -08:00
Shane Harvey
133c55d8cb
PYTHON-3500 Improve test coverage for retryable handshake errors ( #1112 )
2022-11-10 13:31:14 -08:00
Julius Park
87b09847a4
PYTHON-3494 Improve Documentation Surrounding Type-Checking "_id" ( #1104 )
2022-11-10 09:53:19 -08:00
Steven Silvester
bcb0ac0170
PYTHON-3396 Support the Azure VM-assigned Managed Identity for Automatic KMS Credentials ( #1105 )
2022-11-08 12:10:44 -06:00
Shane Harvey
1abcd3fc0c
PYTHON-3513 Correctly pin to mypy==0.990 ( #1110 )
2022-11-07 13:01:56 -08:00