Merge lp:~corey.bryant/charm-helpers/upgrade-pip into lp:charm-helpers
Proposed by
Corey Bryant
on 2015-07-15
| Status: | Merged |
|---|---|
| Merged at revision: | 407 |
| Proposed branch: | lp:~corey.bryant/charm-helpers/upgrade-pip |
| Merge into: | lp:charm-helpers |
| Diff against target: |
19 lines (+5/-4) 1 file modified
charmhelpers/contrib/openstack/utils.py (+5/-4) |
| To merge this branch: | bzr merge lp:~corey.bryant/charm-helpers/upgrade-pip |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Marco Ceppi | 2015-07-15 | Approve on 2015-07-16 | |
|
Review via email:
|
|||
To post a comment you must log in.
| Corey Bryant (corey.bryant) wrote : | # |


Upstream OpenStack is starting to use requirements file syntax such as the following to target specific python versions:
Routes! =2.0,!= 2.1,>=1. 12.3;python_ version= ='2.7'
Older pip versions don't understand this and as a result won't install the requirement.
By default virtualenv's on trusty install a pretty old version of pip. This patch upgrades pip after creating the virtualenv.