|
13 | 13 | long_description = fh.read() |
14 | 14 |
|
15 | 15 | test_dependencies = [ |
16 | | - "pytest>=5,<6", |
| 16 | + "pytest>=6.2.5,<7", |
17 | 17 | "pytest-cov>=2,<3", |
18 | | - "pytest-asyncio<1", # for async |
19 | | - "aiohttp>=3,<4", # for async |
20 | 18 | "Flask-Sockets>=0.2,<1", |
21 | 19 | "Werkzeug<2", # TODO: support Flask 2.x |
22 | 20 | "black==21.9b0", |
23 | 21 | ] |
24 | 22 |
|
| 23 | +async_test_dependencies = test_dependencies + [ |
| 24 | + "pytest-asyncio<1", # for async |
| 25 | + "aiohttp>=3,<4", # for async |
| 26 | +] |
| 27 | + |
25 | 28 | setuptools.setup( |
26 | 29 | name="slack_bolt", |
27 | 30 | version=__version__, |
|
45 | 48 | "slack_sdk>=3.9.0,<4", |
46 | 49 | ], |
47 | 50 | setup_requires=["pytest-runner==5.2"], |
48 | | - tests_require=test_dependencies, |
| 51 | + tests_require=async_test_dependencies, |
49 | 52 | test_suite="tests", |
50 | 53 | extras_require={ |
51 | 54 | # pip install -e ".[async]" |
|
84 | 87 | # Socket Mode 3rd party implementation |
85 | 88 | "websocket_client>=1,<2", |
86 | 89 | ], |
| 90 | + # pip install -e ".[testing_without_asyncio]" |
| 91 | + "testing_without_asyncio": test_dependencies, |
87 | 92 | # pip install -e ".[testing]" |
88 | | - "testing": test_dependencies, |
| 93 | + "testing": async_test_dependencies, |
89 | 94 | }, |
90 | 95 | classifiers=[ |
91 | 96 | "Programming Language :: Python :: 3.6", |
92 | 97 | "Programming Language :: Python :: 3.7", |
93 | 98 | "Programming Language :: Python :: 3.8", |
94 | 99 | "Programming Language :: Python :: 3.9", |
| 100 | + "Programming Language :: Python :: 3.10", |
95 | 101 | "Programming Language :: Python :: Implementation :: CPython", |
96 | 102 | "License :: OSI Approved :: MIT License", |
97 | 103 | "Operating System :: OS Independent", |
|
0 commit comments