Skip to content

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

Open
Regan-Koopmans wants to merge 1 commit into
mainfrom
fix/pin-pymdown-extensions
Open

Regan-Koopmans wants to merge 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.

This branch has not been deployed

No deployments
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.

1 participant