Myst support: missing dependency on mdit-py-plugins?
See original GitHub issueHello!
I just made a fresh installation of jupytext via conda-forge. Loading a myst document in jupyter raised an error:
ImportError: The MyST Markdown format requires python >= 3.6 and markdown-it-py~=1.0
However markdown-it-py is there:
mamba list
jupytext 1.11.3 pyh6c4a22f_0 conda-forge
markdown-it-py 1.1.0 pyhd8ed1ab_0 conda-forge
Running the debugger, I noticed that it was actually the import of mdit-py-plugins that failed. After installing it with:
mamba install mdit-py-plugins
everything is fine.
Is mdit-py-plugins missing from the dependencies list of jupytext or of markdown-it-py?
Btw: the error message suggests version ~=1.0 of markdown-it-py; should it be >=1.0? 1.1 seems to work fine.
Thanks in advance!
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Issue with jupyter-book 0.11 and pip-compile #1351 - GitHub
I traced myst-parser back to 0.13.7 and it pins mdit-py-plugins to 0.2.5. Exactly and that works fine with markdown-it-py v0.6 ...
Read more >Changelog - MyST-Parser - Read the Docs
MyST -Parser now supports, and is tested against, Python 3.7 to 3.10. ... Additionally, mdit-py-plugins has been upgraded to v0.3.0.
Read more >1960583 – Review Request: python-myst-parser - Markdown ...
MyST allows you to write Sphinx documentation entirely in markdown. ... It is dependent on python-markdown-it-py and python-mdit-py-plugins ...
Read more >3. How to package a Python
The minimum version of Python your package will support. ... At the time of writing, one of the dependencies of myst-nb , mdit-py-plugins...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Confirmed here! Thanks a lot for the quick fix!
You’re welcome. Thanks for the confirmation!