Couldn't replicate locally, but travis's ubuntu image is running with python 3.7.1.
Updated travis to bionic and cleaned up the config a bit
Explicitly set virtualenv path for quickstart
Ignored/logged site import failure in disable_bytecache, as it should be non-blocking failure.
QS $ /home/travis/virtualenv/python3.7.1/bin/python3 -m cfme.scripting.disable_bytecode
Traceback (most recent call last):
File "/home/travis/build/ManageIQ/integration_tests/cfme/scripting/disable_bytecode.py", line 24, in <module>
site_packages = distutils.sysconfig_get_python_lib()
AttributeError: module 'distutils' has no attribute 'sysconfig_get_python_lib'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/python/3.7.1/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/opt/python/3.7.1/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/travis/build/ManageIQ/integration_tests/cfme/scripting/disable_bytecode.py", line 27, in <module>
site_packages = site.getsitepackages()[0]
AttributeError: module 'site' has no attribute 'getsitepackages'
Travis is failing with a distutils import error.
Couldn't replicate locally, but travis's ubuntu image is running with python 3.7.1.
Updated travis to bionic and cleaned up the config a bit
Explicitly set virtualenv path for quickstart
Ignored/logged site import failure in disable_bytecache, as it should be non-blocking failure.