Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility Issue: Plugin Breaks with MkDocs Version 1.6.0 Due to Missing Module #200

Closed
matanco64 opened this issue May 5, 2024 · 5 comments

Comments

@matanco64
Copy link

When trying to use the plugin after installing Version 1.6.0 of MkDocs, I'm getting:

           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/usr/local/lib/python3.11/site-packages/mkdocs_jupyter/plugin.py", line 9, in <module>
    from mkdocs.tests.base import get_markdown_toc
ModuleNotFoundError: No module named 'mkdocs.tests'

This happens immediately when loading the plugin

@chuckwondo
Copy link

I just ran into this as well. I see that mkdocs now excludes mkdocs.tests from export in its entirety:

@oprypin
Copy link
Contributor

oprypin commented May 12, 2024

@cwognum
Copy link

cwognum commented May 23, 2024

@oprypin I think it actually made it into a release, it's just the conda-forge release is broken. See #197 and conda-forge/mkdocs-jupyter-feedstock#31

@evelynmitchell
Copy link

I'm running into this issue building docs in https://github.com/evelynmitchell/swarms/blob/master/docs/mkdocs.yml
(commented out currently, to get the build working)

I believe everything should be up to date, as this is being run out of ghactions:
https://github.com/evelynmitchell/swarms/blob/master/.github/workflows/docs.yml

@danielfrg
Copy link
Owner

fix in the latest release. thanks for the reports

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

No branches or pull requests

6 participants