Merge lp:~freyes/charm-helpers/mock into lp:charm-helpers
| Status: | Merged |
|---|---|
| Merged at revision: | 405 |
| Proposed branch: | lp:~freyes/charm-helpers/mock |
| Merge into: | lp:charm-helpers |
| Diff against target: |
12 lines (+1/-1) 1 file modified
test_requirements.txt (+1/-1) |
| To merge this branch: | bzr merge lp:~freyes/charm-helpers/mock |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Chris Glass (community) | 2015-07-15 | Needs Fixing on 2015-07-16 | |
|
Review via email:
|
|||
Description of the Change
Dear Charmers,
This MP solves a problem we are getting with mock 1.1.3
=======
ERROR: Failure: ImportError (cannot import name wraps)
-------
Traceback (most recent call last):
File "/tmp/sed-
addr.filename, addr.module)
File "/tmp/sed-
return self.importFrom
File "/tmp/sed-
mod = load_module(
File "/tmp/sed-
from mock import call, patch
File "/tmp/sed-
import mock.mock as _mock
File "/tmp/sed-
from six import wraps
ImportError: cannot import name wraps
Thanks,
| Chris Glass (tribaal) wrote : | # |
Oh, it's merged already? Ah well.


There are no versions of mock between 1.0.1 and 1.1.0 AFAIK, so this does nothing.
Like was stated in the previous commit message, you need to destroy and recreate your venvs for things to work:
rm -r .venv
rm -r .venv3