Merge lp:~corey.bryant/charm-helpers/fix-global-reqs into lp:charm-helpers
Proposed by
Corey Bryant
Status: | Merged |
---|---|
Merged at revision: | 391 |
Proposed branch: | lp:~corey.bryant/charm-helpers/fix-global-reqs |
Merge into: | lp:charm-helpers |
Diff against target: |
145 lines (+35/-15) 2 files modified
charmhelpers/contrib/openstack/utils.py (+13/-7) tests/contrib/openstack/test_openstack_utils.py (+22/-8) |
To merge this branch: | bzr merge lp:~corey.bryant/charm-helpers/fix-global-reqs |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jorge Niedbalski (community) | Approve | ||
Billy Olsen | Approve | ||
Review via email: mp+262469@code.launchpad.net |
To post a comment you must log in.
This fixes the following error: http:// paste.ubuntu. com/11737211/
The problem is that on trusty a virtualenv is created with an old setuptools and therefore and old pkg_resource. When the update.py script from the master branch of global requirements is executed, it fails because of the old version of pkg_resources.
This fix provides two things:
1) upgrade setuptools to latest version after creating the virtualenv
2) when executing 'python update.py <package_dir>' use the python from the virtualenv