From 61a7bb29d12aa64d6a214e835c66f423c27dc0e4 Mon Sep 17 00:00:00 2001 From: cwasicki <126617870+cwasicki@users.noreply.github.com> Date: Mon, 4 May 2026 14:27:19 +0200 Subject: [PATCH 1/3] Update black to v26.3.1 This version fixes a security issue. Signed-off-by: cwasicki <126617870+cwasicki@users.noreply.github.com> --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 6d630f1..7a47c5f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -52,9 +52,9 @@ dev-flake8 = [ "pydoclint == 0.8.3", "pydocstyle == 6.3.0", ] -dev-formatting = ["black == 25.12.0", "isort == 8.0.1"] +dev-formatting = ["black == 26.3.1", "isort == 8.0.1"] dev-mkdocs = [ - "black == 25.12.0", + "black == 26.3.1", "Markdown==3.10.2", "mike == 2.2.0", "mkdocs-gen-files == 0.6.1", From 0e7479b4e84d08a63441c5fd59c26a315088fe86 Mon Sep 17 00:00:00 2001 From: cwasicki <126617870+cwasicki@users.noreply.github.com> Date: Mon, 4 May 2026 14:28:43 +0200 Subject: [PATCH 2/3] Minor: fix formatting Signed-off-by: cwasicki <126617870+cwasicki@users.noreply.github.com> --- src/frequenz/client/reporting/__init__.py | 1 - tests/test_client_reporting.py | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frequenz/client/reporting/__init__.py b/src/frequenz/client/reporting/__init__.py index 43a52d4..e343723 100644 --- a/src/frequenz/client/reporting/__init__.py +++ b/src/frequenz/client/reporting/__init__.py @@ -6,7 +6,6 @@ This package provides a low-level interface for interacting with the reporting API. """ - from ._client import ReportingApiClient __all__ = ["ReportingApiClient"] diff --git a/tests/test_client_reporting.py b/tests/test_client_reporting.py index 0f59ab9..a6c0471 100644 --- a/tests/test_client_reporting.py +++ b/tests/test_client_reporting.py @@ -2,6 +2,7 @@ # Copyright © 2024 Frequenz Energy-as-a-Service GmbH """Tests for the frequenz.client.reporting package.""" + from unittest.mock import MagicMock, patch import pytest From 88adefc0225c242ac9ef52f36dcd03e7a74cc435 Mon Sep 17 00:00:00 2001 From: cwasicki <126617870+cwasicki@users.noreply.github.com> Date: Mon, 4 May 2026 14:31:34 +0200 Subject: [PATCH 3/3] Update release notes Signed-off-by: cwasicki <126617870+cwasicki@users.noreply.github.com> --- RELEASE_NOTES.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index f80f12e..0b43d26 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -6,7 +6,7 @@ ## Upgrading - +* Updates `black` to version 26.3.1, which fixes a security issue. ## New Features