From 8b68481b43e2e46ba66b54cba21ae500c00f7ac8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 1 Dec 2025 03:24:35 +0000 Subject: [PATCH 1/2] Bump the pip group with 7 updates Bumps the pip group with 7 updates: | Package | From | To | | --- | --- | --- | | [anyio](https://github.com/agronholm/anyio) | `4.11.0` | `4.12.0` | | [faker](https://github.com/joke2k/faker) | `37.12.0` | `38.2.0` | | [hypothesis](https://github.com/HypothesisWorks/hypothesis) | `6.142.5` | `6.148.4` | | [mypy](https://github.com/python/mypy) | `1.18.2` | `1.19.0` | | [polyfactory](https://github.com/litestar-org/polyfactory) | `2.22.3` | `3.1.0` | | [pytest](https://github.com/pytest-dev/pytest) | `8.4.2` | `9.0.1` | | [ruff](https://github.com/astral-sh/ruff) | `0.14.3` | `0.14.7` | Updates `anyio` from 4.11.0 to 4.12.0 - [Release notes](https://github.com/agronholm/anyio/releases) - [Commits](https://github.com/agronholm/anyio/compare/4.11.0...4.12.0) Updates `faker` from 37.12.0 to 38.2.0 - [Release notes](https://github.com/joke2k/faker/releases) - [Changelog](https://github.com/joke2k/faker/blob/master/CHANGELOG.md) - [Commits](https://github.com/joke2k/faker/compare/v37.12.0...v38.2.0) Updates `hypothesis` from 6.142.5 to 6.148.4 - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.142.5...hypothesis-python-6.148.4) Updates `mypy` from 1.18.2 to 1.19.0 - [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md) - [Commits](https://github.com/python/mypy/compare/v1.18.2...v1.19.0) Updates `polyfactory` from 2.22.3 to 3.1.0 - [Release notes](https://github.com/litestar-org/polyfactory/releases) - [Changelog](https://github.com/litestar-org/polyfactory/blob/main/docs/changelog.rst) - [Commits](https://github.com/litestar-org/polyfactory/compare/v2.22.3...v3.1.0) Updates `pytest` from 8.4.2 to 9.0.1 - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/8.4.2...9.0.1) Updates `ruff` from 0.14.3 to 0.14.7 - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/0.14.3...0.14.7) --- updated-dependencies: - dependency-name: anyio dependency-version: 4.12.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: pip - dependency-name: faker dependency-version: 38.2.0 dependency-type: direct:development update-type: version-update:semver-major dependency-group: pip - dependency-name: hypothesis dependency-version: 6.148.4 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: pip - dependency-name: mypy dependency-version: 1.19.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: pip - dependency-name: polyfactory dependency-version: 3.1.0 dependency-type: direct:development update-type: version-update:semver-major dependency-group: pip - dependency-name: pytest dependency-version: 9.0.1 dependency-type: direct:development update-type: version-update:semver-major dependency-group: pip - dependency-name: ruff dependency-version: 0.14.7 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: pip ... Signed-off-by: dependabot[bot] --- pyproject.toml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 0efb7af..1706504 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,16 +5,16 @@ version = "0" [dependency-groups] dev = [ - "anyio==4.11.0", - "faker==37.12.0", - "hypothesis==6.142.5", - "mypy==1.18.2", - "polyfactory==2.22.3", - "pytest==8.4.2", + "anyio==4.12.0", + "faker==38.2.0", + "hypothesis==6.148.4", + "mypy==1.19.0", + "polyfactory==3.1.0", + "pytest==9.0.1", "pytest-cov==7.0.0", "pytest-timeout==2.4.0", "pytest-rerunfailures==16.1", - "ruff==0.14.3", + "ruff==0.14.7", "uvloop==0.22.1", ] From f5d60c6475ec4551e8fd2e5e2fb37b335b0d1779 Mon Sep 17 00:00:00 2001 From: Lev Vereshchagin Date: Mon, 1 Dec 2025 13:58:40 +0300 Subject: [PATCH 2/2] Handle missing ack header gracefully in subscription test --- packages/stompman/test_stompman/test_subscription.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/stompman/test_stompman/test_subscription.py b/packages/stompman/test_stompman/test_subscription.py index 488d114..27a3054 100644 --- a/packages/stompman/test_stompman/test_subscription.py +++ b/packages/stompman/test_stompman/test_subscription.py @@ -235,7 +235,7 @@ async def test_client_listen_ack_with_no_ack_header( monkeypatch.setattr(stompman.subscription, "_make_subscription_id", mock.Mock(return_value=subscription_id)) message_frame = build_dataclass(MessageFrame, headers={"subscription": subscription_id}) - message_frame.headers.pop("ack") + message_frame.headers.pop("ack", None) connection_class, collected_frames = create_spying_connection(*get_read_frames_with_lifespan([message_frame])) message_handler = mock.AsyncMock(side_effect=side_effect)