Commit Graph

4616 Commits

Author SHA1 Message Date
Prashant Mital
b47a1aa791
BUMP 3.11.3 (#563) 2021-02-02 17:30:32 -08:00
Shane Harvey
bb11d7321b PYTHON-2540 Stop testing resetError on 4.9+ (#564)
(cherry picked from commit 1af7b64440)
2021-02-02 17:05:47 -08:00
Shane Harvey
d69da74eb6 PYTHON-2445 Use new setup script for MONGODB-AWS testing
(cherry picked from commit 7ca1efda43)
2021-01-29 12:51:13 -08:00
Shane Harvey
44c1b0da9c PYTHON-2445 PYTHON-2530 Fix MONGODB-AWS auth tests (#562)
(cherry picked from commit 6ff2883f82)
2021-01-27 13:53:45 -08:00
Shane Harvey
cfb9152f6a PYTHON-2524 Fix documentation for allow_disk_use/session in find/Cursor (#558)
(cherry picked from commit ebf825c400)
2021-01-25 17:11:43 -08:00
Shane Harvey
003a79296c PYTHON-2507 Future proof pip version upgrade for test suite (#549)
(cherry picked from commit ed54b722a8)
2021-01-15 14:34:48 -08:00
Shane Harvey
6c629e44cb PYTHON-2441 Reduce false positives in test_continuous_network_errors
(cherry picked from commit eb5bd9c858)
2020-12-16 17:09:46 -10:00
Shane Harvey
188edeb21c PYTHON-2366 Test OCSP+FLE with Python 3.9 (#534)
PYTHON-2449 Move all pypy cryptography/pyopenssl testing to Debian 9.2 with OpenSSL 1.1.0f
PYTHON-2449 Fix Windows cryptography installation by upgrading pip and using --prefer-binary

(cherry picked from commit 3ecd9479d4)
2020-12-16 15:54:22 -10:00
Prashant Mital
d808dae294
PYTHON-2452 Ensure command-responses with RetryableWriteError label are retried on MongoDB 4.4+ (#530)
(cherry picked from commit f458473925)
2020-12-14 19:06:28 -08:00
Prashant Mital
1d85294b67
BUMP 3.11.3.dev0 2020-12-08 12:26:52 -08:00
Prashant Mital
14dadbb728
BUMP 3.11.2 (#528) 2020-12-02 14:13:02 -08:00
Shane Harvey
65fec19f0e PYTHON-2443 Fix TypeError when pyOpenSSL socket has timeout of None (#527)
(cherry picked from commit 5625860688)
2020-12-01 08:02:59 -10:00
Prashant Mital
5b845ec80c
PYTHON-2440 Workaround namedtuple._asdict() bug on Python 3.4 (#525)
(cherry picked from commit 4119d35d04)
2020-11-24 12:12:14 -08:00
Pascal Corpet
bbb701f4e9 PYTHON-2438 Fix str representation of BulkWriteError (#522)
(cherry picked from commit 86d58113e5)
2020-11-23 09:48:19 -08:00
Shane Harvey
56625707b8 PYTHON-2433 Skip test_continuous_network_errors on Jython
(cherry picked from commit 92aed33694)
2020-11-20 22:21:42 -08:00
Shane Harvey
390bea9fa6 PYTHON-2431 Fix MONGODB-AWS auth tests on macOS (#521)
(cherry picked from commit 22a7e8085c)
2020-11-20 21:48:11 -08:00
Shane Harvey
f7eae9922f PYTHON-2433 Fix Python 3 ServerDescription/Exception memory leak (#520)
When the SDAM monitor check fails, a ServerDescription is created from
the exception. This exception is kept alive via the
ServerDescription.error field. Unfortunately, the exception's traceback
contains a reference to the previous ServerDescription. Altogether this
means that each consecutively failing check leaks memory by building an
ever growing chain of ServerDescription -> Exception -> Traceback ->
Frame -> ServerDescription -> ... objects.

This change breaks the chain and prevents the memory leak by clearing
the Exception's __traceback__, __context__, and __cause__ fields.

(cherry picked from commit 6c92e6c67e)
2020-11-20 19:00:45 -08:00
Shane Harvey
fa44639ba1 PYTHON-2436 Skip failing bulk insert test on 4.8+
(cherry picked from commit 4928b9088d)
2020-11-20 12:39:51 -08:00
Shane Harvey
cf391f639e BUMP 3.11.2.dev0 2020-11-20 10:27:14 -08:00
Prashant Mital
1d651b9be8
BUMP 3.11.1 (#516) 2020-11-16 16:01:14 -08:00
Shane Harvey
17dca5c504 Revert "PYTHON-1915: Prohibit copying ClientSession objects (#480)"
This reverts commit 959039b213.
2020-11-16 15:09:31 -08:00
Shane Harvey
30523d282c
PYTHON-2415 Fix pickle support for BulkWriteError exceptions (#514) 2020-11-12 11:04:55 -08:00
Shane Harvey
f1f8cad86d
PYTHON-2403 Add macOS Python 3.9 release automation (#513) 2020-11-10 12:21:36 -08:00
Shane Harvey
98205b8384
PYTHON-2421 Stop testing geoSearch/geoHaystack on MongoDB 4.5+ (#512) 2020-11-05 16:22:23 -08:00
Chris Cho
c92e5520b5
DOP-1671: update GTM code (#507) 2020-11-04 14:00:57 -08:00
Prashant Mital
b009ad7b20
PYTHON-2416 Properly close client in test_encryption.TestDataKeyDoubleEncryption (#510) 2020-11-04 10:04:30 -08:00
Prashant Mital
1e2a52fe8b
PYTHON-2404 Update CSFLE spec tests for KMS providers 'azure' and 'gcp' (#509) 2020-11-04 07:59:54 -08:00
Prashant Mital
e49c418264
PYTHON-2371 Add Azure and GCP support for CSFLE (#506) 2020-10-29 13:44:04 -07:00
Prashant Mital
a7710210a7
PYTHON-1960 Use a virtualenv to run encryption tests (#508) 2020-10-28 20:20:48 -07:00
Shane Harvey
c8be79f4a8
PYTHON-2367 Add release automation for Python 3.9 (#505)
PYTHON-2375 Reinstate macos system python workaround for missing wheel package
Increase task timeout because the manylinux build task takes >30 minutes.
2020-10-21 13:27:00 -07:00
Shane Harvey
e340428f24 PYTHON-2402 Update suse12-test to suse12-sp5-small 2020-10-21 12:29:12 -07:00
Shane Harvey
b210bffc75
PYTHON-2344 Update TLS examples to use unified TLS URI options (#504) 2020-10-19 15:22:28 -07:00
Martin Uhrin
7f1644c6db
Added the mincePy ODM library to documented tools (#502) 2020-10-16 15:16:52 -07:00
Shane Harvey
87e1d4b967
Revert "PYTHON-2362 Use dnspython<2.0 to avoid timeouts (#484)" (#501)
This reverts commit c549740677.
2020-10-14 16:08:43 -07:00
Nick Loadholtes
1002938a8e
Fix maxIdleTimeMS typo in docs (#503) 2020-10-14 09:48:06 -07:00
Shane Harvey
2818a32855
PYTHON-2392 Implicit sessions should always be discarded after connection errors (#498)
PYTHON-2075 Add more sessions tests with more read and write commands
2020-10-12 12:21:45 -07:00
Shane Harvey
d3e66a6702
PYTHON-2308 Test that we exclusively depend on existence of logicalSessionsTimeoutMinutes for sessions support (#499) 2020-10-08 10:13:42 -07:00
Shane Harvey
337a08c43d
PYTHON-2360 Ensure ConnectionCreatedEvents are emitted before ConnectionReadyEvents (#493)
Connections created in the background (for minPoolSize) are authenticated.
2020-10-06 11:37:27 -07:00
Prashant Mital
594b211ff1
PYTHON-2382 Destroy codec options struct in _cbson._element_to_dict (#496) 2020-10-06 11:01:11 -07:00
Shane Harvey
1c2651be58
PYTHON-2357 Specify error label in retryable writes test (#494)
PYTHON-2356 Add errorLabelsContain/errorLabelsOmit support to retryable writes tests
2020-10-02 12:56:33 -07:00
Shane Harvey
b2fba416e9
PYTHON-2342 Prefer checking error codes over error messages (#492) 2020-10-02 11:30:39 -07:00
Prashant Mital
65699332c4
PYTHON-2376 Fix change stream test failures due to new updateDescription.truncatedArrays field in changeEvent documents (#489) 2020-09-28 15:55:07 -07:00
Shane Harvey
8afbc645a7
PYTHON-2375 Remove macos system python workaround for missing wheel package (#491) 2020-09-28 15:00:40 -07:00
Shane Harvey
cccf37f556
PYTHON-1631 Document new release process (#488) 2020-09-22 10:39:01 -07:00
Shane Harvey
8e7026a83f
PYTHON-2345 Ensure release files can be installed (#487) 2020-09-17 14:00:05 -07:00
Shane Harvey
e1915fc89b
PYTHON-2372 Build macOS releases in Evergreen (#486) 2020-09-15 09:06:19 -07:00
Shane Harvey
1b97eddfbd
PYTHON-2262 Test Python 3.9 in Evergreen (#485) 2020-09-14 11:45:36 -07:00
Shane Harvey
c549740677
PYTHON-2362 Use dnspython<2.0 to avoid timeouts (#484) 2020-09-11 11:35:31 -07:00
Prashant Mital
dc94ca628e
PYTHON-2361 Support parsing as extended JSON representation for subtype 4 binary (#483) 2020-09-09 17:24:29 -07:00
Prashant Mital
963759af33
PYTHON-2354 Add support for JSONOptions.with_options (#482) 2020-09-09 14:15:21 -07:00