Subject: Pip3 can't list outdated packages.

From: Γιώργος Κωστόπουλος <[email-masked]>
Date: Sat, 13 Oct 2018 19:12:03 +0300

Package: python3-pip
Version: 9.0.1-2

Pip3 fails to locate packages, needs updating.
Trying to do that, throws an exception.

Please take a look, at the following console output:
>pip3 list -o
Exception:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/pip/basecommand.py", line 215, in main
    status = self.run(options, args)
  File "/usr/lib/python3/dist-packages/pip/commands/list.py", line 157, in run
    packages = self.get_outdated(packages, options)
  File "/usr/lib/python3/dist-packages/pip/commands/list.py", line
168, in get_outdated
    dist for dist in self.iter_packages_latest_infos(packages, options)
  File "/usr/lib/python3/dist-packages/pip/commands/list.py", line
169, in <listcomp>
    if dist.latest_version > dist.parsed_version
TypeError: unorderable types: Version() > SetuptoolsVersion()

On ASCII x64 KDE.