@@ -31,10 +31,8 @@ if __name__ == "__main__":
         packages=find_packages(exclude=["test"]),
         install_requires=[
             f"dagster{pin}",
-            "slackclient>=2,<3",
-            # resolve issue with aiohttp pin of chardet for aiohttp<=3.7.3, req'd by slackclient
-            # https://github.com/dagster-io/dagster/issues/3539
-            "chardet<4.0",
+            "slack_sdk",
+            "aiohttp",
         ],
         zip_safe=False,
     )
from setuptools import find_packages, setup


def get_version():
    version = {}
    with open("dagster_slack/version.py") as fp:
        exec(fp.read(), version)  # pylint: disable=W0122

    return version["__version__"]


if __name__ == "__main__":
    ver = get_version()
    # dont pin dev installs to avoid pip dep resolver issues
    pin = "" if ver == "dev" else f"=={ver}"
    setup(
        name="dagster-slack",
        version=ver,
        author="Elementl",
        author_email="hello@elementl.com",
        license="Apache-2.0",
        description="A Slack client resource for posting to Slack",
        url="https://github.com/dagster-io/dagster/tree/master/python_modules/libraries/dagster-slack",
        classifiers=[
            "Programming Language :: Python :: 3.6",
            "Programming Language :: Python :: 3.7",
            "Programming Language :: Python :: 3.8",
            "License :: OSI Approved :: Apache Software License",
            "Operating System :: OS Independent",
        ],
        packages=find_packages(exclude=["test"]),
        install_requires=[
            f"dagster{pin}",
            "slackclient>=2,<3",
            # resolve issue with aiohttp pin of chardet for aiohttp<=3.7.3, req'd by slackclient
            # https://github.com/dagster-io/dagster/issues/3539
            "chardet<4.0",
        ],
        zip_safe=False,
    )

not obvious why this is added - does slack need it but not declare it?