Skip to content

community/jupyer-nbconvert: add missing py3-packaging dep

Must have missed this dependency at some point but something changed recently and some of my container images stopped working with jupyter-nbconvert, throwing the following error:

  File "/usr/lib/python3.11/site-packages/nbconvert/exporters/__init__.py", line 1, in <module>
    from .asciidoc import ASCIIDocExporter
  File "/usr/lib/python3.11/site-packages/nbconvert/exporters/asciidoc.py", line 9, in <module>
    from .templateexporter import TemplateExporter
  File "/usr/lib/python3.11/site-packages/nbconvert/exporters/templateexporter.py", line 29, in <module>
    from nbconvert import filters
  File "/usr/lib/python3.11/site-packages/nbconvert/filters/__init__.py", line 8, in <module>
    from .markdown import *
  File "/usr/lib/python3.11/site-packages/nbconvert/filters/markdown.py", line 23, in <module>
    from .pandoc import convert_pandoc
  File "/usr/lib/python3.11/site-packages/nbconvert/filters/pandoc.py", line 1, in <module>
    from nbconvert.utils.pandoc import pandoc
  File "/usr/lib/python3.11/site-packages/nbconvert/utils/pandoc.py", line 12, in <module>
    from nbconvert.utils.version import check_version
  File "/usr/lib/python3.11/site-packages/nbconvert/utils/version.py", line 10, in <module>
    from packaging.version import Version

Adding an explicit dependency on py3-packaging fixes this.

Edited by boomanaiden154

Merge request reports

Loading