[Bug 1489443] Re: python-apt offends python-pip's freeze

Julian Andres Klode juliank at ubuntu.com
Thu Aug 27 12:42:44 UTC 2015


*** This bug is a duplicate of bug 1445949 ***
    https://bugs.launchpad.net/bugs/1445949

** This bug has been marked a duplicate of bug 1445949
   Version does not conform to PEP440

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python-apt in Ubuntu.
https://bugs.launchpad.net/bugs/1489443

Title:
  python-apt offends python-pip's freeze

Status in python-apt package in Ubuntu:
  New

Bug description:
  I'm trying to use pip freeze, but it fails:

  >pip freeze
  Exception:
  Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 122, in main
      status = self.run(options, args)
    File "/usr/lib/python2.7/dist-packages/pip/commands/freeze.py", line 74, in run
      req = pip.FrozenRequirement.from_dist(dist, dependency_links, find_tags=find_tags)
    File "/usr/lib/python2.7/dist-packages/pip/__init__.py", line 299, in from_dist
      assert len(specs) == 1 and specs[0][0] == '==', (dist, req, specs, dependency_links)
  AssertionError: (python-apt 0.9.3.11build1 (/usr/lib/python2.7/dist-packages), Requirement.parse('python-apt===0.9.3.11build1'), [('===', '0.9.3.11build1')], ['https://pypi.python.org/packages/source/c/certifi/certifi-1.0.1.tar.gz#md5=45f5cb94b8af9e1df0f9450a8f61b790', 'https://pypi.python.org/packages/source/w/wincertstore/wincertstore-0.2.zip#md5=ae728f2f007185648d0c7a8679b361e2'])

  
  Note that I've patched /usr/lib/python2.7/dist-packages/pip/__init__.py to show me the dist.

  It seems that pip does not like the string    python-
  apt===0.9.3.11build1

  This could be https://github.com/pypa/pip/issues/1093

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: python-apt 0.9.3.11build1
  ProcVersionSignature: Ubuntu 3.19.0-25.26-generic 3.19.8-ckt2
  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/1489443/+subscriptions



More information about the foundations-bugs mailing list