slackapi / slackapi/bolt-python
Fully define dependencies for async support via optional dependency group
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- Python
- Star
- 1.3k
- Fork
- 288
- Merge trung bình
- 1 ngày 8 giờ
- Pull request đã merge (30 ngày)
- 10
Mô tả
The current docs suggest adding aiohttp as a dependency to create an async app, but this creates a direct dependency on aiohttp for consumers of slack-bolt on what is is really a transitive dependency for the consumer of slack-bolt. This is especially important because this leaves it to consumers to find compatible versions of slack-bolt and aiohttp without the aide of a package manager.
slack-bolt should define an optional dependency group and include aiohttp so that consumers of this library don't need to maintain a dependency on a transitive. Consumers would be able to uv add slack-bolt[async] for example to include the optional dependencies.
Category (place an x in each of the [ ])
- slack_bolt.App and/or its core components
- slack_bolt.async_app.AsyncApp and/or its core components
- Adapters in slack_bolt.adapter
- [] Others
Requirements
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu với tài liệu về slack_bolt.async_app.AsyncApp và metadata của package định nghĩa các dependency. Kiểm tra cách hỗ trợ async hiện được cài đặt, sau đó xác minh rằng nhóm dependency async tùy chọn bao gồm aiohttp và workflow uv add slack-bolt[async] được ghi trong tài liệu sẽ cài đặt nó mà không yêu cầu consumer phải trực tiếp quản lý nó.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- python
- Lĩnh vực
- backend, build-system
- Loại issue
- Tính năng
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Ít trao đổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 65/100