[Bug 1607095] Re: ubuntu cloud archive repo includes python-setuptools package that breaks with trusty version of python-pip

Iggy iggy at theiggy.com
Fri Aug 5 18:20:14 UTC 2016


We actually need pip in the system to install some python modules to the
system as dependencies for other software that is installed via debs (in
this case salt). On these particular machines there isn't anything
actually installed via pip.

Either way, we're getting off topic... The version of python-setuptools
in the cloud-archive repo is incompatible with the version of python-pip
in Ubuntu. Between that and everything else you've said in this bug,
there should be a `Conflicts` between the two.

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to Ubuntu Cloud Archive.
https://bugs.launchpad.net/bugs/1607095

Title:
  ubuntu cloud archive repo includes python-setuptools package that
  breaks with trusty version of python-pip

Status in Ubuntu Cloud Archive:
  New

Bug description:
  When we install python-setuptools from the cloud repo, it is too new
  to work with the version of python-pip that is included with trusty
  (as can be seen with `pip freeze`). If we then manually install a
  newer version of pip with easy_install it works fine.

  ```
  # dpkg -l | egrep 'python-(pip|setuptools)'
  ii  python-pip                          1.5.4-1ubuntu3                   all          alternative Python package installer
  ii  python-pip-whl                      1.5.4-1ubuntu3                   all          alternative Python package installer
  ii  python-setuptools                   18.4-1~cloud0                    all          Python Distutils Enhancements
  ii  python-setuptools-whl               18.4-1~cloud0                    all          Python Distutils Enhancements (wheel package)
  ```

  ```
  # 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 286, in from_dist
      assert len(specs) == 1 and specs[0][0] == '=='
  AssertionError

  Storing debug log for failure in /root/.pip/pip.log
  ```

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: python-openstackclient 1.7.0-1~cloud0 [origin: Canonical]
  ProcVersionSignature: Ubuntu 3.13.0-91.138-generic 3.13.11-ckt39
  Uname: Linux 3.13.0-91-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.21
  Architecture: amd64
  CrashDB:
   {
                  "impl": "launchpad",
                  "project": "cloud-archive",
                  "bug_pattern_url": "http://people.canonical.com/~ubuntu-archive/bugpatterns/bugpatterns.xml",
               }
  Date: Wed Jul 27 21:47:03 2016
  PackageArchitecture: all
  ProcEnviron:
   TERM=screen
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: python-openstackclient
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1607095/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list