From a9787f36198675344ecae963d29dd5e7afaf1af5 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 | 3 ++- aiobotocore/__init__.py | 2 +- aiobotocore/httpsession.py | 3 +-- setup.py | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 87691c28..b89b5c90 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 725fcb9e..662728bf 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,8 +1,9 @@ Changes ------- -2.11.3 (2024-02-03) +2.12.0 (2024-02-03) ^^^^^^^^^^^^^^^^^^^ +* address breaking change introduced in `aiohttp==3.9.2` #882 * fix use of proxies #1070 2.11.2 (2024-02-02) diff --git a/aiobotocore/__init__.py b/aiobotocore/__init__.py index 4ad24b70..0b288f83 100644 --- a/aiobotocore/__init__.py +++ b/aiobotocore/__init__.py @@ -1 +1 @@ -__version__ = '2.11.3' +__version__ = '2.12.0' diff --git a/aiobotocore/httpsession.py b/aiobotocore/httpsession.py index 9694bda7..055d5a3e 100644 --- a/aiobotocore/httpsession.py +++ b/aiobotocore/httpsession.py @@ -159,8 +159,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 4d7fe28f..087a6022 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ install_requires = [ # pegged to also match items in `extras_require` 'botocore>=1.33.2,<1.34.35', - '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', ]