Skip to content

Commit 752f8b5

Browse files
authored
Address breaking change introduced in aiohttp==3.9.2 (#1081)
1 parent 2d6520b commit 752f8b5

6 files changed

Lines changed: 9 additions & 6 deletions

File tree

.github/workflows/python-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
matrix:
2222
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
2323
include:
24-
- aiohttp-version: '==3.7.4.post0'
24+
- aiohttp-version: '==3.9.2'
2525
- aiohttp-version: '<4.0.0'
2626
python-version: '3.11'
2727
fail-fast: false

CHANGES.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
Changes
22
-------
33

4+
2.13.0 (2024-05-16)
5+
^^^^^^^^^^^^^^^^^^^
6+
* address breaking change introduced in `aiohttp==3.9.2` #882
7+
48
2.12.4 (2024-05-16)
59
^^^^^^^^^^^^^^^^^^^
610
* bump botocore dependency specification

aiobotocore/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '2.12.4'
1+
__version__ = '2.13.0'

aiobotocore/httpsession.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,7 @@ def _create_connector(self, proxy_url):
166166

167167
return aiohttp.TCPConnector(
168168
limit=self._max_pool_connections,
169-
verify_ssl=bool(self._verify),
170-
ssl=ssl_context,
169+
ssl=ssl_context or False,
171170
**self._connector_args,
172171
)
173172

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
install_requires = [
99
# pegged to also match items in `extras_require`
1010
'botocore>=1.34.70,<1.34.107',
11-
'aiohttp>=3.7.4.post0,<4.0.0',
11+
'aiohttp>=3.9.2,<4.0.0',
1212
'wrapt>=1.10.10, <2.0.0',
1313
'aioitertools>=0.5.1,<1.0.0',
1414
]

tests/test_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ def test_release_versions():
161161
rst_prev_date = datetime.strptime(rst_prev_date, '%Y-%m-%d').date()
162162

163163
assert (
164-
rst_date > rst_prev_date
164+
rst_date >= rst_prev_date
165165
), 'Current release must be after last release'
166166

167167
# get aioboto reqs

0 commit comments

Comments
 (0)