question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Python Slack SDK v3 plan & tasks

See original GitHub issue

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 [ ])

  • slack.web.WebClient (Web API client)
  • slack.webhook.WebhookClient (Incoming Webhook, response_url sender)
  • slack.web.classes (UI component builders)
  • 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.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:7
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
mwbrookscommented, Sep 16, 2020

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!

1reaction
seratchcommented, Oct 24, 2020

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
Read more comments on GitHub >

github_iconTop Results From Across the Web

Migration Guide — Python Slack SDK
That said, all existing code can be migrated to v3 without any code changes. If you don't have time for it, you can...
Read more >
Tutorials about "Python" - Slack API
Learn how to create your first Bolt app with an interactive app home. Uploading files using the Slack Python SDK Tutorial by Slack....
Read more >
Uploading files using the Slack Python SDK
This article details how to use the slack-sdk PyPI package to upload files to Slack with some code samples. By the end of...
Read more >
Slack API
Connect, simplify, and automate your work with Slack apps.
Read more >
Block Kit - Slack API
Customize the order and appearance of information and guide users through your app's capabilities by composing, updating, sequencing, and stacking blocks ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found