[Python-modules-team] Bug#866776: FTBFS not finding constants
Julien Puydt
julien.puydt at laposte.net
Sat Jul 1 16:15:24 UTC 2017
Package: src:jupyter-notebook
Version: 4.2.3-4
Hi,
I was pondering updating ipython-genutils in Debian, so I tried to
compile the rdeps with my new package. The only failing one was
jupyter-notebook, but I then checked if it was really my new package's
fault: no, it also fails when I try to compile the sources as-is.
The error is at the end of this mail.
I hope that helps,
Snark on #debian-js
PS:
I: pybuild base:184: cd
/build/jupyter-notebook-4.2.3/.pybuild/pythonX.Y_3.6/bui
ld; python3.6 -m nose
....EEE....................................EEEEEEEE..................................E..E...F...S
======================================================================
ERROR: Failure: ImportError (cannot import name 'constants')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/nose/failure.py", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
File "/usr/lib/python3/dist-packages/nose/loader.py", line 418, in
loadTestsFromName
addr.filename, addr.module)
File "/usr/lib/python3/dist-packages/nose/importer.py", line 47, in
importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/lib/python3/dist-packages/nose/importer.py", line 94, in
importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/usr/lib/python3.6/imp.py", line 234, in load_module
return load_source(name, filename, file)
File "/usr/lib/python3.6/imp.py", line 172, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 675, in _load
File "<frozen importlib._bootstrap>", line 655, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 205, in
_call_with_frames_removed
File
"/build/jupyter-notebook-4.2.3/.pybuild/pythonX.Y_3.6/build/notebook/nbconvert/tests/test_nbconvert_handlers.py",
line 12, in <module>
from notebook.tests.launchnotebook import NotebookTestBase,
assert_http_error
File
"/build/jupyter-notebook-4.2.3/.pybuild/pythonX.Y_3.6/build/notebook/tests/launchnotebook.py",
line 21, in <module>
import zmq
File "/usr/lib/python3/dist-packages/zmq/__init__.py", line 34, in
<module>
from zmq import backend
File "/usr/lib/python3/dist-packages/zmq/backend/__init__.py", line
40, in <module>
reraise(*exc_info)
File "/usr/lib/python3/dist-packages/zmq/utils/sixcerpt.py", line 34,
in reraise
raise value
File "/usr/lib/python3/dist-packages/zmq/backend/__init__.py", line
27, in <module>
_ns = select_backend(first)
File "/usr/lib/python3/dist-packages/zmq/backend/select.py", line 26,
in select_backend
mod = __import__(name, fromlist=public_api)
File "/usr/lib/python3/dist-packages/zmq/backend/cython/__init__.py",
line 6, in <module>
from . import (constants, error, message, context,
ImportError: cannot import name 'constants'
======================================================================
ERROR: Failure: ImportError (cannot import name 'constants')
----------------------------------------------------------------------
More information about the Python-modules-team
mailing list