From 3a100406445c2e431cee9683f845fd9d8d2e6736 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Mazzucotelli?= Date: Sun, 12 Nov 2023 18:36:13 +0100 Subject: [PATCH] chore: Fix debug module location, add packages to debug info --- .github/ISSUE_TEMPLATE/bug_report.md | 2 +- src/mkdocstrings_handlers/{ => python}/debug.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename src/mkdocstrings_handlers/{ => python}/debug.py (97%) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index ac47315f..ca545c26 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -50,7 +50,7 @@ PASTE TRACEBACK HERE redacting sensitive information. --> ```bash -python -m mkdocstrings_handlers.debug # | xclip -selection clipboard +python -m mkdocstrings_handlers.python.debug # | xclip -selection clipboard ``` PASTE OUTPUT HERE diff --git a/src/mkdocstrings_handlers/debug.py b/src/mkdocstrings_handlers/python/debug.py similarity index 97% rename from src/mkdocstrings_handlers/debug.py rename to src/mkdocstrings_handlers/python/debug.py index ffebc12e..7a4e8791 100644 --- a/src/mkdocstrings_handlers/debug.py +++ b/src/mkdocstrings_handlers/python/debug.py @@ -78,7 +78,7 @@ def get_debug_info() -> Environment: Environment information. """ py_name, py_version = _interpreter_name_version() - packages = ["mkdocstrings-python"] + packages = ["mkdocs", "mkdocstrings", "mkdocstrings-python", "griffe"] variables = ["PYTHONPATH", *[var for var in os.environ if var.startswith("MKDOCSTRINGS_PYTHON")]] return Environment( interpreter_name=py_name,