diff --git a/pyproject.toml b/pyproject.toml index 544dfffe..fcc1022c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,7 +30,7 @@ classifiers = [ ] dependencies = [ "mkdocstrings>=0.25", - "griffe>=0.48", + "griffe>=0.49", ] [project.urls] diff --git a/src/mkdocstrings_handlers/python/handler.py b/src/mkdocstrings_handlers/python/handler.py index d7c39699..a4a5b47c 100644 --- a/src/mkdocstrings_handlers/python/handler.py +++ b/src/mkdocstrings_handlers/python/handler.py @@ -19,7 +19,7 @@ ModulesCollection, Parser, load_extensions, - patch_logger, + patch_loggers, ) from mkdocstrings.extension import PluginError from mkdocstrings.handlers.base import BaseHandler, CollectionError, CollectorItem @@ -50,7 +50,7 @@ def chdir(path: str) -> Iterator[None]: # noqa: D103 logger = get_logger(__name__) -patch_logger(get_logger) +patch_loggers(get_logger) class PythonHandler(BaseHandler):