Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: support python 3.13 #1221

Merged
merged 3 commits into from
Dec 16, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
timeout-minutes: 10
strategy:
matrix:
python-version: ["3.11"]
python-version: ["3.13"]
env:
BOLT_PYTHON_CODECOV_RUNNING: "1"
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mypy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
timeout-minutes: 20
strategy:
matrix:
python-version: ["3.12"]
python-version: ["3.13"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand Down
20 changes: 9 additions & 11 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,15 @@ jobs:
timeout-minutes: 10
strategy:
matrix:
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11"]
python-version:
- "3.6"
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand Down Expand Up @@ -47,14 +55,6 @@ jobs:
- name: Run tests for HTTP Mode adapters (Falcon 3.x)
WilliamBergamin marked this conversation as resolved.
Show resolved Hide resolved
run: |
pytest tests/adapter_tests/falcon/
- name: Run tests for HTTP Mode adapters (Falcon 2.x)
run: |
# Falcon 2.x does not support Python 3.11 or newer
# See also: https://github.com/slackapi/bolt-python/issues/757
if [ ${{ matrix.python-version }} != "3.11" ]; then
pip install "falcon<3"
pytest tests/adapter_tests/falcon/
fi
- name: Run tests for HTTP Mode adapters (Flask)
run: |
pytest tests/adapter_tests/flask/
Expand All @@ -76,8 +76,6 @@ jobs:
pytest tests/adapter_tests/socket_mode/
- name: Run tests for HTTP Mode adapters (asyncio-based libraries)
run: |
# Falcon supports Python 3.11 since its v3.1.1
pip install "falcon>=3.1.1,<4"
pytest tests/adapter_tests_async/
- name: Run tests for HTTP Mode adapters (ASGI)
run: |
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
Expand Down
Loading