Python-slack-sdk: Python Slack SDK v3 plan & tasks

Created on 15 Sep 2020  路  7Comments  路  Source: slackapi/python-slack-sdk

We're going to release the next major version of this SDK. A notable addition in v3 is the OAuth module! The initial beta version will be available very soon.

Changes

What happens to existing SDK users

Here are the v3 changes affecting existing users.

  • Since v3, the PyPI project name is slack_sdk (technically slack-sdk also works)
  • The package names are renamed from slack.* to slack_sdk.*. That said, all existing code can be migrated to v3 without any code changes. All code must work while deprecation warnings tell developers new package names: UserWarning: slack package is deprecated. Please use slack_sdk.web/webhook/rtm package instead. For more info, go to https://slack.dev/python-slack-sdk/v3-migration/.

The biggest reason for the renaming is the feature coverage in v3 and newer. The SDK v3 provides not only API clients but also other modules. As the first step, it will start supporting OAuth flow out-of-the-box. The secondary reason is to make the names more consistent. The renaming will address the long-lived confusion between the PyPI project and package names.

It'd be greatly appreciated if existing users could understand this.

slackclient v2 maintenance

  • This project will continue maintaining slackclient v2 for a certain amount of time (a few years)
  • Once slack_sdk v3.0.0 is released, this GitHub repository will be renamed to python-slack-sdk. We'll cut off v2 branch for slackclient v2 series maintenance.

Tasks

This issue lists all the tasks for the Python Slack SDK v3 release.

Category (place an x in each of the [ ])

  • [x] slack.web.WebClient (Web API client)
  • [x] slack.webhook.WebhookClient (Incoming Webhook, response_url sender)
  • [x] slack.web.classes (UI component builders)
  • [x] slack.rtm.RTMClient (RTM client)

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.

3x docs enhancement rtm-client major web-client

Most helpful comment

This is very well thought through, @seratch. Thanks for the breakdown of steps. I really like the deprecation warnings and I'm looking forward to the updated naming pattern!

All 7 comments

This is very well thought through, @seratch. Thanks for the breakdown of steps. I really like the deprecation warnings and I'm looking forward to the updated naming pattern!

These are the remaining tasks. I'm going to complete all of them by the end of October.

Screen Shot 2020-10-07 at 15 43 36

Just a heads-up - I will be doing the following early next week:

  • Publish https://slack.dev/python-slackclient in slackapi.github.io repo
  • Rename this repository to python-slack-sdk
  • Change the document generation in this repo to serve slack_sdk v3 + remove the files from slackapi.github.io repo
  • Ship v3.0.0rc1

I've done with most the tasks.

Screen Shot 2020-10-27 at 15 37 55

v3.0.0rc2 is available on PyPI package registry. Try the version out and let us know if you find something wrong or unclear! We will be releasing v3.0.0 within a few days.

version 3.0.0 is now available on PyPI registry 馃帀

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ErikKalkoken picture ErikKalkoken  路  3Comments

divyatman picture divyatman  路  4Comments

LMPK picture LMPK  路  3Comments

marshallino16 picture marshallino16  路  3Comments

sushiparlour picture sushiparlour  路  5Comments