[Python-modules-team] Bug#912379: /usr/bin/pip3: TypeError on "list --outdated": uses different Version implementations
Arnaldo Pirrone
it9exm at gmail.com
Mon Aug 12 11:59:52 BST 2019
Package: python3-pip
Version: 18.1-5
Followup-For: Bug #912379
Hi, the same is happening here:
Exception:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line
143, in main
status = self.run(options, args)
File "/usr/lib/python3/dist-packages/pip/_internal/commands/list.py", line
138, in run
packages = self.get_outdated(packages, options)
File "/usr/lib/python3/dist-packages/pip/_internal/commands/list.py", line
149, in get_outdated
dist for dist in self.iter_packages_latest_infos(packages, options)
File "/usr/lib/python3/dist-packages/pip/_internal/commands/list.py", line
150, in <listcomp>
if dist.latest_version > dist.parsed_version
TypeError: '>' not supported between instances of 'Version' and 'Version'
according to https://github.com/pypa/pip/issues/5429
the bug is located downstream.
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.2.0-8.1-liquorix-amd64 (SMP w/4 CPU cores; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages python3-pip depends on:
ii ca-certificates 20190110
ii python-pip-whl 18.1-5
ii python3 3.7.3-1
ii python3-distutils 3.7.4-3
Versions of packages python3-pip recommends:
ii build-essential 12.6
ii python3-dev 3.7.3-1
ii python3-setuptools 41.0.1-1
ii python3-wheel 0.32.3-2
python3-pip suggests no packages.
-- no debconf information
More information about the Python-modules-team
mailing list