From 2209a35130098e54f698049d8c487da32718f898 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 23 Jun 2025 08:07:32 +0000 Subject: [PATCH 1/2] Chore(deps-dev): Update ruff requirement from <0.12 to <0.13 Updates the requirements on [ruff](https://github.com/astral-sh/ruff) to permit the latest version. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/v0.0.18...0.12.0) --- updated-dependencies: - dependency-name: ruff dependency-version: 0.12.0 dependency-type: direct:development ... Signed-off-by: dependabot[bot] --- setup.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index e581e6b..c21cf35 100644 --- a/setup.cfg +++ b/setup.cfg @@ -87,7 +87,7 @@ develop = build<2 poethepoet<1 pip-review<2 # Use `pip-review --local --interactive` to upgrade outdated packages. - ruff<0.12;python_version>='3.7' + ruff<0.13;python_version>='3.7' twine<7 From 127bdc7c524cc6354f2e1220c43f18d665f480bc Mon Sep 17 00:00:00 2001 From: Andreas Motl Date: Thu, 26 Jun 2025 22:29:04 +0200 Subject: [PATCH 2/2] Chore: Fix software tests re. `play.grafana.org` --- test/test_async.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/test_async.py b/test/test_async.py index 74b06da..ca4041a 100644 --- a/test/test_async.py +++ b/test/test_async.py @@ -37,11 +37,11 @@ async def fetch_dashboard(async_client, uid): tasks = [] - for folder in folders: + for folder in folders[:2]: if folder["id"] > 0: # someone created an entry with a negative id... - tasks.append(fetch_dashboard(grafana, folder["uid"])) - if len(tasks) == 4: - break + dashboards = await grafana.search.search_dashboards(folder_uids=[folder["uid"]]) + for dashboard in dashboards[:4]: + tasks.append(fetch_dashboard(grafana, dashboard["uid"])) results = await asyncio.gather(*tasks)