Closed lincolnthomas closed 8 years ago
This problem has been seen before, e.g. https://github.com/testing-cabal/mock/issues/316#issuecomment-140274305 , and the workaround was:
pip install --upgrade pip
pip install --force-reinstall mock
However, we believe we really don't need the "mock" package anyway. It's only referenced in tests/Test-eucaops-init.py
as an import, and nothing mock-like is ever used.
Therefore, we should be able to remove that import, and remove mock from the setup.py: (diff)
install_requires = ['paramiko >= 1.7','boto >= 2.5.2', 'jinja2 >= 2.7', 'argparse',
- 'futures', 'python-dateutil', 'mock', 'dnspython', 'pywinrm',
+ 'futures', 'python-dateutil', 'dnspython', 'pywinrm',
'BeautifulSoup', 'requests >= 1', 'prettytable'],
This has shown no adverse effects in my testing so far on my fork https://github.com/lincolnthomas/eutester , but I'm getting an unrelated error I need to resolve before I finish my testing. Work continues.
New issue https://github.com/eucalyptus/eutester/issues/381 has been written for the failure I found during regression testing, which is unrelated to this change.
This issue has been fixed, and no problems were found in concise and full regression tests of all python eutester tests. Making the pull request.
@shaon or @nephomaniac is this something already taken care of in the eutester rewrite? If not can you review this change?
Pull request https://github.com/eucalyptus/eutester/issues/382 merged upstream, issue closed. Thanks Shaon!
In the latest code, "python setup.py install" fails with the error: