From fd2ff5678a7c713544dcd03fc5ac364c998f434c Mon Sep 17 00:00:00 2001 From: Jakob Keller <57402305+jakob-keller@users.noreply.github.com> Date: Mon, 29 Jan 2024 17:39:05 +0100 Subject: [PATCH] address breaking change introduced in `aiohttp==3.9.2` #882 --- .github/workflows/python-package.yml | 2 +- CHANGES.rst | 4 ++++ aiobotocore/__init__.py | 2 +- aiobotocore/httpsession.py | 3 +-- setup.py | 2 +- 5 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index f9cc0f11..a265a89a 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -21,7 +21,7 @@ jobs: matrix: python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] include: - - aiohttp-version: '==3.7.4.post0' + - aiohttp-version: '==3.9.2' - aiohttp-version: '<4.0.0' python-version: '3.11' fail-fast: false diff --git a/CHANGES.rst b/CHANGES.rst index 39855fcb..e714b0f6 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,10 @@ Changes ------- +2.13.0 (2024-04-12) +^^^^^^^^^^^^^^^^^^^ +* address breaking change introduced in `aiohttp==3.9.2` #882 + 2.12.3 (2024-04-11) ^^^^^^^^^^^^^^^^^^^ * relax botocore dependency specification diff --git a/aiobotocore/__init__.py b/aiobotocore/__init__.py index 2de3060d..2321a43e 100644 --- a/aiobotocore/__init__.py +++ b/aiobotocore/__init__.py @@ -1 +1 @@ -__version__ = '2.12.3' +__version__ = '2.13.0' diff --git a/aiobotocore/httpsession.py b/aiobotocore/httpsession.py index c8c3fe41..4c527fb5 100644 --- a/aiobotocore/httpsession.py +++ b/aiobotocore/httpsession.py @@ -166,8 +166,7 @@ def _create_connector(self, proxy_url): return aiohttp.TCPConnector( limit=self._max_pool_connections, - verify_ssl=bool(self._verify), - ssl=ssl_context, + ssl=ssl_context or False, **self._connector_args, ) diff --git a/setup.py b/setup.py index 00a75d28..7ea7523c 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ install_requires = [ # pegged to also match items in `extras_require` 'botocore>=1.34.41,<1.34.70', - 'aiohttp>=3.7.4.post0,<4.0.0', + 'aiohttp>=3.9.2,<4.0.0', 'wrapt>=1.10.10, <2.0.0', 'aioitertools>=0.5.1,<1.0.0', ]