question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Incompatibility with mkdocs 1.2.

See original GitHub issue

Describe the bug The new released mkdocs 1.2 includes livereload, not as a dependency. Resulting in an import error:

  File "/usr/local/lib/python3.9/site-packages/mkdocstrings/plugin.py", line 18, in <module>
    from livereload import Server
ModuleNotFoundError: No module named 'livereload'

To Reproduce Steps to reproduce the behavior:

  1. pip install mkdocstrings
  2. python -c 'import mkdocstrings.plugin'

Expected behavior No error.

Information (please complete the following information):

  • mkdocstrings version: 0.15.1

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:7
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
oprypincommented, Jun 9, 2021

The release with the fix is now out.

@themightychris @jaceklaskowski @plannigan @deepcharles @lyz-code @Midnighter @coady @yi2020 (notifying users who linked workarounds from commits elsewhere)

1reaction
oprypincommented, Jun 8, 2021

Sorry, looks like for now a workaround will have to be used, until a new release with the fix can be made.

  • For now, manually add ‘livereload’ to your list of library requirements
  • Or, pin MkDocs to an older version
Read more comments on GitHub >

github_iconTop Results From Across the Web

Release Notes - MkDocs
Version 1.2.4 (2022-03-26) . Compatibility with Jinja2 3.1.0 (#2800). Due to a breaking change in Jinja2, MkDocs would crash with the ...
Read more >
Changelog - mkdocs-macros
A framework for macros and automation for mkdocs. ... Fixed: Incompatibility with mkdocs 1.2 ( on_serve() event, call to server.watch() ) ...
Read more >
Changelog - Material for MkDocs - GitHub Pages
Updated MkDocs to 1.4; Fixed compatibility issues with MkDocs 1.4; Fixed #4430: build error ... Bumped MkDocs version to 1.2.3 to mitigate CVE-2021-40978 ......
Read more >
Commits - rpms/mkdocs - src.fedoraproject.org
mkdocs is FTI due to python-markdown incompatibility, retiring in favour of pip+virtualenv · Sandro Mani • 23 days ago ... Update to 1.2.3....
Read more >
mkdocs-doc_1.1.2+dfsg-1_all.deb Debian 11 Download
Download mkdocs-doc_1.1.2+dfsg-1_all.deb for Debian 11 from Debian Main ... The lunr-languages library is unmaintained upstream and incompatible with the ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found