To repro, need to use neutron master with neutron-lib master + python 3.4.
What I've been doing is:
- Edit neutron/requirements.txt and comment out neutron-lib.
- Run neutron tox for py34:
tox -e py34
- The venv will setup, but will UTs fail because neutron-lib is not installed.
- Activate py34 venv:
source ./.tox/py34/bin/activate
- Clone neutron-lib master and install it (with py34 venv active):
python setup.py install
- Run tools/ostestr_compat_shim.sh
- It will fail as it starts up with the error shown in the bug.
Please note: even if we can get rid of the exception, this behavior in neutron-lib needs to change. Please see the commit message of the patch submitted to fix this bug.
To repro, need to use neutron master with neutron-lib master + python 3.4.
What I've been doing is:
- Edit neutron/ requirements. txt and comment out neutron-lib. py34/bin/ activate compat_ shim.sh
- Run neutron tox for py34:
tox -e py34
- The venv will setup, but will UTs fail because neutron-lib is not installed.
- Activate py34 venv:
source ./.tox/
- Clone neutron-lib master and install it (with py34 venv active):
python setup.py install
- Run tools/ostestr_
- It will fail as it starts up with the error shown in the bug.
Please note: even if we can get rid of the exception, this behavior in neutron-lib needs to change. Please see the commit message of the patch submitted to fix this bug.
Thanks