Merge lp:~vila/u1-test-utils/fix-version-handling into lp:u1-test-utils
Proposed by
Vincent Ladeuil
Status: | Merged |
---|---|
Approved by: | Vincent Ladeuil |
Approved revision: | 98 |
Merged at revision: | 97 |
Proposed branch: | lp:~vila/u1-test-utils/fix-version-handling |
Merge into: | lp:u1-test-utils |
Diff against target: |
30 lines (+10/-2) 1 file modified
fabfile/environment.py (+10/-2) |
To merge this branch: | bzr merge lp:~vila/u1-test-utils/fix-version-handling |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Leo Arias (community) | code review, reproduced the problems, tested the fixes | Approve | |
Review via email: mp+187482@code.launchpad.net |
Commit message
Fix virtualenv version handling and work around fabric scary "let's pop sys.path blindly" bug.
Description of the change
virtualenv version handling was broken:
'1.10' < '1.7' -> True
whereas
[1, 10] < [1, 7] -> False
Trivial but conservative fix below (no need to go into 1.11.beta1 madness).
Once again, I wish fab tasks can be properly tested...
To post a comment you must log in.
Thank you!