diff --git a/requirements/optional.txt b/requirements/optional.txt index 48c9a630d..3d0dba3c0 100644 --- a/requirements/optional.txt +++ b/requirements/optional.txt @@ -3,7 +3,9 @@ aiodns>1.0 # We recommend using 3.7.1+ for RTMClient # https://github.com/slackapi/python-slack-sdk/issues/912 -aiohttp>=3.7.3,<4 +aiohttp>=3.7.3,<3.9; python_version == "3.7" +aiohttp>=3.7.3,<3.11; python_version == "3.8" +aiohttp>=3.13.5,<4; python_version >= "3.9" # used only under slack_sdk/*_store boto3<=2 # InstallationStore/OAuthStateStore diff --git a/requirements/testing.txt b/requirements/testing.txt index 76aa747f7..f4c5eaa1b 100644 --- a/requirements/testing.txt +++ b/requirements/testing.txt @@ -1,5 +1,7 @@ # pip install -r requirements/testing.txt -aiohttp<4 # used for a WebSocket server mock +aiohttp<3.9; python_version == "3.7" # used for a WebSocket server mock +aiohttp<3.11; python_version == "3.8" # used for a WebSocket server mock +aiohttp<4; python_version >= "3.9" # used for a WebSocket server mock pytest>=7.0.1,<9 pytest-asyncio<2 # for async pytest-cov>=2,<8