From 73354b4c7c078dac579b93de4b91e1449c1e68ec Mon Sep 17 00:00:00 2001 From: "CasperWA[ai][bot]" Date: Mon, 11 May 2026 09:09:59 +0200 Subject: [PATCH] Pin RabbitMQ broker image to 3.x in Celery tests (#680) RabbitMQ 4.x removed transient_nonexcl_queues, which Celery/kombu uses for the mingle boot-step. Pin to rabbitmq:3 via the default_rabbitmq_broker_image fixture override provided by pytest-celery for exactly this purpose. --- tests/strategies/transformation/conftest.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 tests/strategies/transformation/conftest.py diff --git a/tests/strategies/transformation/conftest.py b/tests/strategies/transformation/conftest.py new file mode 100644 index 00000000..563a7447 --- /dev/null +++ b/tests/strategies/transformation/conftest.py @@ -0,0 +1,11 @@ +"""Pytest fixtures for transformation strategy tests.""" + +from __future__ import annotations + +import pytest + + +@pytest.fixture +def default_rabbitmq_broker_image() -> str: + """Pin RabbitMQ to 3.x to avoid RabbitMQ 4.x removing transient_nonexcl_queues.""" + return "rabbitmq:3"