Skip to content

Commit 46e25d3

Browse files
authored
Remove py36 references (#1331)
1 parent 347cb5e commit 46e25d3

File tree

5 files changed

+11
-4
lines changed

5 files changed

+11
-4
lines changed

.github/maintainers_guide.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ $ pyenv local 3.8.5
2525

2626
$ pyenv versions
2727
system
28+
3.6.10
2829
3.7.7
2930
* 3.8.5 (set by /path-to-bolt-python/.python-version)
3031

README.md

Lines changed: 1 addition & 1 deletion
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.7+ required
22+
# Python 3.6+ required
2323
python -m venv .venv
2424
source .venv/bin/activate
2525

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ dynamic = ["version", "readme", "dependencies", "authors"]
88
description = "The Bolt Framework for Python"
99
license = { text = "MIT" }
1010
classifiers = [
11+
"Programming Language :: Python :: 3.6",
1112
"Programming Language :: Python :: 3.7",
1213
"Programming Language :: Python :: 3.8",
1314
"Programming Language :: Python :: 3.9",
@@ -19,7 +20,7 @@ classifiers = [
1920
"License :: OSI Approved :: MIT License",
2021
"Operating System :: OS Independent",
2122
]
22-
requires-python = ">=3.7"
23+
requires-python = ">=3.6"
2324

2425

2526
[project.urls]

scripts/install_all_and_run_tests.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,12 @@ pip uninstall python-lambda
1616
test_target="$1"
1717
python_version=`python --version | awk '{print $2}'`
1818

19-
pip install -e .
19+
if [ ${python_version:0:3} == "3.6" ]
20+
then
21+
pip install -U -r requirements.txt
22+
else
23+
pip install -e .
24+
fi
2025

2126
if [[ $test_target != "" ]]
2227
then

slack_bolt/async_app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
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.
66
77
```bash
8-
# Python 3.7+ required
8+
# Python 3.6+ required
99
python -m venv .venv
1010
source .venv/bin/activate
1111

0 commit comments

Comments
 (0)