Noah Stapp
34ca694c9f
PYTHON-3801 gRPC POC phase 1 ( #1317 )
2023-07-26 14:01:22 -07:00
Iris
e23eb7691e
PYTHON-3811 add types to operations.py ( #1313 )
2023-07-18 14:28:57 -07:00
Shane Harvey
469e2e95f5
PYTHON-3511 Cleanup some more Python 2 references ( #1309 )
2023-07-14 17:02:24 -04:00
Steven Silvester
1a249386cf
PYTHON-3723 Add search index management helpers ( #1224 )
2023-07-14 09:51:19 -05:00
Noah Stapp
72e9180558
PYTHON-3795 Simplify db.cursor_command api arguments ( #1307 )
2023-07-13 13:48:50 -07:00
Shane Harvey
1d7f2ea1c8
PYTHON-3800 Add test for SRV URI with uppercase hostname ( #1293 )
2023-07-07 10:15:52 -04:00
Noah Stapp
cae124c32c
PYTHON-3588 Expose an API to create a cursor from a command response ( #1263 )
2023-06-28 14:19:04 -07:00
Noah Stapp
d5882075d6
PYTHON-3789 Use tox for Evergreen mockupdb tests ( #1277 )
2023-06-28 10:57:23 -07:00
Iris
5c3cfa7848
PYTHON-3764 add types to settings.py ( #1259 )
2023-06-27 13:16:20 -07:00
Iris
386f6d8b7f
PYTHON-3765 add types to server_api.py ( #1260 )
2023-06-27 13:15:58 -07:00
stephan-hof
8b23204408
PYTHON-3758 Support overflow integers in fallback_encoder. ( #1243 )
...
bson only supports 64-bit integer within range:
[-9_223_372_036_854_775_807, +9_223_372_036_854_775_807]
This change calls the fallback_encoder before raising OverflowError on
integers outside of this range.
2023-06-26 15:20:01 -04:00
Iris
a750098057
PYTHON-3750 add types to server.py ( #1248 )
2023-06-22 14:20:33 -07:00
Noah Stapp
b16e06acfd
PYTHON-3727 Use tox for unit tests and switch to pytest ( #1249 )
2023-06-21 15:07:14 -07:00
Noah Stapp
82d87dc173
PYTHON-3744 Fix utcnow deprecation build regressions ( #1244 )
2023-06-16 13:30:54 -07:00
Noah Stapp
601d1ec3a1
PYTHON-3737 Use __future__ annotations for forward reference type hints ( #1234 )
2023-06-15 12:54:29 -07:00
Shane Harvey
2cfebf52cd
PYTHON-3706 Skip flaky test on Windows/macOS ( #1241 )
2023-06-15 12:34:02 -07:00
Steven Silvester
ada1280ad3
PYTHON-3011 Skip test_connections_are_only_returned_once on PyPy for now ( #1239 )
2023-06-15 14:08:13 -05:00
Steven Silvester
d86fb9496a
PYTHON-3519 Skip test_pool_paused_error_is_retryable on PyPy for now ( #1238 )
2023-06-15 14:07:48 -05:00
Iris
f7874fb110
PYTHON-2287 Improve error message for invalid boolean option ( #1236 )
2023-06-15 11:54:20 -07:00
Shane Harvey
ece45b1edf
PYTHON-3699 Add prose test for change stream splitting ( #1232 )
2023-06-14 10:00:52 -07:00
Steven Silvester
eed9d02a2e
PYTHON-3731 Disable MONGODB-OIDC Auth for 4.4 ( #1230 )
2023-06-13 11:30:50 -05:00
Noah Stapp
ec3437849e
PYTHON-3702 Stop using utcnow and utcfromtimestamp ( #1229 )
2023-06-12 15:43:30 -07:00
Shane Harvey
1ad0df0858
PYTHON-3724 Remove null values from command_started_event in fle2v2-CreateCollection.yml ( #1223 )
2023-06-06 12:06:08 -07:00
Dainis Gorbunovs
c7e06e6fc1
PYTHON-3725 Fix Test Failure - MockupDB test_network_disconnect_primary ( #1222 )
2023-06-05 16:38:28 -07:00
thalassemia
1ba4c0bcbd
PYTHON-3718 Faster INT2STRING ( #1221 )
2023-06-05 18:35:39 -05:00
Steven Silvester
bda9e3a0bb
PYTHON-3469 Error if RewrapManyDataKey is called with masterKey and without provider ( #1214 )
2023-05-15 06:36:36 -05:00
Steven Silvester
2a869b56ca
PYTHON-3613 Improving Time-Series Scalability ( #1213 )
2023-05-12 16:58:10 -05:00
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