From 762f9b8a82b9c4465996628cbd300c06805396f8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Aug 2025 09:46:25 +0000 Subject: [PATCH 1/2] Bump mypy from 1.14.1 to 1.17.1 Bumps [mypy](https://github.com/python/mypy) from 1.14.1 to 1.17.1. - [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md) - [Commits](https://github.com/python/mypy/compare/v1.14.1...v1.17.1) --- updated-dependencies: - dependency-name: mypy dependency-version: 1.17.1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 646f9ea6..8f908d48 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,7 @@ dev = [ "anyio==4.8.0", "faker==37.5.3", "hypothesis==6.124.7", - "mypy==1.14.1", + "mypy==1.17.1", "polyfactory==2.19.0", "pytest==8.3.4", "pytest-cov==6.0.0", From 975bc724689b585650dbee2edb00f46296324eb8 Mon Sep 17 00:00:00 2001 From: Lev Vereshchagin Date: Mon, 4 Aug 2025 13:07:12 +0300 Subject: [PATCH 2/2] Support bytearray input in iter_bytes function --- packages/stompman/stompman/serde.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/stompman/stompman/serde.py b/packages/stompman/stompman/serde.py index a99d917a..fbfaa43b 100644 --- a/packages/stompman/stompman/serde.py +++ b/packages/stompman/stompman/serde.py @@ -46,7 +46,7 @@ } -def iter_bytes(bytes_: bytes) -> tuple[bytes, ...]: +def iter_bytes(bytes_: bytes | bytearray) -> tuple[bytes, ...]: return struct.unpack(f"{len(bytes_)!s}c", bytes_)