Skip to content

Update Markdown dependencies for MyST Parser 2 - #98

Open
rnk wants to merge 2 commits into
executablebooks:mainfrom
rnk:bump-deps
Open

rnk wants to merge 2 commits into
executablebooks:mainfrom
rnk:bump-deps

Conversation

@rnk

@rnk rnk commented Aug 4, 2026

Copy link
Copy Markdown

This makes the package compatible with LLVM's current documentation environment without asking LLVM to pin older MyST or markdown-it-py versions. See our markdown migration issue llvm/llvm-project#201242

Perhaps this fixes #77 , the update here sure seems redundant with #90.

Assisted-by: an agent

rnk and others added 2 commits August 4, 2026 17:56
MyST Parser 2 requires markdown-it-py 3, which conflicts with rst-to-myst's old markdown-it-py 2 and mdformat-myst 0.1 dependency line. Loosen the package metadata onto the mdformat 0.7.22 / mdformat-myst 0.3 stack so rst-to-myst can install into environments that already use MyST Parser 2.

Keep docutils>=0.17,<0.22, add an explicit mdit-py-plugins>=0.4,<0.5 requirement, and allow Sphinx 7 through the optional sphinx extra. This makes the package compatible with LLVM's current documentation environment without asking LLVM to pin older MyST or markdown-it-py versions.
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.

pip install rst-to-myst sphinx DOWNGRADES Sphinx v8 to v6

1 participant