Slack SDK fails on large file uploads
Closed this issue · 1 comments
aiell0 commented
Describe the bug
/usr/local/lib/python3.9/site-packages/slack_sdk/web/internal_utils.py:450: UserWarning: client.files_upload() may cause some issues like timeouts for relatively large files. Our latest recommendation is to use client.files_upload_v2(), which is mostly compatible and much stabler, instead.
To Reproduce
Steps to reproduce the behavior:
- Have a k8s cluster with a lot of stuff on it.
- Attempt to use krr with a slack sink to send cost reports to Slack.
Expected behavior
The file should be in my slack channel.
Screenshots
N/A
Desktop (please complete the following information):
- OS: mac OSX
- N/A
- Sonoma 14.1
Smartphone (please complete the following information):
- N/A
Additional context
Slack looks like they fixed this in their latest release. So theoretically all one should need to do is update the dependencies and it should work.
github-actions commented