Commit Graph

41 Commits

Author SHA1 Message Date
Steven Silvester
36676384bd
PYTHON-5705 Improve fallback for PyOpenSSL windows system certs loading (#2688) 2026-02-09 19:39:05 -06:00
Steven Silvester
c930c69776
PYTHON-5566 & PYTHON-3132 Add minimum version checks for remaining test variants (#2650) 2025-12-19 13:14:52 -06:00
Maarten Sijm
c2aefc2eda
PYTHON-5414 Fix "module service_identity has no attribute SICertificateError" when using pyopenssl (#2382) 2025-06-12 16:45:18 -07:00
Noah Stapp
d1c14150dc
PYTHON-5154 - Remove PyOpenSSL support from Async PyMongo (#2246) 2025-03-31 15:04:05 -04:00
Jeffrey A. Clark
166821f22c
PYTHON-5205 Replace http with https in doc links (#2204) 2025-03-14 21:37:11 -04:00
Noah Stapp
069ebf3e13
PYTHON-5037 - Update pyopenssl_context.__get_options type hint (#2060) 2025-01-15 07:54:52 -05:00
Shane Harvey
1b3f04c599
PYTHON-5020 Fix behavior of network timeouts on pyopenssl connections (#2037) 2025-01-02 10:26:33 -08:00
Noah Stapp
b111cbf5d5
PYTHON-4636 - Avoid blocking I/O calls in async code paths (#1870)
Co-authored-by: Shane Harvey <shnhrv@gmail.com>
2024-10-03 15:18:33 -04:00
Noah Stapp
682f15b21e
PYTHON-4618 - Fix TypeError: Socket cannot be of type SSLSocket (#1772) 2024-08-08 08:21:59 -07:00
Noah Stapp
0f5349e2e0
PYTHON-4572 - Fix type errors caused by new PyOpenSSL type hints (#1743) 2024-07-23 13:41:51 -07:00
Noah Stapp
d6bf0e1e78
PYTHON-4264 Async PyMongo Beta (#1629) 2024-06-06 09:01:24 -07:00
Steven Silvester
49987e6a8a
PYTHON-4441 Use deferred imports instead of lazy module loading (#1648) 2024-05-30 16:40:23 -05:00
Steven Silvester
42a08c4a34
PYTHON-4260 Lazily load optional imports (#1550) 2024-03-25 12:55:41 -05:00
Steven Silvester
7936708d97
PYTHON-4014 Apply QA Suggestions from Scientific Python Library Development Guide (#1414) 2023-11-01 19:37:22 -05:00
Steven Silvester
992d1507e7
PYTHON-4005 Replace flake8 and isort with ruff (#1399) 2023-10-19 11:56:22 -05:00
Steven Silvester
6f4e617e6d
PYTHON-3905 Use from __future__ import annotations in all files (#1370)
* PYTHON-3905 Use from __future__ import annotations in all files

* cleanup

* cleanup

* cleanup
2023-09-11 10:49:24 -05:00
Shane Harvey
d203f68977
PYTHON-3904 Fix socket vs _socket pyopenssl typing (#1345) 2023-08-08 11:21:01 -07:00
Steven Silvester
b8c1364368
PYTHON-3884 Replace uses of run-test.sh with tox (#1333) 2023-08-07 12:47:57 -05:00
Iris
94fd83e92e
PYTHON-3814 add types to pyopenssl_context.py (#1341) 2023-08-03 15:40:58 -07:00
Noah Stapp
c88ae79e58
PYTHON-3879 Rename SocketInfo to Connection (#1329) 2023-07-28 10:04:16 -07:00
Iris
f7874fb110
PYTHON-2287 Improve error message for invalid boolean option (#1236) 2023-06-15 11:54:20 -07:00
Steven Silvester
5831934b37
PYTHON-3691 [Build Failure] test_client.TestClient.test_exhaust_network_error (#1216) 2023-06-05 12:03:51 -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
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
890cd26e1a
PYTHON-3288 Implement client side operation timeout (#954)
Add timeoutMS URI option and MongoClient keyword argument.
Add provisional/beta pymongo.timeout() api to set a deadline for a block of operations.
2022-06-06 15:36:52 -04:00
Shane Harvey
78476d0217
PYTHON-3187 Avoid tight poll() loop on pyopenssl connections (#953) 2022-05-26 15:14:59 -07:00
Shane Harvey
75685c006c
PYTHON-3235 Drop support for Python 3.6 (#939) 2022-05-05 16:13:41 -07:00
Steven Silvester
a0fe7c03af
PYTHON-3120 Set up flake8 linting (#868) 2022-02-17 06:44:08 -06:00
Shane Harvey
7a8f6b3442
PYTHON-2147 Use verified peer cert chain in OCSP when available (#877) 2022-02-16 17:11:12 -08:00
Steven Silvester
5578999a90
PYTHON-1834 Use a code formatter (#852) 2022-02-09 06:44:28 -06:00
Steven Silvester
dd6c140d43
PYTHON-3060 Add typings to pymongo package (#831) 2022-02-02 21:12:36 -06:00
Shane Harvey
71a1656be0
PYTHON-2038 Remove pymongo.errors.CertificateError (#705) 2021-08-12 09:29:30 -07:00
Bernie Hackett
70b927a01d PYTHON-2508 Improve PyOpenSSL on Windows and macOS 2021-01-28 16:02:51 -08:00
Bernie Hackett
cf877e95c7 PYTHON-2503 Always use time.monotonic
For monotonic time needs.
2021-01-25 12:48:31 -08:00
Bernie Hackett
6c2d629006 PYTHON-2133 Remove Py2 compatibility from pymongo 2021-01-19 21:15:20 -08:00
Shane Harvey
c2d6343110
PYTHON-2163 Suppress ragged EOFs when using pyOpenSSL to match the stdlib (#453)
Wrap pyOpenSSL connection errors with AutoReconnect.
2020-07-02 14:17:20 -07:00
Prashant Mital
0609fea012
PYTHON-2132 cache OCSP responses 2020-03-13 11:11:38 -07:00
Prashant Mital
47a6718352
PYTHON-2161 add support for tlsDisableOcspEndpointCheck URI option 2020-03-11 18:35:11 -07:00
Shane Harvey
84f1a8c5f9 PYTHON-2144 Handle the case where the peer omits the self-signed issuer cert 2020-03-10 16:44:49 -07:00
Bernie Hackett
a06a0e7aa6 PYTHON-2093 OCSP Support 2020-02-20 14:44:24 -08:00
Bernie Hackett
5df94d08f0 PYTHON-2040 PyOpenSSL support 2020-02-06 18:03:21 -08:00