From 62916b36f304c71f2f33715063d1b9544ad5c09e Mon Sep 17 00:00:00 2001 From: Elzbieta Kotulska Date: Thu, 27 Feb 2025 18:23:31 +0100 Subject: [PATCH] Widen frequenz-sdk dependency to v1.0.0-rc1800 Signed-off-by: Elzbieta Kotulska --- RELEASE_NOTES.md | 3 ++- pyproject.toml | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index c39b1cd..dae035d 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -17,8 +17,9 @@ This release introduces a more flexible and powerful mechanism for managing disp * Refer to the updated [usage example](https://frequenz-floss.github.io/frequenz-dispatch-python/latest/reference/frequenz/dispatch/#frequenz.dispatch.DispatchActorsService) for more information. * `DispatchUpdate` was renamed to `DispatchInfo`. + ## New Features * A new feature "merge strategy" (`MergeByType`, `MergeByTypeTarget`) has been added to the `Dispatcher.new_running_state_event_receiver` method. Using it, you can automatically merge consecutive and overlapping dispatch start/stop events of the same type. E.g. dispatch `A` starting at 10:10 and ending at 10:30 and dispatch `B` starts at 10:30 until 11:00, with the feature enabled this would in total trigger one start event, one reconfigure event at 10:30 and one stop event at 11:00. -* The SDK dependency was widened to allow versions up to (excluding) v1.0.0-rc1600. +* The SDK dependency was widened to allow versions up to (excluding) v1.0.0-rc1800. * Actor management with dispatches has been simplified. Calling `Dispatcher.start_dispatching(dispatch_type, actor_factory, merge_strategy)` will begin managing your actor for the given type and merge strategy. All you need provide is an actor factory. To stop dispatching for your type, call `Dispatcher.stop_dispatching(dispatch_type)`. diff --git a/pyproject.toml b/pyproject.toml index b344d18..0631b51 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -38,7 +38,7 @@ dependencies = [ # Make sure to update the version for cross-referencing also in the # mkdocs.yml file when changing the version here (look for the config key # plugins.mkdocstrings.handlers.python.import) - "frequenz-sdk >= 1.0.0-rc1302, < 1.0.0-rc1600", + "frequenz-sdk >= 1.0.0-rc1302, < 1.0.0-rc1800", "frequenz-channels >= 1.6.1, < 2.0.0", "frequenz-client-dispatch >= 0.8.4, < 0.9.0", ] @@ -52,7 +52,7 @@ email = "floss@frequenz.com" dev-flake8 = [ "flake8 == 7.1.1", "flake8-docstrings == 1.7.0", - "flake8-pyproject == 1.2.3", # For reading the flake8 config from pyproject.toml + "flake8-pyproject == 1.2.3", # For reading the flake8 config from pyproject.toml "pydoclint == 0.6.0", "pydocstyle == 6.3.0", ]