From 2a7c7f5a8c7a61daebe484bc5a6f2232607af82c Mon Sep 17 00:00:00 2001 From: Stas Lipovenko Date: Tue, 27 Apr 2021 19:30:34 +0300 Subject: [PATCH] TCP_CONNECTOR(ssl_context) deprecated. Change to ssl (#863) --- CHANGES.rst | 4 ++++ aiobotocore/endpoint.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGES.rst b/CHANGES.rst index 5e0c0295..5d94d6ca 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,5 +1,9 @@ Changes ------- +1.3.1 (2021-04-23) +^^^^^^^^^^^^^^^^^^ +* TCPConnector: change deprecated ssl_context to ssl + 1.3.0 (2021-04-09) ^^^^^^^^^^^^^^^^^^ * Bump to botocore 1.20.49 #856 diff --git a/aiobotocore/endpoint.py b/aiobotocore/endpoint.py index bf89ba0c..bf7c6168 100644 --- a/aiobotocore/endpoint.py +++ b/aiobotocore/endpoint.py @@ -310,7 +310,7 @@ def create_endpoint(self, service_model, region_name, endpoint_url, connector = aiohttp.TCPConnector( limit=max_pool_connections, verify_ssl=bool(verify), - ssl_context=ssl_context, + ssl=ssl_context, **connector_args) aio_session = http_session_cls(