[Bug 1579181] Re: "pip3 list --outdated" raises TypeError

2020-05-05 Thread Scott Kitterman
The fix for this was included in 20.0.2-4 imported from Debian.

 python-pip | 20.0.2-5ubuntu1   | focal/universe   | source
 python-pip | 20.0.2-5ubuntu1   | groovy/universe  | source

** Changed in: python-pip (Ubuntu)
   Status: Confirmed => Fix Released

-- 
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/pip/+bug/1579181/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1579181] Re: "pip3 list --outdated" raises TypeError

2020-04-06 Thread Bug Watch Updater
** Changed in: python-pip (Debian)
   Status: Confirmed => Fix Released

-- 
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/pip/+bug/1579181/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1579181] Re: "pip3 list --outdated" raises TypeError

2020-04-02 Thread Laurent Bonnaud via ubuntu-bugs
** Tags added: focal

-- 
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/pip/+bug/1579181/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1579181] Re: "pip3 list --outdated" raises TypeError

2020-04-02 Thread Bug Watch Updater
** Changed in: python-pip (Debian)
   Status: Unknown => Confirmed

-- 
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/pip/+bug/1579181/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1579181] Re: "pip3 list --outdated" raises TypeError

2020-04-01 Thread Laurent Bonnaud via ubuntu-bugs
** Changed in: python-pip (Debian)
   Status: New => Unknown

** Changed in: python-pip (Debian)
 Remote watch: Debian Bug tracker #878082 => Debian Bug tracker #912379

-- 
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/pip/+bug/1579181/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1579181] Re: "pip3 list --outdated" raises TypeError

2020-03-31 Thread Bug Watch Updater
** Changed in: python-pip (Debian)
   Status: Fix Released => 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/pip/+bug/1579181/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1579181] Re: "pip3 list --outdated" raises TypeError

2020-03-30 Thread Bug Watch Updater
** Changed in: python-pip (Debian)
   Status: New => Fix Released

-- 
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/pip/+bug/1579181/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1579181] Re: "pip3 list --outdated" raises TypeError

2020-01-06 Thread wavesailor
I think I found a solution but not sure if it's the "right" thing to do
so maybe experts can comment?

You need to modify the pip file: sudo vim /usr/bin/pip3

The original code is:

from pip import main
if __name__ == '__main__':
sys.exit(main())

Need to change to:

from pip import __main__
if __name__ == '__main__':
sys.exit(__main__._main())

Then run this: sudo pip3 install pip --upgrade

Then you can run:
sudo pip3 list --outdated

-- 
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/pip/+bug/1579181/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1579181] Re: "pip3 list --outdated" raises TypeError

2020-01-06 Thread wavesailor
Does anyone have a workaround for this issue until it gets resolved?

-- 
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/pip/+bug/1579181/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1579181] Re: "pip3 list --outdated" raises TypeError

2019-10-24 Thread Laurent Bonnaud via ubuntu-bugs
** Tags added: eoan

-- 
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/pip/+bug/1579181/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1579181] Re: "pip3 list --outdated" raises TypeError

2019-10-24 Thread Thomas Dreibholz
** Bug watch added: github.com/pypa/pip/issues #6079
   https://github.com/pypa/pip/issues/6079

** Also affects: pip via
   https://github.com/pypa/pip/issues/6079
   Importance: Unknown
   Status: Unknown

-- 
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/pip/+bug/1579181/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1579181] Re: "pip3 list --outdated" raises TypeError

2019-10-24 Thread Thomas Dreibholz
The problem still exists in the current Ubuntu Bionic (October 24,
2019):

dreibh@kringsjaa:~$ pip3 list --outdated
DEPRECATION: The default format will switch to columns in the future. You can 
use --format=(legacy|columns) (or define a format=(legacy|columns) in your 
pip.conf under the [list] section) to disable this warning.
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 

if dist.latest_version > dist.parsed_version
TypeError: '>' not supported between instances of 'Version' and 'Version'
dreibh@kringsjaa:~$ apt-show-versions | grep python3-pip
python3-pip:all/bionic-updates 9.0.1-2.3~ubuntu1.18.04.1 uptodate
dreibh@kringsjaa:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:Ubuntu 18.04.3 LTS
Release:18.04
Codename:   bionic

Since finding outdated packages is security-relevant, I would consider
this bug being security-relevant as well.

-- 
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/pip/+bug/1579181/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1579181] Re: "pip3 list --outdated" raises TypeError

