asaf400 opened a new issue, #28353: URL: https://github.com/apache/superset/issues/28353
### Bug description The API superset uses for slack reports has been deprecated, and needs to be replaced with the new API: [As described here](https://api.slack.com/methods/files.upload) ```files.upload is deprecated and will stop functioning on March 11, 2025. Use [files.getUploadURLExternal](https://api.slack.com/methods/files.getUploadURLExternal) and [files.completeUploadExternal](https://api.slack.com/methods/files.completeUploadExternal) to upload files instead. Newly created apps will be unable to use files.upload beginning May 8, 2024. See [Uploading files](https://api.slack.com/messaging/files#uploading_files) for more details on the process and [this changelog](https://api.slack.com/changelog/2024-04-a-better-way-to-upload-files-is-here-to-stay) for more on the deprecation.``` Seems like new slack-sdk version required minimum is [v3.19.0](https://github.com/slackapi/python-slack-sdk/releases/tag/v3.19.0) Which Superset already uses https://github.com/apache/superset/blob/f5843fe588112c5c303215945a36fda0845c9e99/pyproject.toml#L88 ``` [root@LAPTOP-ASAF-T14 ~]# pip install 'slack_sdk>=3.19.0, <4' Collecting slack_sdk<4,>=3.19.0 ... Installing collected packages: slack_sdk Successfully installed slack_sdk-3.27.1 ``` additional resources: https://github.com/slackapi/python-slack-sdk/pull/1272 ### How to reproduce the bug Deprecation ### Screenshots/recordings As a slack organization administrator I received the following message by email: <img width="422" alt="2024-05-06 12_40_45-Gmail - Upcoming changes to support for the files upload API method - asaf levy@" src="https://github.com/apache/superset/assets/14169006/d61cd2b6-50f3-4896-b361-7f3ba98664c3"> ### Superset version master / latest-dev ### Python version 3.9 ### Node version 16 ### Browser Chrome ### Additional context _No response_ ### Checklist - [ ] I have searched Superset docs and Slack and didn't find a solution to my problem. - [ ] I have searched the GitHub issue tracker and didn't find a similar bug report. - [ ] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
