From 0b54e22e1fa1aa2eade747be194f251a2095cfa0 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Sat, 11 Apr 2026 19:22:46 +0800 Subject: [PATCH] mgr/dashboard: replace deprecated codecs.open with open codecs.open() was deprecated since Python 3.14, see https://docs.python.org/3/library/codecs.html#codecs.open. Let's use the builtin open() as recommended by the official document. Signed-off-by: Kefu Chai Signed-off-by: Kefu Chai --- src/pybind/mgr/dashboard/ci/check_grafana_dashboards.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pybind/mgr/dashboard/ci/check_grafana_dashboards.py b/src/pybind/mgr/dashboard/ci/check_grafana_dashboards.py index 95e1c3ffe030..b28a7d8295d3 100644 --- a/src/pybind/mgr/dashboard/ci/check_grafana_dashboards.py +++ b/src/pybind/mgr/dashboard/ci/check_grafana_dashboards.py @@ -13,7 +13,6 @@ e.g. python ci/