KyleKing/mdformat-mkdocs

`linkify` not in newer `mdit-py-plugins`

Closed this issue · 1 comments

When running pip install mdformat_mkdocs==1.0.2rc2:

Looking in indexes: https://pypi.org/simple, https://.../
Collecting mdformat_mkdocs==1.0.2rc2
  Using cached mdformat_mkdocs-1.0.2rc2-py3-none-any.whl (5.4 kB)
Collecting mdformat>=0.7.16
  Using cached mdformat-0.7.16-py3-none-any.whl (29 kB)
Collecting mdformat-gfm>=0.3.5
  Using cached mdformat_gfm-0.3.5-py3-none-any.whl (4.9 kB)
Collecting mdit-py-plugins[linkify]>=0.3.3
  Using cached mdit_py_plugins-0.4.0-py3-none-any.whl (54 kB)
Requirement already satisfied: tomli>=1.1.0 in ./venv/lib/python3.10/site-packages (from mdformat>=0.7.16->mdformat_mkdocs==1.0.2rc2) (2.0.1)
Collecting markdown-it-py<3.0.0,>=1.0.0
  Using cached markdown_it_py-2.2.0-py3-none-any.whl (84 kB)
Requirement already satisfied: markdown-it-py[linkify] in ./venv/lib/python3.10/site-packages (from mdformat-gfm>=0.3.5->mdformat_mkdocs==1.0.2rc2) (3.0.0)
Collecting mdit-py-plugins<0.4.0,>=0.2.0
  Using cached mdit_py_plugins-0.3.5-py3-none-any.whl (52 kB)
Collecting mdformat-tables>=0.4.0
  Using cached mdformat_tables-0.4.1-py3-none-any.whl (4.6 kB)
WARNING: mdit-py-plugins 0.4.0 does not provide the extra 'linkify'
WARNING: mdit-py-plugins 0.3.5 does not provide the extra 'linkify'
Requirement already satisfied: mdurl~=0.1 in ./venv/lib/python3.10/site-packages (from markdown-it-py<3.0.0,>=1.0.0->mdformat>=0.7.16->mdformat_mkdocs==1.0.2rc2) (0.1.2)
Collecting linkify-it-py<3,>=1
  Using cached linkify_it_py-2.0.2-py3-none-any.whl (19 kB)
Collecting uc-micro-py
  Using cached uc_micro_py-1.0.2-py3-none-any.whl (6.2 kB)
Installing collected packages: uc-micro-py, markdown-it-py, mdit-py-plugins, mdformat, linkify-it-py, mdformat-tables, mdformat-gfm, mdformat_mkdocs
  Attempting uninstall: markdown-it-py
    Found existing installation: markdown-it-py 3.0.0
    Uninstalling markdown-it-py-3.0.0:
      Successfully uninstalled markdown-it-py-3.0.0
Successfully installed linkify-it-py-2.0.2 markdown-it-py-2.2.0 mdformat-0.7.16 mdformat-gfm-0.3.5 mdformat-tables-0.4.1 mdformat_mkdocs-1.0.2rc2 mdit-py-plugins-0.3.5 uc-micro-py-1.0.2

[notice] A new release of pip available: 22.3.1 -> 23.1.2
[notice] To update, run: pip install --upgrade pip

The meaningful part is this:

WARNING: mdit-py-plugins 0.4.0 does not provide the extra 'linkify'
WARNING: mdit-py-plugins 0.3.5 does not provide the extra 'linkify'

Just sharing, I don't know if linkify (used here) is offered in newer versions of mdit-py-plugins.

Thanks! I hadn't realized that there were warnings

I have no idea how that bug came to be, but maybe from misreading the markdown-it-py docs: https://github.com/executablebooks/markdown-it-py/tree/14cca384e608c49d205866347d66e35cb2b66ff9#installation