At runtime: $ nikola build -a Traceback (most recent call last): File "/usr/lib/python-exec/python3.10/nikola", line 33, in <module> sys.exit(load_entry_point('Nikola==8.2.2', 'console_scripts', 'nikola')()) File "/usr/lib/python3.10/site-packages/nikola/__main__.py", line 166, in main _ = DN.run(oargs) File "/usr/lib/python3.10/site-packages/nikola/__main__.py", line 354, in run self.nikola.init_plugins() File "/usr/lib/python3.10/site-packages/nikola/nikola.py", line 1173, in init_plugins plugin_info.plugin_object.set_site(self) File "/usr/lib/python3.10/site-packages/nikola/plugins/compile/markdown/__init__.py", line 105, in set_site self.converters[lang] = ThreadLocalMarkdown(extensions, lang_extension_configs) File "/usr/lib/python3.10/site-packages/nikola/plugins/compile/markdown/__init__.py", line 59, in __init__ self.markdown = Markdown(extensions=extensions, extension_configs=extension_configs, output_format="html5") File "/usr/lib/python3.10/site-packages/markdown/core.py", line 96, in __init__ self.registerExtensions(extensions=kwargs.get('extensions', []), File "/usr/lib/python3.10/site-packages/markdown/core.py", line 131, in registerExtensions raise TypeError( TypeError: Extension "yapsy_loaded_plugin_mdx_gist_0.GistExtension" must be of type: "markdown.extensions.Extension" I see this with markdown-3.4 and 3.4.1. The problem disappears after downgrading to markdown-3.3.7.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e95ffb55b4b40e9bc7599c1bb513575728fb2c9 commit 0e95ffb55b4b40e9bc7599c1bb513575728fb2c9 Author: Ulrich Müller <ulm@gentoo.org> AuthorDate: 2022-07-22 12:31:59 +0000 Commit: Ulrich Müller <ulm@gentoo.org> CommitDate: 2022-07-22 12:36:05 +0000 www-apps/nikola: Depend on <dev-python/markdown-3.4 This works around breakage at runtime. Bug: https://bugs.gentoo.org/860087 Signed-off-by: Ulrich Müller <ulm@gentoo.org> www-apps/nikola/nikola-8.2.2-r1.ebuild | 1 + 1 file changed, 1 insertion(+)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6637557f1b4ae76e05299a6f4cead4aed80179ba commit 6637557f1b4ae76e05299a6f4cead4aed80179ba Author: Ulrich Müller <ulm@gentoo.org> AuthorDate: 2022-07-22 18:59:17 +0000 Commit: Ulrich Müller <ulm@gentoo.org> CommitDate: 2022-07-22 19:00:50 +0000 www-apps/nikola: Fix runtime error with >=dev-python/markdown-3.4 Closes: https://bugs.gentoo.org/860087 Signed-off-by: Ulrich Müller <ulm@gentoo.org> .../nikola/files/nikola-8.2.2-markdown-3.4.patch | 49 +++++++++++++++++ www-apps/nikola/nikola-8.2.2-r2.ebuild | 62 ++++++++++++++++++++++ 2 files changed, 111 insertions(+)