Continue the work on python 3.4 support (partial)
Continue the work on https:/
The aim is to:
* get all unit tests passing on python 3.4
* then get tempest passing
* then we can claim support for python 3.4
Blueprint information
- Status:
- Complete
- Approver:
- John Garbutt
- Priority:
- Low
- Drafter:
- John Garbutt
- Direction:
- Approved
- Assignee:
- Andrey Kurilin
- Definition:
- Approved
- Series goal:
- Accepted for mitaka
- Implementation:
-
Implemented
- Milestone target:
-
mitaka-3
- Started by
- John Garbutt
- Completed by
- John Garbutt
Related branches
Related bugs
Sprints
Whiteboard
This was merged, but was missing the unit test update for what it fixed:
https:/
Gerrit topic: https:/
Addressed by: https:/
Replaces xrange() with range() to provide py 2/3 compatibility
Addressed by: https:/
Expands python34 unit tests list
Addressed by: https:/
Replaces contextlib.nested with test.nested
Addressed by: https:/
Converting nova.virt.hyperv to py3
Addressed by: https:/
Fixes .keys()[0] references for Python 3 in unit tests
Addressed by: https:/
Fixes Python 3 compatibility for filter results
Addressed by: https:/
Replaces __builtin__ with six.moves.builtins
Addressed by: https:/
Enables py3 unit tests for libvirt.host module
Addressed by: https:/
Replaces longs with ints
Addressed by: https:/
Replaces izip_longest with six.moves.
Addressed by: https:/
Ensure that max is called between integers
Addressed by: https:/
Transforms requests and responses into bytes
Addressed by: https:/
[Py34] Enable api.openstack.
Gerrit topic: https:/
Addressed by: https:/
[Py34] api.openstack.
Addressed by: https:/
Hyper-V: removes *Utils modules and unit tests
Addressed by: https:/
Fixes Python 3 unit tests for nova.compute
Addressed by: https:/
Hyper-V: adds os-win library
Addressed by: https:/
Fixes conductor py3 unit tests
Addressed by: https:/
Fixes network py unit tests
Addressed by: https:/
Fixes cells py3 unit tests
Addressed by: https:/
[WIP] py34 specific changes
Addressed by: https:/
[python3] byte/string conversions and enable more tests
Addressed by: https:/
[WIP] Try python3 patch-1
Addressed by: https:/
[WIP] Try python3 patch-2
Addressed by: https:/
[WIP] Check if --dhcp-
Addressed by: https:/
Replaces __builtin__ with six.moves.builtins
Addressed by: https:/
Replaces itertools.izip with six.moves.zip
Addressed by: https:/
Fix indexing of dict.keys() in python3
Addressed by: https:/
Fix codes using dict.iteritems() for python3
Gerrit topic: https:/
Addressed by: https:/
Python3: Replace dict.iteritems with six.iteritems
Now we have hit feature freeze, we must stop adding these patches. --johnthetubaguy 2016.01.31
Gerrit topic: https:/
Addressed by: https:/
Do not use print statements, but print functions
Addressed by: https:/
Do not use 'unicode' but six.text_type
Addressed by: https:/
Do not catch exceptions using Python2 syntax
Addressed by: https:/
Do not use "cmp" builtin
Marking this as implemented for Mitaka. --johnthetubaugy 2016.02.08
Addressed by: https:/
Fixes hex decoding related unit tests
Addressed by: https:/
Fixes python 3 urllib quote / unquote usage
Addressed by: https:/
Fixes python 3 unit tests
Addressed by: https:/
libvirt: fixes python 3 related unit tests
Addressed by: https:/
numa: Fixes NUMA topology related unit tests
Addressed by: https:/
Trivial: No need to exclude TestMoveClaim from py34 tests
Addressed by: https:/
Fixes py3 unit tests for nova.tests.
Work Items
Dependency tree
![](deptree.png)
* Blueprints in grey have been implemented.