Skip to content

Pin pymdown-extensions below 12.2 to fix docs build - #1234

Merged
Regan-Koopmans merged 1 commit into
mainfrom
fix/pin-pymdown-extensions
Oct 26, 2026
Merged

Regan-Koopmans merged 1 commit into
mainfrom
fix/pin-pymdown-extensions

Conversation

@Regan-Koopmans

Copy link
Copy Markdown
Contributor

pymdown-extensions 12.2 (released 2026-10-10) made md a required argument of Highlight.__init__. mkdocstrings 0.18.1 does not pass it, so mkdocs build fails:

TypeError: Highlight.__init__() missing 1 required positional argument: 'md'

pymdown-extensions comes in transitively through mkdocstrings and mkdocs-material, neither of which caps it. This pins it below 12.2.

The pin is a stopgap. Remove it after upgrading mkdocstrings.

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.
@Regan-Koopmans
Regan-Koopmans merged commit 9b5e50b into main Oct 26, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants