[Python-modules-team] Bug#979110: python3-ipykernel: DeprecationWarning so should declare dependency on python3-ipyparallel
Julian Gilbey
jdg at debian.org
Sat Jan 2 20:54:34 GMT 2021
Package: python3-ipykernel
Version: 5.4.2-1
Severity: normal
I am seeing warnings like the following from python3-ipykernel:
/usr/lib/python3/dist-packages/ipykernel/zmqshell.py:57
/usr/lib/python3/dist-packages/ipykernel/zmqshell.py:57: DeprecationWarning: ipykernel.datapub is deprecated. It has moved to ipyparallel.datapub
from ipykernel.datapub import ZMQDataPublisher
/usr/lib/python3/dist-packages/ipykernel/datapub.py:21
/usr/lib/python3/dist-packages/ipykernel/datapub.py:21: DeprecationWarning: ipykernel.serialize is deprecated. It has moved to ipyparallel.serialize
from ipykernel.serialize import serialize_object
/usr/lib/python3/dist-packages/ipykernel/serialize.py:25
/usr/lib/python3/dist-packages/ipykernel/serialize.py:25: DeprecationWarning: ipykernel.pickleutil is deprecated. It has moved to ipyparallel.
from ipykernel.pickleutil import (
/usr/lib/python3/dist-packages/ipykernel/pickleutil.py:26
/usr/lib/python3/dist-packages/ipykernel/pickleutil.py:26: DeprecationWarning: ipykernel.codeutil is deprecated since IPykernel 4.3.1. It has moved to ipyparallel.serialize
from ipykernel import codeutil
Looking at the code for ipykernel, it is attempting to load these
functions from ipyparallel and only falling back on the ipykernel
versions if ipyparallel is not available or is version < 5.0.0. So
this package should Depends: python3-ipyparallel.
Best wishes,
Julian
-- System Information:
Debian Release: bullseye/sid
APT prefers stretch
APT policy: (500, 'stretch'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.9.0-5-amd64 (SMP w/4 CPU threads)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_GB.UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages python3-ipykernel depends on:
ii python3 3.9.0-4
ii python3-ipython 7.19.0-1
ii python3-jupyter-client 6.1.6-1
ii python3-tornado 6.1.0-1+b1
ii python3-traitlets 5.0.5-1
python3-ipykernel recommends no packages.
python3-ipykernel suggests no packages.
-- no debconf information
More information about the Python-modules-team
mailing list