From 0a451b444c389357c99ccfa63ef116616bfb8e94 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 1 Jul 2026 18:03:00 +0000 Subject: [PATCH 1/3] chore(deps): update mypy requirement from <=1.19.1 to <=2.1.0 Updates the requirements on [mypy](https://github.com/python/mypy) to permit the latest version. - [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md) - [Commits](https://github.com/python/mypy/compare/v0.1.0...v2.1.0) --- updated-dependencies: - dependency-name: mypy dependency-version: 2.1.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- requirements/tools.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements/tools.txt b/requirements/tools.txt index 8378169e4..9432399a7 100644 --- a/requirements/tools.txt +++ b/requirements/tools.txt @@ -1,4 +1,4 @@ -mypy<=1.19.1; +mypy<=2.1.0; # while flake8 5.x have issues with Python 3.12, flake8 6.x requires Python >= 3.8.1, # so 5.x should be kept in order to stay compatible with Python 3.7/3.8 flake8>=7.3.0,<8 From 75f28607a4e9d7269f9b6836cd7c25833ea7c94a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 2 Jul 2026 16:42:59 +0000 Subject: [PATCH 2/3] chore(deps): update mypy requirement from <=1.19.1 to <=2.1.0 Updates the requirements on [mypy](https://github.com/python/mypy) to permit the latest version. - [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md) - [Commits](https://github.com/python/mypy/compare/v0.1.0...v2.1.0) --- updated-dependencies: - dependency-name: mypy dependency-version: 2.1.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- requirements/tools.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements/tools.txt b/requirements/tools.txt index 8378169e4..9432399a7 100644 --- a/requirements/tools.txt +++ b/requirements/tools.txt @@ -1,4 +1,4 @@ -mypy<=1.19.1; +mypy<=2.1.0; # while flake8 5.x have issues with Python 3.12, flake8 6.x requires Python >= 3.8.1, # so 5.x should be kept in order to stay compatible with Python 3.7/3.8 flake8>=7.3.0,<8 From 780c369e020c4dfad5f8b67e3097eaceb0d5e41d Mon Sep 17 00:00:00 2001 From: William Bergamin Date: Thu, 2 Jul 2026 13:07:38 -0400 Subject: [PATCH 3/3] fix broken CI --- slack_sdk/models/blocks/block_elements.py | 2 +- slack_sdk/socket_mode/aiohttp/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/slack_sdk/models/blocks/block_elements.py b/slack_sdk/models/blocks/block_elements.py index 813f2ec5e..a238a865a 100644 --- a/slack_sdk/models/blocks/block_elements.py +++ b/slack_sdk/models/blocks/block_elements.py @@ -66,7 +66,7 @@ def parse(cls, block_element: Union[dict, "BlockElement"]) -> Optional[Union["Bl d = copy.copy(block_element) t = d.pop("type") for subclass in cls._get_sub_block_elements(): - if t == subclass.type: + if t == getattr(subclass, "type", None): return subclass(**d) if t == PlainTextObject.type: return PlainTextObject(**d) diff --git a/slack_sdk/socket_mode/aiohttp/__init__.py b/slack_sdk/socket_mode/aiohttp/__init__.py index 936e7c9a5..761683020 100644 --- a/slack_sdk/socket_mode/aiohttp/__init__.py +++ b/slack_sdk/socket_mode/aiohttp/__init__.py @@ -246,7 +246,7 @@ async def receive_messages(self) -> None: self.logger.debug( f"Received message " f"(type: {message_type}, " - f"data: {message_data}, " + f"data: {repr(message_data)}, " f"extra: {message.extra}, " f"session: {session_id})" )