pin setuptools to 7.0 to workaround brokenness in 8.x

setuptools 8.0 (and subsequently 8.0.1, 8.0.2) were released over the
weekend.  This introduces a breaking change whereby python packages
installed from SHA, rather than with a proper release version, do not
have their version numbers parsed properly due to the appended sha.
Eg python-glanceclient 0.14.2.2.gb126351

This commit:

- pins setuptools to 7.0, to workaround this issue until a fix
is made upstream, inside the global requirements.txt

- removes package installations of python-setuptools and
python-pip which had potential to further conflict.

- removes the list pip_common_packages from the all_common vars file

Closes-Bug: 1402679

Closes-Bug: 1402672

Change-Id: Idb75f816f47740ee28ec5d7d8afb118acf4a71bb
This commit is contained in:
Darren Birkett 2014-12-15 14:38:56 +00:00
parent 0f7361ce55
commit 2793a1dbcb
4 changed files with 1 additions and 9 deletions

View File

@ -14,4 +14,5 @@ requests==2.4.1
cloudlib==0.0.8
pip==1.5.6
wheel==0.24.0
setuptools==7.0
http://mirror.rackspace.com/rackspaceprivatecloud/downloads/ansible-1.6.10.tar.gz

View File

@ -39,12 +39,6 @@ apt_common_repos:
get_pip_url: "{{ rpc_repo_url }}/downloads/get-pip.py"
get_pip_sha256sum: "d43dc33a5670d69dd14a9be1f2b2fa27ebf124ec1b212a47425331040f742a9b"
pip_common_packages:
- wheel
- setuptools
- pip
## Base Packages
apt_common_packages:
- aptitude

View File

@ -34,6 +34,5 @@ Defaults processed by the **package_source_archive**,
* pip_wheel_name: ``string`` pip package name to FIRST attempt installation of.
* service_pip_dependencies: ``list`` of ``strings``.
* container_packages: ``list`` of ``strings``.
* pip_common_packages: ``list`` of ``strings``.
* apt_common_packages: ``list`` of ``strings``.
* common_util_packages: ``list`` of ``strings``.

View File

@ -37,11 +37,9 @@ service_pip_dependencies:
container_packages:
- curl
- python-pip
- rsync
- openssh-server
- git-core
- python-setuptools
- python-dev
- gcc
- libffi-dev