Skip to content

Commit d6c0c2f

Browse files
chore: remove 3.6 support (#1359)
1 parent 9e0b3ed commit d6c0c2f

File tree

17 files changed

+33
-48
lines changed

17 files changed

+33
-48
lines changed

.github/maintainers_guide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ $ pyenv local 3.8.5
2525

2626
$ pyenv versions
2727
system
28-
3.6.10
29-
3.7.7
28+
3.7.17
29+
3.13.7
3030
* 3.8.5 (set by /path-to-bolt-python/.python-version)
3131

3232
$ pyenv rehash

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ A Python framework to build Slack apps in a flash with the latest platform featu
1919
## Setup
2020

2121
```bash
22-
# Python 3.6+ required
22+
# Python 3.7+ required
2323
python -m venv .venv
2424
source .venv/bin/activate
2525

@@ -153,7 +153,7 @@ Most of the app's functionality will be inside listener functions (the `fn` para
153153
If you'd prefer to build your app with [asyncio](https://docs.python.org/3/library/asyncio.html), you can import the [AIOHTTP](https://docs.aiohttp.org/en/stable/) library and call the `AsyncApp` constructor. Within async apps, you can use the async/await pattern.
154154

155155
```bash
156-
# Python 3.6+ required
156+
# Python 3.7+ required
157157
python -m venv .venv
158158
source .venv/bin/activate
159159

docs/english/building-an-app.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ $ mkdir first-bolt-app
7272
$ cd first-bolt-app
7373
```
7474

75-
Next, we recommend using a [Python virtual environment](https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/#creating-a-virtual-environment) to manage your project's dependencies. This is a great way to prevent conflicts with your system's Python packages. Let's create and activate a new virtual environment with [Python 3.6 or later](https://www.python.org/downloads/):
75+
Next, we recommend using a [Python virtual environment](https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/#creating-a-virtual-environment) to manage your project's dependencies. This is a great way to prevent conflicts with your system's Python packages. Let's create and activate a new virtual environment with [Python 3.7 or later](https://www.python.org/downloads/):
7676

7777
```sh
7878
$ python3 -m venv .venv

docs/english/getting-started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ In search of the complete guide to building an app from scratch? Check out the [
2121

2222
A few tools are needed for the following steps. We recommend using the [**Slack CLI**](/tools/slack-cli/) for the smoothest experience, but other options remain available.
2323

24-
You can also begin by installing git and downloading [Python 3.6 or later](https://www.python.org/downloads/), or the latest stable version of Python. Refer to [Python's setup and building guide](https://devguide.python.org/getting-started/setup-building/) for more details.
24+
You can also begin by installing git and downloading [Python 3.7 or later](https://www.python.org/downloads/), or the latest stable version of Python. Refer to [Python's setup and building guide](https://devguide.python.org/getting-started/setup-building/) for more details.
2525

2626
Install the latest version of the Slack CLI to get started:
2727

@@ -83,7 +83,7 @@ Outlines of a project are taking shape, so we can move on to running the app!
8383
</TabItem>
8484
</Tabs>
8585

86-
We recommend using a [Python virtual environment](https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/#creating-a-virtual-environment) to manage your project's dependencies. This is a great way to prevent conflicts with your system's Python packages. Let's create and activate a new virtual environment with [Python 3.6 or later](https://www.python.org/downloads/):
86+
We recommend using a [Python virtual environment](https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/#creating-a-virtual-environment) to manage your project's dependencies. This is a great way to prevent conflicts with your system's Python packages. Let's create and activate a new virtual environment with [Python 3.7 or later](https://www.python.org/downloads/):
8787

8888
```sh
8989
$ python3 -m venv .venv

docs/english/tutorial/ai-chatbot/ai-chatbot.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ In this tutorial, you'll learn how to bring the power of AI into your Slack work
1313
Before getting started, you will need the following:
1414

1515
* a development workspace where you have permissions to install apps. If you don’t have a workspace, go ahead and set that up now — you can [go here](https://slack.com/get-started#create) to create one, or you can join the [Developer Program](https://api.slack.com/developer-program) and provision a sandbox with access to all Slack features for free.
16-
* a development environment with [Python 3.6](https://www.python.org/downloads/) or later.
16+
* a development environment with [Python 3.7](https://www.python.org/downloads/) or later.
1717
* an Anthropic or OpenAI account with sufficient credits, and in which you have generated a secret key.
1818

1919
**Skip to the code**

docs/english/tutorial/custom-steps-for-jira/custom-steps-for-jira.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ In this tutorial, you'll learn how to configure custom steps for use with JIRA.
1212
Before getting started, you will need the following:
1313

1414
* a development workspace where you have permissions to install apps. If you don’t have a workspace, go ahead and set that up now—you can [go here](https://slack.com/get-started#create) to create one, or you can join the [Developer Program](https://api.slack.com/developer-program) and provision a sandbox with access to all Slack features for free.
15-
* a development environment with [Python 3.6](https://www.python.org/downloads/) or later.
15+
* a development environment with [Python 3.7](https://www.python.org/downloads/) or later.
1616

1717
**Skip to the code**
1818
If you'd rather skip the tutorial and just head straight to the code, you can use our [Bolt for Python JIRA functions sample](https://github.com/slack-samples/bolt-python-jira-functions) as a template.

docs/japanese/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ mkdir first-bolt-app
6464
cd first-bolt-app
6565
```
6666

67-
次に、プロジェクトの依存ライブラリを管理する方法として、[Python 仮想環境](https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/#creating-a-virtual-environment)を使ったおすすめの方法を紹介します。これはシステム Python に存在するパッケージとのコンフリクトを防ぐために推奨されている優れた方法です。[Python 3.6 以降](https://www.python.org/downloads/)の仮想環境を作成し、アクティブにしてみましょう。
67+
次に、プロジェクトの依存ライブラリを管理する方法として、[Python 仮想環境](https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/#creating-a-virtual-environment)を使ったおすすめの方法を紹介します。これはシステム Python に存在するパッケージとのコンフリクトを防ぐために推奨されている優れた方法です。[Python 3.7 以降](https://www.python.org/downloads/)の仮想環境を作成し、アクティブにしてみましょう。
6868

6969
```shell
7070
python3 -m venv .venv

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = ["setuptools", "pytest-runner==6.0.1", "wheel"]
2+
requires = ["setuptools", "wheel"]
33
build-backend = "setuptools.build_meta"
44

55
[project]
@@ -8,7 +8,6 @@ dynamic = ["version", "readme", "dependencies", "authors"]
88
description = "The Bolt Framework for Python"
99
license = { text = "MIT" }
1010
classifiers = [
11-
"Programming Language :: Python :: 3.6",
1211
"Programming Language :: Python :: 3.7",
1312
"Programming Language :: Python :: 3.8",
1413
"Programming Language :: Python :: 3.9",
@@ -20,7 +19,7 @@ classifiers = [
2019
"License :: OSI Approved :: MIT License",
2120
"Operating System :: OS Independent",
2221
]
23-
requires-python = ">=3.6"
22+
requires-python = ">=3.7"
2423

2524

2625
[project.urls]

requirements/adapter.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
# used only under slack_bolt/adapter
44
boto3<=2
55
bottle>=0.12,<1
6-
chalice<=1.27.3; python_version=="3.6"
7-
chalice>=1.28,<2; python_version>"3.6"
6+
chalice>=1.28,<2;
87
CherryPy>=18,<19
98
Django>=3,<6
109
falcon>=2,<5; python_version<"3.11"
@@ -17,8 +16,7 @@ pyramid>=1,<3
1716
# Sanic and its dependencies
1817
# Note: Sanic imports tracerite with wild card versions
1918
tracerite<1.1.2; python_version<="3.8" # older versions of python are not compatible with tracerite>1.1.2
20-
sanic>=20,<21; python_version=="3.6"
21-
sanic>=21,<24; python_version>"3.6" and python_version<="3.8"
19+
sanic>=21,<24; python_version<="3.8"
2220
sanic>=21,<26; python_version>"3.8"
2321

2422
starlette>=0.19.1,<1

requirements/adapter_testing.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
moto>=3,<6 # For AWS tests
33
docker>=5,<8 # Used by moto
44
boddle>=0.2,<0.3 # For Bottle app tests
5-
sanic-testing>=0.7; python_version>"3.6"
5+
sanic-testing>=0.7

0 commit comments

Comments
 (0)