From b19357a9428e0966c0559af8a1196a6fd2bced4b Mon Sep 17 00:00:00 2001 From: Zoheb Shaikh <26975142+ZohebShaikh@users.noreply.github.com> Date: Mon, 7 Sep 2026 09:29:43 +0100 Subject: [PATCH] fix(deps): update dependency event-model to v1.24.0 --- docs/reference/asyncapi.yaml | 16 +++++++-------- pyproject.toml | 2 +- uv.lock | 38 +++++++++++++----------------------- 3 files changed, 23 insertions(+), 33 deletions(-) diff --git a/docs/reference/asyncapi.yaml b/docs/reference/asyncapi.yaml index f78394420c..097a7e0390 100644 --- a/docs/reference/asyncapi.yaml +++ b/docs/reference/asyncapi.yaml @@ -43,7 +43,7 @@ components: name: const: "start" doc: - $ref: "https://raw.githubusercontent.com/bluesky/event-model/refs/tags/v1.22.1/src/event_model/schemas/run_start.json" + $ref: "https://raw.githubusercontent.com/bluesky/event-model/refs/tags/v1.24.0/src/event_model/schemas/run_start.json" taggedStopDocument: messageId: runStop summary: Indicates the completion of a Bluesky run based on a previously specified Plan; describes end conditions and metadata @@ -55,7 +55,7 @@ components: name: const: "stop" doc: - $ref: "https://raw.githubusercontent.com/bluesky/event-model/refs/tags/v1.22.1/src/event_model/schemas/run_stop.json" + $ref: "https://raw.githubusercontent.com/bluesky/event-model/refs/tags/v1.24.0/src/event_model/schemas/run_stop.json" taggedDescriptorDocument: messageId: eventStreamDescriptor summary: Describes the devices to be within a scientifically related stream of measurements @@ -67,7 +67,7 @@ components: name: const: "descriptor" doc: - $ref: "https://raw.githubusercontent.com/bluesky/event-model/refs/tags/v1.22.1/src/event_model/schemas/event_descriptor.json" + $ref: "https://raw.githubusercontent.com/bluesky/event-model/refs/tags/v1.24.0/src/event_model/schemas/event_descriptor.json" taggedEventDocument: messageId: dataEvent summary: Describes a point measurement for a number of scientifically related devices @@ -79,7 +79,7 @@ components: name: const: "event" doc: - $ref: "https://raw.githubusercontent.com/bluesky/event-model/refs/tags/v1.22.1/src/event_model/schemas/event.json" + $ref: "https://raw.githubusercontent.com/bluesky/event-model/refs/tags/v1.24.0/src/event_model/schemas/event.json" taggedResourceDocument: messageId: resource summary: Describes an external resource (file, database entry etc.) that is to be referenced by later datum @@ -91,7 +91,7 @@ components: name: const: "resource" doc: - $ref: "https://raw.githubusercontent.com/bluesky/event-model/refs/tags/v1.22.1/src/event_model/schemas/resource.json" + $ref: "https://raw.githubusercontent.com/bluesky/event-model/refs/tags/v1.24.0/src/event_model/schemas/resource.json" taggedDatumDocument: messageId: datum summary: Describes how to access a point measurement within an external resource @@ -103,7 +103,7 @@ components: name: const: "datum" doc: - $ref: "https://raw.githubusercontent.com/bluesky/event-model/refs/tags/v1.22.1/src/event_model/schemas/datum.json" + $ref: "https://raw.githubusercontent.com/bluesky/event-model/refs/tags/v1.24.0/src/event_model/schemas/datum.json" taggedResourceStream: messageId: streamResource summary: Describes an external resource (file, database entry etc.) that is to be referenced by later Stream Datum @@ -115,7 +115,7 @@ components: name: const: "stream_resource" doc: - $ref: "https://raw.githubusercontent.com/bluesky/event-model/refs/tags/v1.22.1/src/event_model/schemas/stream_resource.json" + $ref: "https://raw.githubusercontent.com/bluesky/event-model/refs/tags/v1.24.0/src/event_model/schemas/stream_resource.json" taggedDatumStream: messageId: streamDatum summary: Describes how to access a slice of an external resource @@ -127,7 +127,7 @@ components: name: const: "stream_datum" doc: - $ref: "https://raw.githubusercontent.com/bluesky/event-model/refs/tags/v1.22.1/src/event_model/schemas/stream_datum.json" + $ref: "https://raw.githubusercontent.com/bluesky/event-model/refs/tags/v1.24.0/src/event_model/schemas/stream_datum.json" workerStateEvent: messageId: stateEvent headers: diff --git a/pyproject.toml b/pyproject.toml index 547ea3af50..e78835476e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,7 +27,7 @@ dependencies = [ "uvicorn>=0.52.1", "requests", "GitPython>=3.1.58", #security base min https://github.com/advisories/GHSA-4gmw-gg2m-w46p - "event-model==1.23.1", # https://github.com/DiamondLightSource/blueapi/issues/684 + "event-model==1.24.0", # https://github.com/DiamondLightSource/blueapi/issues/684 "bluesky-stomp>=0.1.6", "opentelemetry-distro>=0.48b0", "opentelemetry-instrumentation-fastapi>=0.48b0", diff --git a/uv.lock b/uv.lock index 886e08f8eb..8457c279a5 100644 --- a/uv.lock +++ b/uv.lock @@ -3,10 +3,10 @@ revision = 3 requires-python = ">=3.11" resolution-markers = [ "python_full_version >= '3.14' and sys_platform == 'emscripten'", - "python_full_version == '3.13.*' and sys_platform == 'emscripten'", - "python_full_version == '3.12.*' and sys_platform == 'emscripten'", "python_full_version >= '3.14' and sys_platform != 'emscripten'", + "python_full_version == '3.13.*' and sys_platform == 'emscripten'", "python_full_version == '3.13.*' and sys_platform != 'emscripten'", + "python_full_version == '3.12.*' and sys_platform == 'emscripten'", "python_full_version == '3.12.*' and sys_platform != 'emscripten'", "python_full_version < '3.12' and sys_platform == 'win32'", "python_full_version < '3.12' and sys_platform == 'emscripten'", @@ -524,7 +524,7 @@ requires-dist = [ { name = "bluesky-stomp", specifier = ">=0.1.6" }, { name = "click", specifier = ">=8.2.0" }, { name = "dls-dodal", marker = "extra == 'demo'", specifier = ">=1.69.0" }, - { name = "event-model", specifier = "==1.23.1" }, + { name = "event-model", specifier = "==1.24.0" }, { name = "fastapi", specifier = ">=0.112.0" }, { name = "gitpython", specifier = ">=3.1.58" }, { name = "graypy", specifier = ">=2.1.0" }, @@ -1586,18 +1586,17 @@ wheels = [ [[package]] name = "event-model" -version = "1.23.1" +version = "1.24.0" source = { registry = "https://pypi.org/simple" } dependencies = [ - { name = "importlib-resources" }, { name = "jsonschema" }, { name = "numpy", version = "2.4.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.12'" }, { name = "numpy", version = "2.5.3", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.12'" }, { name = "typing-extensions" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/f9/5a/de03f05fdbc4377db89fa6daf243e89370f9bcf2d21ad96b54d4549a74ed/event_model-1.23.1.tar.gz", hash = "sha256:5bb70fd8c7f345aa32afe561aff5a306b2c8a19cbdc3066b736643c8092ddaab", size = 185271, upload-time = "2025-08-28T13:26:38.647Z" } +sdist = { url = "https://files.pythonhosted.org/packages/9f/bc/e181740329de157a5f5ba985ab8da558a77ceb710532a1636e9dc2a42e53/event_model-1.24.0.tar.gz", hash = "sha256:18e632d52a7caa0987d5d7198bc23e06f2e4ca5e8794d384d74f9e0c34a773d8", size = 185208, upload-time = "2026-06-03T10:58:03.71Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/fb/32/e31e3363bf48ad2ba80b644b01ad9676ce154f1b755950de81eb4ed5b6bd/event_model-1.23.1-py3-none-any.whl", hash = "sha256:e0b951b829cebcf3879beff238bb370fd997d315856bc5d5ac2a66202b854958", size = 77057, upload-time = "2025-08-28T13:26:37.228Z" }, + { url = "https://files.pythonhosted.org/packages/b2/9e/d410b0ff08a2519d197928afdc1aa36eb47e197f5ba683389b00e216f83c/event_model-1.24.0-py3-none-any.whl", hash = "sha256:87e9415b349f9c9aa7576090b671442e49548ea9b63c5e8ab64573f4df1c2d61", size = 76666, upload-time = "2026-06-03T10:58:02.598Z" }, ] [[package]] @@ -2561,15 +2560,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/b3/55/ecca97ae19075f1fac62def77731e7f535e6c1fb8f92ff08160c5e6dade8/importlib_metadata-9.0.1-py3-none-any.whl", hash = "sha256:bba5600596a7e21f3eef53281cf28d6a5195634d2f2b78ff9501a3272c6eaab0", size = 27920, upload-time = "2026-08-28T15:30:33.433Z" }, ] -[[package]] -name = "importlib-resources" -version = "7.1.0" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/e4/06/b56dfa750b44e86157093bc8fca0ab81dccbf5260510de4eaf1cb69b5b99/importlib_resources-7.1.0.tar.gz", hash = "sha256:0722d4c6212489c530f2a145a34c0a7a3b4721bc96a15fada5930e2a0b760708", size = 44985, upload-time = "2026-04-12T16:36:09.232Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/8a/db/55a262f3606bebcae07cc14095338471ad7c0bbcaa37707e6f0ee49725b7/importlib_resources-7.1.0-py3-none-any.whl", hash = "sha256:1bd7b48b4088eddb2cd16382150bb515af0bd2c70128194392725f82ad2c96a1", size = 37232, upload-time = "2026-04-12T16:36:08.219Z" }, -] - [[package]] name = "iniconfig" version = "2.3.0" @@ -3679,10 +3669,10 @@ version = "2.5.3" source = { registry = "https://pypi.org/simple" } resolution-markers = [ "python_full_version >= '3.14' and sys_platform == 'emscripten'", - "python_full_version == '3.13.*' and sys_platform == 'emscripten'", - "python_full_version == '3.12.*' and sys_platform == 'emscripten'", "python_full_version >= '3.14' and sys_platform != 'emscripten'", + "python_full_version == '3.13.*' and sys_platform == 'emscripten'", "python_full_version == '3.13.*' and sys_platform != 'emscripten'", + "python_full_version == '3.12.*' and sys_platform == 'emscripten'", "python_full_version == '3.12.*' and sys_platform != 'emscripten'", ] sdist = { url = "https://files.pythonhosted.org/packages/13/01/11703282db468b85f6f7b8c7f22d058de5970d5c7e60a3a8aaa313c3de36/numpy-2.5.3.tar.gz", hash = "sha256:df2d5874ff183595a4ba404edd04f6bd9b5505c1d7708573f6a6c17489a67563", size = 20791231, upload-time = "2026-09-06T16:27:47.073Z" } @@ -5799,10 +5789,10 @@ version = "9.1.0" source = { registry = "https://pypi.org/simple" } resolution-markers = [ "python_full_version >= '3.14' and sys_platform == 'emscripten'", - "python_full_version == '3.13.*' and sys_platform == 'emscripten'", - "python_full_version == '3.12.*' and sys_platform == 'emscripten'", "python_full_version >= '3.14' and sys_platform != 'emscripten'", + "python_full_version == '3.13.*' and sys_platform == 'emscripten'", "python_full_version == '3.13.*' and sys_platform != 'emscripten'", + "python_full_version == '3.12.*' and sys_platform == 'emscripten'", "python_full_version == '3.12.*' and sys_platform != 'emscripten'", ] dependencies = [ @@ -6826,10 +6816,10 @@ version = "3.7" source = { registry = "https://pypi.org/simple" } resolution-markers = [ "python_full_version >= '3.14' and sys_platform == 'emscripten'", - "python_full_version == '3.13.*' and sys_platform == 'emscripten'", - "python_full_version == '3.12.*' and sys_platform == 'emscripten'", "python_full_version >= '3.14' and sys_platform != 'emscripten'", + "python_full_version == '3.13.*' and sys_platform == 'emscripten'", "python_full_version == '3.13.*' and sys_platform != 'emscripten'", + "python_full_version == '3.12.*' and sys_platform == 'emscripten'", "python_full_version == '3.12.*' and sys_platform != 'emscripten'", ] dependencies = [ @@ -7083,10 +7073,10 @@ version = "3.3.0" source = { registry = "https://pypi.org/simple" } resolution-markers = [ "python_full_version >= '3.14' and sys_platform == 'emscripten'", - "python_full_version == '3.13.*' and sys_platform == 'emscripten'", - "python_full_version == '3.12.*' and sys_platform == 'emscripten'", "python_full_version >= '3.14' and sys_platform != 'emscripten'", + "python_full_version == '3.13.*' and sys_platform == 'emscripten'", "python_full_version == '3.13.*' and sys_platform != 'emscripten'", + "python_full_version == '3.12.*' and sys_platform == 'emscripten'", "python_full_version == '3.12.*' and sys_platform != 'emscripten'", ] dependencies = [