From 7c5995f165df52abc0db9a3f8bb1167a11397e35 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 15 Oct 2023 21:34:21 +0200 Subject: [PATCH] Bump aiohttp from 3.8.3 to 3.8.6 (#1222) * Bump aiohttp from 3.8.3 to 3.8.6 Bumps [aiohttp](https://github.com/aio-libs/aiohttp) from 3.8.3 to 3.8.6. - [Release notes](https://github.com/aio-libs/aiohttp/releases) - [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst) - [Commits](https://github.com/aio-libs/aiohttp/compare/v3.8.3...v3.8.6) --- updated-dependencies: - dependency-name: aiohttp dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * Fixed problematic test after aiohttp upgrade --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Soxoj --- requirements.txt | 2 +- tests/test_activation.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index df70c4140..907c95c30 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ aiodns==3.0.0 -aiohttp==3.8.3 +aiohttp==3.8.6 aiohttp-socks==0.7.1 arabic-reshaper~=3.0.0 async-timeout==4.0.2 diff --git a/tests/test_activation.py b/tests/test_activation.py index 24b04dd1d..3470ba39b 100644 --- a/tests/test_activation.py +++ b/tests/test_activation.py @@ -41,7 +41,8 @@ async def test_import_aiohttp_cookies(): f.write(COOKIES_TXT) cookie_jar = import_aiohttp_cookies(cookies_filename) - assert list(cookie_jar._cookies.keys()) == ['xss.is', 'httpbin.org'] + # new aiohttp support + assert list(cookie_jar._cookies.keys()) in (['xss.is', 'httpbin.org'], [('xss.is', '/'), ('httpbin.org', '/')]) url = 'https://httpbin.org/cookies' connector = aiohttp.TCPConnector(ssl=False)