From 23e4d1444e6c9bc7a757b121f143b72a1ed49fd2 Mon Sep 17 00:00:00 2001 From: epiphyte Date: Wed, 31 Jul 2024 03:22:22 +0000 Subject: [PATCH] Cap aiohttp maximum version https://github.com/romis2012/aiohttp-socks/issues/43 --- changes/51475aeec1ed01c9c2247b27c8cae659.yaml | 6 ++++++ pyproject.toml | 2 +- requirements.txt | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 changes/51475aeec1ed01c9c2247b27c8cae659.yaml diff --git a/changes/51475aeec1ed01c9c2247b27c8cae659.yaml b/changes/51475aeec1ed01c9c2247b27c8cae659.yaml new file mode 100644 index 0000000000..4489ed3be0 --- /dev/null +++ b/changes/51475aeec1ed01c9c2247b27c8cae659.yaml @@ -0,0 +1,6 @@ +--- +desc: Restrict the maximum version of aiohttp to less than ``v3.10.0`` until a compatibility + issue is resolved. +prs: [] +type: feat +... diff --git a/pyproject.toml b/pyproject.toml index b0572930b4..ec052db801 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,7 +31,7 @@ dependencies = [ 'tornado>=6.2.0,<7.0.0', 'regex>=2022.9.11', 'PyYAML>=5.4,<6.1.0', - 'aiohttp>=3.8.1,<4.0', + 'aiohttp>=3.8.1,<3.10.0', 'aiohttp-socks>=0.8.0,<0.9.0', 'aioimaplib>=1.0.1,<1.1.0', 'aiosmtplib>=3.0.0,<3.1.0', diff --git a/requirements.txt b/requirements.txt index 13d815437d..9a5cfcbb0d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,7 +5,7 @@ lmdb>=1.2.1,<1.5.0 tornado>=6.2.0,<7.0.0 regex>=2022.9.11 PyYAML>=5.4,<6.1.0 -aiohttp>=3.8.1,<4.0 +aiohttp>=3.8.1,<3.10.0 # Capped for https://github.com/romis2012/aiohttp-socks/issues/43 aiohttp-socks>=0.8.0,<0.9.0 aioimaplib>=1.0.1,<1.1.0 aiosmtplib>=3.0.0,<3.1.0