From 6ecdfe807ce4b9e48990ffb44255a8ce2495f14c Mon Sep 17 00:00:00 2001 From: Nicholas Devenish Date: Wed, 10 Jun 2026 21:41:58 +0100 Subject: [PATCH 1/3] Disable OpenTelemetry in dispatcher test fixture workflows 3.7's start_transport() reads config._opentelemetry and, if truthy, constructs an OTLPSpanExporter. Because the test fixture uses a MagicMock for the configuration, that attribute was a truthy MagicMock and the exporter blew up on urlparse(MagicMock). Force it to None so the OTEL path is skipped. --- tests/service/test_dispatcher.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/service/test_dispatcher.py b/tests/service/test_dispatcher.py index 1b3182fe..ebb84817 100644 --- a/tests/service/test_dispatcher.py +++ b/tests/service/test_dispatcher.py @@ -17,6 +17,7 @@ def mock_zocalo_configuration(tmp_path): mock_zc.storage = { "zocalo.recipe_directory": tmp_path, } + mock_zc._opentelemetry = None return mock_zc From ccc2c1ced1abd52ec25467630184d4bdc06fd9a5 Mon Sep 17 00:00:00 2001 From: Nicholas Devenish Date: Wed, 10 Jun 2026 21:50:19 +0100 Subject: [PATCH 2/3] History --- HISTORY.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/HISTORY.rst b/HISTORY.rst index 39d440e6..21d1459c 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -2,9 +2,12 @@ History ======= +1.6.0 (Unreleased) +----------------- +- Fix error running tests with Workflows 3.7 installed (`#307 `_) + 1.5.0 (2026-06-10) ------------------ - - Add docs for writing your own plugin (`#305 `_) - Update SLURM API to v0.0.44 (`#306 `_) From 2660bb828527a0a93f5dfe657149108b9adb5e67 Mon Sep 17 00:00:00 2001 From: Nicholas Devenish Date: Wed, 10 Jun 2026 21:52:08 +0100 Subject: [PATCH 3/3] Fix history --- HISTORY.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/HISTORY.rst b/HISTORY.rst index 21d1459c..3a3f85e4 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -4,12 +4,12 @@ History 1.6.0 (Unreleased) ----------------- -- Fix error running tests with Workflows 3.7 installed (`#307 `_) +- Fix error running tests with Workflows 3.7 installed. (`#308 `_) 1.5.0 (2026-06-10) ------------------ -- Add docs for writing your own plugin (`#305 `_) -- Update SLURM API to v0.0.44 (`#306 `_) +- Add docs for writing your own plugin. (`#305 `_) +- Update SLURM API to v0.0.44. (`#306 `_) 1.4.0 (2026-03-13) ------------------