Public bug reported:
Observed:
$ pip3 list --outdated
Exception:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/pip/basecommand.py", line 209, in main
status = self.run(options, args)
File "/usr/lib/python3/dist-packages/pip/commands/list.py", line 118, in run
self.run_outdated(options)
File "/usr/lib/python3/dist-packages/pip/commands/list.py", line 128, in
run_outdated
if latest_version > dist.parsed_version:
TypeError: unorderable types: Version() > SetuptoolsVersion()
Expected: a list of outdated packages is displayed.
This particular exception appears to be discussed upstream at:
https://github.com/pypa/pip/issues/3057
where an upstream dev says, quote, "I don't think there's anything we
can reasonably do here, you're running a patched or unsupported version
of pip. You should file a bug with whomever gave you your copy of pip
and ask them to stop patching it."
$ lsb_release -rd && apt-cache policy python3-pip
Description: Ubuntu 16.04 LTS
Release: 16.04
python3-pip:
Installed: 8.1.1-2
Candidate: 8.1.1-2
Version table:
*** 8.1.1-2 500
500 http://mirrors.mit.edu/ubuntu xenial/universe amd64 Packages
500 http://mirrors.mit.edu/ubuntu xenial/universe i386 Packages
100 /var/lib/dpkg/status
** Affects: python-pip (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1579181
Title:
"pip3 list --outdated" raises TypeError
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1579181/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs