Bug#1007890: FTBFS: No module named 'ipython_genutils'

Jérémy Lal kapouer at melix.org
Fri Mar 18 07:16:07 GMT 2022


Source: theano
Version: 1.0.5+dfsg-4
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)

cp /var/lib/nspawn-runner/.build/js-team/nodejs/debian/output/theano-1.0.5+dfsg/doc/library/d3viz/index.ipynb jupyter_tmp && jupyter-nbconvert --to notebook --execute /var/lib/nspawn-runner/.build/js-team/nodejs/debian/output/theano-1.0.5+dfsg/jupyter_tmp/index.ipynb --output /var/lib/nspawn-runner/.build/js-team/nodejs/debian/output/theano-1.0.5+dfsg/jupyter_tmp/test.ipynb
Traceback (most recent call last):
  File "/usr/bin/jupyter-nbconvert", line 33, in <module>
    sys.exit(load_entry_point('nbconvert==6.4.4', 'console_scripts', 'jupyter-nbconvert')())
  File "/usr/bin/jupyter-nbconvert", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib/python3.9/importlib/metadata.py", line 86, in load
    module = import_module(match.group('module'))
  File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 972, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/usr/lib/python3/dist-packages/nbconvert/__init__.py", line 4, in <module>
    from .exporters import *
  File "/usr/lib/python3/dist-packages/nbconvert/exporters/__init__.py", line 4, in <module>
    from .slides import SlidesExporter
  File "/usr/lib/python3/dist-packages/nbconvert/exporters/slides.py", line 12, in <module>
    from ..preprocessors.base import Preprocessor
  File "/usr/lib/python3/dist-packages/nbconvert/preprocessors/__init__.py", line 10, in <module>
    from .execute import ExecutePreprocessor
  File "/usr/lib/python3/dist-packages/nbconvert/preprocessors/execute.py", line 8, in <module>
    from nbclient import NotebookClient, execute as _execute
  File "/usr/lib/python3/dist-packages/nbclient/__init__.py", line 5, in <module>
    from .client import NotebookClient, execute  # noqa: F401
  File "/usr/lib/python3/dist-packages/nbclient/client.py", line 35, in <module>
    from .output_widget import OutputWidget
  File "/usr/lib/python3/dist-packages/nbclient/output_widget.py", line 6, in <module>
    from .jsonutil import json_clean
  File "/usr/lib/python3/dist-packages/nbclient/jsonutil.py", line 16, in <module>
    from ipython_genutils import py3compat
ModuleNotFoundError: No module named 'ipython_genutils'
make[1]: *** [debian/rules:46: override_dh_auto_build] Error 1


-- System Information:
Debian Release: bookworm/sid
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'unstable'), (101, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.16.0-5-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled



More information about the debian-science-maintainers mailing list