From: Kefu Chai Date: Sat, 11 Apr 2026 11:22:46 +0000 (+0800) Subject: mgr/dashboard: replace deprecated codecs.open with open X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F68329%2Fhead;p=ceph.git 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 --- 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/