Your message dated Wed, 12 Jul 2017 01:07:58 +0000
with message-id <[email protected]>
and subject line Re: [Python-modules-team] Bug#847918: python3-pip: Can be 
closed.
has caused the Debian Bug report #847918,
regarding python3-pip: Exception on 'pip3 list --outdated'
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
847918: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=847918
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python3-pip
Version: 9.0.1-1
Severity: normal
Tags: upstream

Pip3 fails when attempting to list only outdated packages with 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()


Similar options (-u/-e/..) seem unaffected and work as expected. Note that this 
is coming from my system Python 3, i.e. currently 3.5.2, on Stretch,
and only applies to pip3. Pip2 list -o doesn't fail. I'm using Debian's 
original pip3 package. Getting same result after reinstalling (pip), so I
don't think it's locally broken. Also might not even be an upstream problem, at 
least I'm not getting the error on other platforms, as far as I can say.

Gr.
Oliver


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.8.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python3-pip depends on:
ii  ca-certificates  20161102
ii  python-pip-whl   9.0.1-1
pn  python3:any      <none>

Versions of packages python3-pip recommends:
ii  build-essential     12.2
ii  python3-dev         3.5.1-4
ii  python3-setuptools  28.7.1-1
ii  python3-wheel       0.29.0-2

python3-pip suggests no packages.

--- End Message ---
--- Begin Message ---

On July 11, 2017 6:28:40 PM MDT, Oliver Schode <[email protected]> wrote:
>Package: python3-pip
>Followup-For: Bug #847918
>
>Hi,
>
>this report can be closed. As could've been deduced from the error
>message,
>the crash was rather due to a local version conflict between pip and
>Setuptools.
>It appears I had accidentally updated my system version of the latter,
>instead
>of a user or pyvenv installation. So this is not a bug.
>
>Oliver
>
>
>-- System Information:
>Debian Release: buster/sid
>  APT prefers unstable-debug
>  APT policy: (500, 'unstable-debug'), (500, 'unstable')
>Architecture: amd64 (x86_64)
>
>Kernel: Linux 4.11.0-1-amd64 (SMP w/4 CPU cores)
>Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
>LANGUAGE=en_US (charmap=UTF-8)
>Shell: /bin/sh linked to /bin/dash
>Init: systemd (via /run/systemd/system)
>
>Versions of packages python3-pip depends on:
>ii  ca-certificates  20161130+nmu1
>ii  python-pip-whl   9.0.1-2
>ii  python3          3.5.3-3
>
>Versions of packages python3-pip recommends:
>ii  build-essential     12.3
>ii  python3-dev         3.5.3-3
>ii  python3-setuptools  36.0.1-1
>ii  python3-wheel       0.29.0-2
>
>python3-pip suggests no packages.
>
>-- no debconf information
>
>_______________________________________________
>Python-modules-team mailing list
>[email protected]
>http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

--- End Message ---
_______________________________________________
Python-modules-team mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to