From 1a5a1cf2c8e4667f8802f3e6fcf1f3d609fab075 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 1 Aug 2025 03:27:49 +0000 Subject: [PATCH 1/3] Bump hypothesis from 6.124.7 to 6.136.6 Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 6.124.7 to 6.136.6. - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.124.7...hypothesis-python-6.136.6) --- updated-dependencies: - dependency-name: hypothesis dependency-version: 6.136.6 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 ef773f83..49daf8a3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ version = "0" dev = [ "anyio==4.8.0", "faker==35.0.0", - "hypothesis==6.124.7", + "hypothesis==6.136.6", "mypy==1.14.1", "polyfactory==2.19.0", "pytest==8.3.4", From 6382e1b9d1c846b7c52884e5d2a89d9b3f29963c Mon Sep 17 00:00:00 2001 From: Lev Vereshchagin Date: Mon, 4 Aug 2025 13:32:08 +0300 Subject: [PATCH 2/3] Update noise bytes strategy to exclude command bytes in addition to newline and null --- packages/stompman/test_stompman/test_integration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/stompman/test_stompman/test_integration.py b/packages/stompman/test_stompman/test_integration.py index 9439839d..fff9f8c0 100644 --- a/packages/stompman/test_stompman/test_integration.py +++ b/packages/stompman/test_stompman/test_integration.py @@ -89,7 +89,7 @@ def bytes_not_contains(*avoided: bytes) -> Callable[[bytes], bool]: return lambda checked: all(item not in checked for item in avoided) -noise_bytes_strategy = strategies.binary().filter(bytes_not_contains(NEWLINE, NULL)) +noise_bytes_strategy = strategies.binary().filter(bytes_not_contains(NEWLINE, NULL, *COMMANDS_TO_FRAMES)) header_value_strategy = strategies.text().filter(lambda text: "\x00" not in text) headers_strategy = strategies.dictionaries(header_value_strategy, header_value_strategy).map( lambda headers: dict( From 7255c56b2d70ba4c49429296932c29742adaecd7 Mon Sep 17 00:00:00 2001 From: Lev Vereshchagin Date: Mon, 4 Aug 2025 13:38:46 +0300 Subject: [PATCH 3/3] Add docker compose logs to exit trap for better test debugging --- Justfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Justfile b/Justfile index c012fe0f..4f82e5b9 100644 --- a/Justfile +++ b/Justfile @@ -18,7 +18,7 @@ test-fast *args: test *args: #!/bin/bash - trap 'echo; docker compose down --remove-orphans' EXIT + trap 'echo; docker compose logs && docker compose down --remove-orphans' EXIT docker compose up -d uv run pytest {{args}}