]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Allow users to run 'tox -epy34'
authorCyril Roelandt <cyril.roelandt@enovance.com>
Thu, 7 May 2015 13:00:38 +0000 (13:00 +0000)
committerCyril Roelandt <cyril.roelandt@enovance.com>
Mon, 11 May 2015 14:09:51 +0000 (16:09 +0200)
commit8db41f04d54526104920f3a160203ecf7ef453b0
treec867ba98dcbbc3b8c0c2bf48c96c7a9bff9da6a3
parent62ccf394c21eed132277b87b2428632efb07f1b0
Allow users to run 'tox -epy34'

With this commit, it is possible to successfully run 'tox -epy34', even though
only a small amount of tests will actually be run. This is a required step in
making Neutron compatible with Python 3, as described in the 'Porting to Python
3' specification.

This commit:
- fixes some broken imports, while making sure they still work with Python 3;
- updates a call to gettext.install;
- adds a py34 target in tox.ini.

Change-Id: I91cc7a992d05ea85f7004d1c5a45a1c02cbf1c85
Blueprint: neutron-python3
16 files changed:
bin/neutron-rootwrap-xen-dom0
neutron/__init__.py
neutron/agent/l3/router_processing_queue.py
neutron/agent/linux/utils.py
neutron/agent/ovsdb/impl_idl.py
neutron/agent/ovsdb/native/connection.py
neutron/common/repos.py
neutron/plugins/ibm/common/constants.py
neutron/plugins/ibm/sdnve_api.py
neutron/plugins/oneconvergence/lib/plugin_helper.py
neutron/tests/tempest/common/glance_http.py
neutron/tests/tempest/services/botoclients.py
neutron/tests/unit/_test_extension_portbindings.py
neutron/tests/unit/test_policy.py
neutron/tests/unit/test_wsgi.py
tox.ini