[Bug 1607095] Re: ubuntu cloud archive repo includes python-setuptools package that breaks with trusty version of python-pip
Corey Bryant
corey.bryant at canonical.com
Tue Aug 2 20:52:31 UTC 2016
Hi Iggy,
Thanks for the report.
I'm not sure why you'd need the cloud archive enabled if you're using
pip. The cloud archive is meant to be used with Debian-based package
installs, rather than pip-installed packages, and mixing the two types
of packages can results in a mixed-bag of an environment that would not
be stable or supported.
--
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