2019-06-19 Thread Laurent Bonnaud via ubuntu-bugs
** Tags added: bionic

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1579181] Re: "pip3 list --outdated" raises TypeError

2019-06-17 Thread Rolf Leggewie
another report of this in Debian (not yet merged):
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=912379

** Bug watch added: Debian Bug tracker #912379
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=912379

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1579181] Re: "pip3 list --outdated" raises TypeError

2019-06-02 Thread Ari
@Laurent were you able to fix it? same issue in my 19.04 install.

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1579181] Re: "pip3 list --outdated" raises TypeError

2019-04-10 Thread Laurent Bonnaud via ubuntu-bugs
The problem still exists in Ubuntu 19.04/disco with a slightly different
error message:

$ pip3 list --outdated
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 
if dist.latest_version > dist.parsed_version
TypeError: '>' not supported between instances of 'Version' and 'Version'


** Tags added: disco

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1579181] Re: "pip3 list --outdated" raises TypeError

2018-09-13 Thread Ubuntu Foundations Team Bug Bot
The attachment "patch for after updating pip via pip with sudo" seems to
be a patch.  If it isn't, please remove the "patch" flag from the
attachment, remove the "patch" tag, and if you are a member of the
~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issues please contact him.]

** Tags added: patch

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1579181] Re: "pip3 list --outdated" raises TypeError

2018-09-13 Thread Ömer Fadıl USTA
I mean that patch for python3-pip package packagers . If you upgrade pip
with pip (with sudo ) you need to edit your /usr/bin/pip3 file with this
:

#!/usr/bin/python3
# GENERATED BY DEBIAN

import sys

# Run the main entry point, similarly to how setuptools does it, but because
# we didn't install the actual entry point from setup.py, don't use the
# pkg_resources API.
from pip._internal import main as _main
if __name__ == '__main__':
sys.exit(_main())

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1579181] Re: "pip3 list --outdated" raises TypeError

2018-09-13 Thread Ömer Fadıl USTA
With latest pip this issue solved. On the other hand you have to patch
makepip3.py file (which creates /usr/bin/pip3 )


** Patch added: "patch for after updating pip via pip with sudo"
   
https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1579181/+attachment/5188469/+files/makepip.patch

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1579181] Re: "pip3 list --outdated" raises TypeError

2018-03-13 Thread Kent Ross
This is occurring for me with python3.6-dev==3.6.4-4 amd64 from
bionic/main. Forcing a reinstall of the system's python3.6 pip package
fixes it, but this is pretty lousy default behavior.

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1579181] Re: "pip3 list --outdated" raises TypeError

2018-03-13 Thread Kent Ross
I suppose I should clarify: the system pip package is
python3-pip==9.0.1-2 amd64 from bionic/universe

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1579181] Re: "pip3 list --outdated" raises TypeError

2017-11-03 Thread Paulo Marcel Coelho Aragão
The affected package should be python3-pip and not python-pip, since
'pip list --outdated' doesn't provoke the exception, but 'pip3 list
--outdated' does.

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1579181] Re: "pip3 list --outdated" raises TypeError

2017-10-10 Thread Bug Watch Updater
** Changed in: python-pip (Debian)
   Status: Unknown => 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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1579181] Re: "pip3 list --outdated" raises TypeError

2017-10-09 Thread Laurent Bonnaud
** Bug watch added: Debian Bug tracker #878082
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=878082

** Also affects: python-pip (Debian) via
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=878082
   Importance: Unknown
   Status: Unknown

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1579181] Re: "pip3 list --outdated" raises TypeError

2017-10-09 Thread Laurent Bonnaud
** Tags added: artful

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1579181] Re: "pip3 list --outdated" raises TypeError

2016-11-02 Thread Edwin Khoo
If you are using virtualenv, then forcing a reinstallation of pip is a
workaround:

pip install -U --force-reinstall pip

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1579181] Re: "pip3 list --outdated" raises TypeError

2016-05-08 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: python-pip (Ubuntu)
   Status: New => Confirmed

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1579181] Re: "pip3 list --outdated" raises TypeError

2016-05-06 Thread Paul Natsuo Kishimoto
A workaround is:

$ pip3 install --user --no-deps pip
Collecting pip
  Downloading pip-8.1.1-py2.py3-none-any.whl (1.2MB)
100% || 1.2MB 612kB/s 
Installing collected packages: pip
Successfully installed pip-8.1.1

…(i.e. exactly the same version of pip) and ensure ~/.local/bin is in my
$PATH.

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs