# pip install -r requirements/optional.txt
# Note: comments here must be full-line only; this file is read into wheel
# metadata via [tool.setuptools.dynamic] in pyproject.toml.

# aiodns
# Note: async modules depend on aiohttp.
# Note: aiodns's minimum Python rose in stages (>=3.9 at 3.3.0, >=3.10 at 4.0.0); cap each old interpreter at its last compatible release.
aiodns>1.0,<3.3; python_version < "3.9"
aiodns>1.0,<4; python_version == "3.9"
aiodns>=4.0.4; python_version >= "3.10"

# aiohttp
# We recommend using 3.7.1+ for RTMClient
# https://github.com/slackapi/python-slack-sdk/issues/912
# Note: aiohttp's minimum Python rose in stages; cap each old interpreter at its last compatible release.
aiohttp>=3.7.3,<3.9; python_version == "3.7"
aiohttp>=3.7.3,<3.11; python_version == "3.8"
aiohttp>=3.13.5,<3.14; python_version == "3.9"
aiohttp>=3.14.3,<4; python_version >= "3.10"

# boto3
# Note: used only under slack_sdk/*_store
boto3<=2

# SQLAlchemy
# InstallationStore/OAuthStateStore
# Since v3.20, we no longer support SQLAlchemy 1.3 or older.
# If you need to use a legacy version, please add our v3.19.5 code to your project.
SQLAlchemy>=2.0.52,<3

# websockets
websockets>=9.1,<12; python_version == "3.7"
websockets>=9.1,<14; python_version == "3.8"
websockets>=9.1,<16; python_version == "3.9"
websockets>=16.1.1,<17; python_version >= "3.10"

# websocket-client
websocket-client>=1,<1.6.2; python_version == "3.7"
websocket-client>=1,<1.9.0; python_version == "3.8"
websocket-client>=1,<1.9.1; python_version == "3.9"
websocket-client>=1.9.1,<2; python_version >= "3.10"
