Repository navigation
fix(docs): bump mkdocstrings to 1.0.7 for pymdown-extensions 12.2 - #10629
Merged
Merged
Conversation
pymdown-extensions 12.2 made Highlight.__init__ require an md argument, which breaks mkdocstrings 1.0.6 and fails every docs build. Amp-Thread-ID: https://ampcode.com/threads/T-01a13070-310d-739a-abc1-9b4c33bffaa6 Co-authored-by: Isaac Miller <isaac@cmpnd.ai>
Contributor
|
3 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📝 Changes Description
Docs builds have been failing on every PR since Oct 10 with:
pymdown-extensions 12.2 (released 2026-10-10) made
mda required argument ofHighlight.__init__.docs/requirements.txtpinsmkdocstrings==1.0.6, which doesn't pass it, but leaves pymdown-extensions unpinned, so fresh installs pick up 12.2. The last green docs run (Oct 9) differs from the failing runs only in pymdown-extensions 12.1 → 12.2.mkdocstrings 1.0.7 includes the upstream fix (mkdocstrings/mkdocstrings@ff510f2, "fix: Support pymdownx 12.2"). This PR bumps the pin.
Verified locally with CI's command (
python docs/scripts/build_docs.py current --config docs/mkdocs.yml) on Python 3.12 with pymdown-extensions 12.2:TypeError.✅ Contributor Checklist
mkdocstrings 1.0.7 drops Python 3.10 support. The docs workflows run on 3.12 (PR build) and 3.11 (publish), so CI is unaffected. The
publish-currentjob onmainhits the same failure until this merges.