bolt-python icon indicating copy to clipboard operation
bolt-python copied to clipboard

Python 3.6 support plans

Open seratch opened this issue 2 years ago • 0 comments

Python 3.6 is already EOL-ed:

3.6 will receive bugfix updates approximately every 3 months for about 24 months. Sometime after the release of 3.7.0 final, a final 3.6 bugfix update will be released. After that, it is expected that security updates (source only) will be released as needed until 5 years after the release of 3.6 final, so until approximately 2021-12. As of 2021-12-23, 3.6 has reached the end-of-life phase of its release cycle. 3.6.15 was the final security release. The code base for 3.6 is now frozen and no further updates will be provided nor issues of any kind will be accepted on the bug tracker. https://www.python.org/dev/peps/pep-0494/#lifespan

Recently, I've been observing that many Python open-source libraries started dropping the major version support. What should our plans for it be?

As for bolt-python and its underlying slack-sdk modules, I believe that we should not drop 3.6 in the short term. We know that many customers' apps may be still running in 3.6 and I do understand that many Slack app maintainers are busy for other things as well.

Also, the benefits with 3.7+ on this SDK side would be somewhat limited. If we drop 3.6, we can use data classes (PEP 557), which is available since 3.7. It makes the internal code much simpler but I still would like to avoid users' immediate migration cost.

If anyone has some thoughts on this, please feel free to write in the comments!

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
  • [x] Others

seratch avatar Feb 25 '22 23:02 seratch