Skip to content

Commit 5f4c847

Browse files
chore: support python 3.13 (#1221)
* chore: support python 3.13 * Update .github/workflows/tests.yml Co-authored-by: Kazuhiro Sera <[email protected]> --------- Co-authored-by: Kazuhiro Sera <[email protected]>
1 parent ed32039 commit 5f4c847

File tree

4 files changed

+13
-14
lines changed

4 files changed

+13
-14
lines changed

.github/workflows/codecov.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
timeout-minutes: 10
1212
strategy:
1313
matrix:
14-
python-version: ["3.11"]
14+
python-version: ["3.13"]
1515
env:
1616
BOLT_PYTHON_CODECOV_RUNNING: "1"
1717
steps:

.github/workflows/mypy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
timeout-minutes: 20
1212
strategy:
1313
matrix:
14-
python-version: ["3.12"]
14+
python-version: ["3.13"]
1515
steps:
1616
- uses: actions/checkout@v4
1717
- name: Set up Python ${{ matrix.python-version }}

.github/workflows/tests.yml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,15 @@ jobs:
1212
timeout-minutes: 10
1313
strategy:
1414
matrix:
15-
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11"]
15+
python-version:
16+
- "3.6"
17+
- "3.7"
18+
- "3.8"
19+
- "3.9"
20+
- "3.10"
21+
- "3.11"
22+
- "3.12"
23+
- "3.13"
1624
steps:
1725
- uses: actions/checkout@v4
1826
- name: Set up Python ${{ matrix.python-version }}
@@ -44,17 +52,9 @@ jobs:
4452
- name: Run tests for HTTP Mode adapters (Django)
4553
run: |
4654
pytest tests/adapter_tests/django/
47-
- name: Run tests for HTTP Mode adapters (Falcon 3.x)
55+
- name: Run tests for HTTP Mode adapters (Falcon)
4856
run: |
4957
pytest tests/adapter_tests/falcon/
50-
- name: Run tests for HTTP Mode adapters (Falcon 2.x)
51-
run: |
52-
# Falcon 2.x does not support Python 3.11 or newer
53-
# See also: https://github.com/slackapi/bolt-python/issues/757
54-
if [ ${{ matrix.python-version }} != "3.11" ]; then
55-
pip install "falcon<3"
56-
pytest tests/adapter_tests/falcon/
57-
fi
5858
- name: Run tests for HTTP Mode adapters (Flask)
5959
run: |
6060
pytest tests/adapter_tests/flask/
@@ -76,8 +76,6 @@ jobs:
7676
pytest tests/adapter_tests/socket_mode/
7777
- name: Run tests for HTTP Mode adapters (asyncio-based libraries)
7878
run: |
79-
# Falcon supports Python 3.11 since its v3.1.1
80-
pip install "falcon>=3.1.1,<4"
8179
pytest tests/adapter_tests_async/
8280
- name: Run tests for HTTP Mode adapters (ASGI)
8381
run: |

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ classifiers = [
1515
"Programming Language :: Python :: 3.10",
1616
"Programming Language :: Python :: 3.11",
1717
"Programming Language :: Python :: 3.12",
18+
"Programming Language :: Python :: 3.13",
1819
"Programming Language :: Python :: Implementation :: CPython",
1920
"License :: OSI Approved :: MIT License",
2021
"Operating System :: OS Independent",

0 commit comments

Comments
 (0)