Your message dated Fri, 30 Aug 2024 05:35:02 +0000
with message-id <[email protected]>
and subject line Bug#1069027: fixed in jupyter-notebook 6.4.13-1
has caused the Debian Bug report #1069027,
regarding python3-notebook: Jupyter Notebook fails to start - wrong call to
traitlets.warn
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1069027: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1069027
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python3-notebook
X-Debbugs-Cc: [email protected]
Version: 6.4.12-2.2
Severity: grave
Justification: renders package unusable
When launching `jupyter notebook`, the following stack-trace is produced:
Begin stack-trace
```
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/notebook/traittypes.py", line 235, in
_resolve_classes
klass = self._resolve_string(klass)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/traitlets/traitlets.py", line 2015, in
_resolve_string
return import_item(string)
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/traitlets/utils/importstring.py", line
33, in import_item
module = __import__(package, fromlist=[obj])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'jupyter_server.contents'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/jupyter-notebook", line 33, in <module>
sys.exit(load_entry_point('notebook==6.4.12', 'console_scripts', 'jupyter-
notebook')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/jupyter_core/application.py", line 282,
in launch_instance
super().launch_instance(argv=argv, **kwargs)
File "/usr/lib/python3/dist-packages/traitlets/config/application.py", line
1073, in launch_instance
app = cls.instance(**kwargs)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/traitlets/config/configurable.py", line
583, in instance
inst = cls(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/traitlets/traitlets.py", line 1292, in
__new__
inst.setup_instance(*args, **kwargs)
File "/usr/lib/python3/dist-packages/traitlets/traitlets.py", line 1335, in
setup_instance
super(HasTraits, self).setup_instance(*args, **kwargs)
File "/usr/lib/python3/dist-packages/traitlets/traitlets.py", line 1311, in
setup_instance
init(self)
File "/usr/lib/python3/dist-packages/notebook/traittypes.py", line 226, in
instance_init
self._resolve_classes()
File "/usr/lib/python3/dist-packages/notebook/traittypes.py", line 238, in
_resolve_classes
warn(f"{klass} is not importable. Is it installed?", ImportWarning)
TypeError: warn() missing 1 required keyword-only argument: 'stacklevel'
```
End stack-trace
The offending line is line 238 of `/usr/lib/python3/dist-
packages/notebook/traittypes.py` where `traitlets.warn` is called
```
warn(f"{klass} is not importable. Is it installed?", ImportWarning)
```
The call fails to provide the required keyword argument `stacklevel` as seen in
line 9 of
```
/usr/lib/python3/dist-packages/traitlets/utils/warnings.py
```
A solution could be to patch the `jypyter-notebook` sources, though that would
probably need to be done in many places, or perhaps and update to newer
sources.
Yours,
Christian
-- System Information:
Debian Release: trixie/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.7.9-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages python3-notebook depends on:
ii fonts-font-awesome 5.0.10+really4.7.0~dfsg-4.1
ii libjs-backbone 1.4.1~dfsg+~1.4.15-3
ii libjs-bootstrap 3.4.1+dfsg-3
ii libjs-bootstrap-tour 0.12.0+dfsg-5
ii libjs-codemirror 5.65.0+~cs5.83.9-3
ii libjs-es6-promise 4.2.8-12
ii libjs-jed 1.1.1-4
ii libjs-jquery 3.6.1+dfsg+~3.5.14-1
ii libjs-jquery-typeahead 2.11.0+dfsg1-3
ii libjs-jquery-ui 1.13.2+dfsg-1
ii libjs-marked 4.2.3+ds+~4.0.7-3
ii libjs-mathjax 2.7.9+dfsg-1
ii libjs-moment 2.29.4+ds-1
ii libjs-requirejs 2.3.6+ds+~2.1.34-2
ii libjs-requirejs-text 2.0.12-1.1
ii libjs-text-encoding 0.7.0-5
ii libjs-underscore 1.13.4~dfsg+~1.11.4-3
ii libjs-xterm 5.3.0-2
ii python3 3.11.8-1
ii python3-argon2 21.1.0-2
ii python3-ipykernel 6.29.3-1
ii python3-ipython-genutils 0.2.0-6
ii python3-jinja2 3.1.3-1
ii python3-jupyter-client 7.4.9-2
ii python3-jupyter-core 5.3.2-1
ii python3-nbconvert 6.5.3-5
ii python3-nbformat 5.9.1-1
ii python3-nest-asyncio 1.5.4-1
ii python3-prometheus-client 0.19.0+ds1-1
ii python3-send2trash 1.8.2-1
ii python3-terminado 0.18.0-1
ii python3-tornado 6.4.0-1
ii python3-traitlets 5.14.2-2
ii python3-zmq 24.0.1-5+b1
Versions of packages python3-notebook recommends:
ii python3-ipywidgets 8.1.1-5
Versions of packages python3-notebook suggests:
pn python-notebook-doc <none>
-- no debconf information
--
Christian Holm Christensen -------------------------------------------------
Sankt Hans Gade 23, 4, DK-2200 Copenhagen
http://cern.ch/cholm, +4524618591
--- End Message ---
--- Begin Message ---
Source: jupyter-notebook
Source-Version: 6.4.13-1
Done: Diane Trout <[email protected]>
We believe that the bug you reported is fixed in the latest version of
jupyter-notebook, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Diane Trout <[email protected]> (supplier of updated jupyter-notebook package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 28 Aug 2024 14:54:05 -0700
Source: jupyter-notebook
Architecture: source
Version: 6.4.13-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Diane Trout <[email protected]>
Closes: 1069027
Changes:
jupyter-notebook (6.4.13-1) unstable; urgency=medium
.
* Team upload
* New upstream release (Closes: #1069027)
* add 0018-replace-assert-dict-contains-subset.patch
Works around a >= Python3.11 issue where assertDictContainsSubset was
removed.
* Refresh patches
* Use get-test-exclusions to pass the same test exclusions to both
autopkgtest and pybuild
* skip
services/kernels/tests/test_kernels_api.py::KernelAPITest::test_connections
because it reliabily times out with our current versions of zmq and
tornado.
This override should be checked and removed in the future.
* Remove superficial tests
* Install notebook/tests so we can use them in the debian CI
Checksums-Sha1:
0a4476bc861ad18fd228a2fe6d58e5f171394b52 3708 jupyter-notebook_6.4.13-1.dsc
2598f919e898580548aea465635c16e4cc4feee8 8501421
jupyter-notebook_6.4.13.orig.tar.gz
2c49e38a62c23af630ac915972aadd92d3403bf0 51040
jupyter-notebook_6.4.13-1.debian.tar.xz
d6d7adbcf4de34c8d4a1b755e10e76d39638d243 25861
jupyter-notebook_6.4.13-1_amd64.buildinfo
Checksums-Sha256:
4184d7eb8471474436d0ab5a60c5a7341e87d60535c87361001583cfd38f6687 3708
jupyter-notebook_6.4.13-1.dsc
6987230025659b478ecbbe921407c721a18082587994cb280bd131ad5853a15e 8501421
jupyter-notebook_6.4.13.orig.tar.gz
3522d6ee4aa15cc3657e93d30490ac67ce140e7b7c1766e402803ea6c859931d 51040
jupyter-notebook_6.4.13-1.debian.tar.xz
ebadb872c9e822bf11359f38301b287fd171c18c9d10242a99a51b7f6543da8a 25861
jupyter-notebook_6.4.13-1_amd64.buildinfo
Files:
5a393aafb9ea2c92ad3a25145645bceb 3708 python optional
jupyter-notebook_6.4.13-1.dsc
4d6131297f41de2bf2b451b57438fa11 8501421 python optional
jupyter-notebook_6.4.13.orig.tar.gz
81bf6b8f34b18a582ac2bc7ffcc6e375 51040 python optional
jupyter-notebook_6.4.13-1.debian.tar.xz
b981e8d25293653aa59ad5e441529581 25861 python optional
jupyter-notebook_6.4.13-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEETQVcMeSBIEX5AQ11mQ04NnM013AFAmbRUQ0ACgkQmQ04NnM0
13C+oA/+Ohr8bF08Dwatit6Fm3sWLB5ATpk7qMkfOXW2x6KovZbey0BKz7p9Ja04
HhLtfJt3LOxWUznWtZ4znhheb8fXxMPQhYWD0w9okhEXvm7WGrSaYDujcahuR7GE
wrRllLbajdR2JgTb+nO1HGCVwC2Cdoy4c/p7AiKGXYokbCACirxRBqPoAPMIkiIl
PxNX75ZwFQxzO0V9IPB5KlRMWSsdchRN7VoYFdJ1OTU/U75ornffIUP8taRvj4Ld
OgO71jsXNZcJNSM0hOczObuanmqWOROK27WAdn8gGXzVtlUl2q+DLiuK2rLYypOC
R40ZqsxntphSO/ci2vRsOo4E00DfIrAE1bG3wTTOcMu+kc72u0rw857H4Ub5rpiN
GYnjmPBA1bIMSXrZTU4b7vU9CFwspSl03PmysxutHn5dzBQ74I21Dr6SDQa8z95C
7ql4zYJ18AlvoIHBBU5HHZrL4iNyBgdkulNktoUKnJZ524ac3yexE0j17nTAXsml
az1RWKZkcPbg08P0i1dpy2qPwqKMOk3Lg7Vvw7maQW8yHuBy+Iw+gY5BcznJfYjj
IfA1GvpgI2tDE/1urbHSfEATMoktFoDTQu/5W6newK1Iz194Cka+VntVv53quNc/
L/HRpxDmzSNIZkfQnHZ8bUqR0zYdOppnmEtv981ekt+V4AXFtew=
=cSD8
-----END PGP SIGNATURE-----
pgptyHHNRbwTf.pgp
Description: PGP signature
--- End Message ---