Skip to content

feat: add [async] optional dependencies for easier async setup#1423

Open
yukiyan wants to merge 1 commit intoslackapi:mainfrom
yukiyan:feat/add-async-optional-dependencies
Open

feat: add [async] optional dependencies for easier async setup#1423
yukiyan wants to merge 1 commit intoslackapi:mainfrom
yukiyan:feat/add-async-optional-dependencies

Conversation

@yukiyan
Copy link

@yukiyan yukiyan commented Jan 29, 2026

Summary

Add [async] optional dependencies to pyproject.toml so users can install async requirements with pip install "slack-bolt[async]" instead of manually installing aiohttp.

Changes:

  • Add optional-dependencies.async to pyproject.toml (references existing requirements/async.txt)
  • Update install instructions in README.md, docs/, and slack_bolt/async_app.py docstring

Category

  • slack_bolt.App and/or its core components
  • slack_bolt.async_app.AsyncApp and/or its core components
  • Adapters in slack_bolt.adapter
  • Document pages under /docs
  • Others

Requirements

  • I've read and understood the Contributing Guidelines and have done my best effort to follow them.
  • I've read and agree to the Code of Conduct.
  • I've run ./scripts/install_all_and_run_tests.sh after making the changes.

@yukiyan yukiyan requested review from a team as code owners January 29, 2026 05:01
@yukiyan
Copy link
Author

yukiyan commented Feb 2, 2026

@WilliamBergamin @lukegalbraithrussell @zimeg Could you review this PR when you get a chance? Thanks!

@WilliamBergamin
Copy link
Contributor

Hi @yukiyan thanks for opening this 💯

Currently we recommend running pip install slack_bolt aiohttp to use the AsyncApp, making pip install "slack_bolt[async]" reference the import in requirements/async.txt may not be the desired behavior as requirements/async.txt is intended for testing.

We might want to think more about this strategy before implementing a slack_bolt[async] 🤔 since it means that this project would support specific versions of aiohttp and bumping the minimum version may result in breaking changes here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants