[Python-modules-team] Bug#948355: python3-jupyter-client: python syntax warning during install

Eldon Koyle ekoyle at gmail.com
Tue Jan 7 17:37:22 GMT 2020


Package: python3-jupyter-client
Version: 5.3.4-1
Severity: minor


While installing python3-jupyter-client, the following error was shown:

Setting up python3-jupyter-client (5.3.4-1) ...
/usr/lib/python3/dist-packages/jupyter_client/manager.py:81:
SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if self._kernel_spec is None and self.kernel_name is not '':


This appears to have been fixed in the upstream git by removing the
offending comparison (which always evaluates to true anyway).  I figured
it was worth opening a bug to note that this is a purely cosmetic issue
and it should be fixed in the next upstream release.


-- System Information:
Debian Release: bullseye/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'unstable'), (500,
'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.3.0-3-amd64 (SMP w/12 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-jupyter-client depends on:
ii  python3               3.7.5-3
ii  python3-dateutil      2.7.3-3
ii  python3-jupyter-core  4.6.1-1
ii  python3-tornado       6.0.3+really5.1.1-2
ii  python3-traitlets     4.3.3-2
ii  python3-zmq           17.1.2-4

python3-jupyter-client recommends no packages.

python3-jupyter-client suggests no packages.

-- no debconf information


-- 
Eldon Koyle



More information about the Python-modules-team mailing list