python-apt offends python-pip's freeze
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-apt (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
python-pip (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I'm trying to use pip freeze, but it fails:
>pip freeze
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] == '==', (dist, req, specs, dependency_links)
AssertionError: (python-apt 0.9.3.11build1 (/usr/lib/
Note that I've patched /usr/lib/
It seems that pip does not like the string python-
This could be https:/
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: python-apt 0.9.3.11build1
ProcVersionSign
Uname: Linux 3.19.0-25-generic x86_64
ApportVersion: 2.17.2-0ubuntu1.2
Architecture: amd64
CurrentDesktop: GNOME
Date: Thu Aug 27 14:25:36 2015
SourcePackage: python-apt
UpgradeStatus: No upgrade log present (probably fresh install)
I think the duplicate status is wrong.
I did a sudo apt-get install -t wily python-apt to get 1.0.0~beta3. 1ubuntu1 which is the version which is supposed to fix the problem.
However, pip freeze still fails.
$ pip freeze python2. 7/dist- packages/ pip/basecommand .py", line 122, in main python2. 7/dist- packages/ pip/commands/ freeze. py", line 74, in run rement. from_dist( dist, dependency_links, find_tags= find_tags) python2. 7/dist- packages/ pip/__init_ _.py", line 299, in from_dist python2. 7/dist- packages) , Requirement. parse(' python- apt===1. 0.0.b3. 1-ubuntu1' ), [('===', '1.0.0. b3.1-ubuntu1' )], ['https:/ /pypi.python. org/packages/ source/ c/certifi/ certifi- 1.0.1.tar. gz#md5= 45f5cb94b8af9e1 df0f9450a8f61b7 90', 'https:/ /pypi.python. org/packages/ source/ w/wincertstore/ wincertstore- 0.2.zip# md5=ae728f2f007 185648d0c7a8679 b361e2'])
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] == '==', (dist, req, specs, dependency_links)
AssertionError: (python-apt 1.0.0.b3.1-ubuntu1 (/usr/lib/