From 714f2b6c7b9134f28be9b94066cf371c9ab2cde4 Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Tue, 10 Sep 2024 14:53:09 +0200 Subject: [PATCH] Bump mkdocstrings dependencies This is to avoid an issue with some outdated `griffe` imports. While upgrading the dependency we need to remove the `custom_templates` option that we don't use, as it was previously ignored but now the plugin checks if the directory exists and fails if it doesn't. Signed-off-by: Leandro Lucarella --- mkdocs.yml | 1 - pyproject.toml | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mkdocs.yml b/mkdocs.yml index c08bbf6..54bc4bc 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -91,7 +91,6 @@ plugins: - mike: canonical_version: latest - mkdocstrings: - custom_templates: templates default_handler: python handlers: python: diff --git a/pyproject.toml b/pyproject.toml index 10d8ff6..b8a6fa2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -63,7 +63,8 @@ dev-mkdocs = [ "mkdocs-gen-files == 0.5.0", "mkdocs-literate-nav == 0.6.1", "mkdocs-material == 9.5.20", - "mkdocstrings[python] == 0.23.0", + "mkdocstrings[python] == 0.26.1", + "mkdocstrings-python == 1.11.1", "frequenz-repo-config[api] == 0.9.1", ] dev-mypy = [