Skip to content

Commit fe28b14

Browse files
feat: add support for python 3.14 (#1397)
1 parent 2086c7a commit fe28b14

File tree

7 files changed

+6
-12
lines changed

7 files changed

+6
-12
lines changed

.github/workflows/codecov.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
timeout-minutes: 10
1313
strategy:
1414
matrix:
15-
python-version: ["3.13"]
15+
python-version: ["3.14"]
1616
permissions:
1717
contents: read
1818
env:

.github/workflows/flake8.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
timeout-minutes: 20
1313
strategy:
1414
matrix:
15-
python-version: ["3.13"]
15+
python-version: ["3.14"]
1616
permissions:
1717
contents: read
1818
steps:

.github/workflows/mypy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
timeout-minutes: 20
1313
strategy:
1414
matrix:
15-
python-version: ["3.13"]
15+
python-version: ["3.14"]
1616
permissions:
1717
contents: read
1818
steps:

.github/workflows/tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
- "3.11"
2525
- "3.12"
2626
- "3.13"
27+
- "3.14"
2728
permissions:
2829
contents: read
2930
steps:

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,13 @@ classifiers = [
1515
"Programming Language :: Python :: 3.11",
1616
"Programming Language :: Python :: 3.12",
1717
"Programming Language :: Python :: 3.13",
18+
"Programming Language :: Python :: 3.14",
1819
"Programming Language :: Python :: Implementation :: CPython",
1920
"License :: OSI Approved :: MIT License",
2021
"Operating System :: OS Independent",
2122
]
2223
requires-python = ">=3.7"
23-
dependencies = ["slack_sdk>=3.37.0,<4"]
24+
dependencies = ["slack_sdk>=3.38.0,<4"]
2425

2526

2627
[project.urls]

slack_bolt/listener/async_listener.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,7 @@ async def run_ack_function(self, *, request: AsyncBoltRequest, response: BoltRes
7272

7373

7474
from logging import Logger
75-
from typing import Callable, Awaitable
76-
77-
from slack_bolt.listener_matcher.async_listener_matcher import AsyncListenerMatcher
7875
from slack_bolt.logger import get_bolt_app_logger
79-
from slack_bolt.middleware.async_middleware import AsyncMiddleware
80-
from slack_bolt.request.async_request import AsyncBoltRequest
81-
from slack_bolt.response import BoltResponse
8276

8377

8478
class AsyncCustomListener(AsyncListener):

slack_bolt/listener_matcher/async_listener_matcher.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ async def async_matches(self, req: AsyncBoltRequest, resp: BoltResponse) -> bool
2525

2626
from slack_bolt.kwargs_injection.async_utils import build_async_required_kwargs
2727
from slack_bolt.logger import get_bolt_app_logger
28-
from slack_bolt.request.async_request import AsyncBoltRequest
29-
from slack_bolt.response import BoltResponse
3028

3129

3230
class AsyncCustomListenerMatcher(AsyncListenerMatcher):

0 commit comments

Comments
 (0)