From bb65163bb531ecd7d2d09b5b1ed1bf17e06d85ff Mon Sep 17 00:00:00 2001 From: Regan-Koopmans Date: Mon, 19 Oct 2026 14:20:14 +0200 Subject: [PATCH] Pin pymdown-extensions below 12.2 to fix docs build pymdown-extensions 12.2 made md a required argument of Highlight.__init__. mkdocstrings 0.18.1 does not pass it, so mkdocs build fails with a TypeError. --- pyproject.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 44b92485..59b98c5c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -65,7 +65,10 @@ docs = [ "mkdocs-material==9.7.7", "mkdocstrings==0.18.1", "mkdocs_autorefs==1.0.1", - "mkdocs-macros-plugin==1.3.7" + "mkdocs-macros-plugin==1.3.7", + # 12.2 made md a required arg of Highlight.__init__, which + # mkdocstrings 0.18.1 does not pass. Remove after upgrading mkdocstrings. + "pymdown-extensions<12.2" ] dev = [ "planet[test, docs, lint, validate_models]",