'pip3 list' throws AssertionError
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-pip (Debian) |
Fix Released
|
Unknown
|
|||
python-pip (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Trusty |
Fix Released
|
Medium
|
Unassigned | ||
Wily |
Fix Released
|
Medium
|
Unassigned |
Bug Description
[Impact]
* Not able show current list of installed packages, e.g. pip freeze.
[Test Case]
1 - install wily/trusty-liberty python-pip package
2 - pip freeze
3 - the following error is shown without the patch
Exception:
Traceback (most recent call last):
File "/usr/lib/
status = self.run(options, args)
File "/usr/lib/
req = pip.FrozenRequi
File "/usr/lib/
assert len(specs) == 1 and specs[0][0] == '=='
AssertionError
[Regression Potential]
* None
The command 'pip3 list' is broken on vivid:
maxb@altimeter:~$ pip3 list
[snip]
Exception:
Traceback (most recent call last):
File "/usr/lib/
status = self.run(options, args)
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
if dist_is_
File "/usr/lib/
req = FrozenRequireme
File "/usr/lib/
assert len(specs) == 1 and specs[0][0] == '=='
AssertionError
The problem is that the version string of python-apt is not PEP 440 compliant. Avoiding this crash is already fixed with a one-line patch upstream. Please consider cherry-picking https:/
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: python3-pip 1.5.6-5ubuntu2
ProcVersionSign
Uname: Linux 3.19.0-14-generic x86_64
ApportVersion: 2.17.2-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Sun Apr 19 16:55:24 2015
EcryptfsInUse: Yes
InstallationDate: Installed on 2014-05-29 (325 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
PackageArchitec
SourcePackage: python-pip
UpgradeStatus: Upgraded to vivid on 2015-03-29 (20 days ago)
Changed in python-pip (Ubuntu): | |
importance: | Undecided → Medium |
Changed in pip: | |
status: | Unknown → New |
Changed in pip: | |
status: | New → Fix Released |
Changed in python-pip (Ubuntu Trusty): | |
importance: | Undecided → Medium |
Changed in python-pip (Ubuntu Wily): | |
importance: | Undecided → Medium |
affects: | pip → ubuntu-translations |
Changed in ubuntu-translations: | |
importance: | Unknown → Undecided |
status: | Fix Released → New |
no longer affects: | ubuntu-translations |
Changed in python-pip (Debian): | |
status: | Unknown → Fix Released |
tags: |
added: verification-done removed: verification-needed |
tags: | removed: sts-sru |
Status changed to 'Confirmed' because the bug affects multiple users.