Continue the work on python 3.4 support (partial)

Registered by Claudiu Belu on 2016-03-21

This blueprint aims to continue the work on Python 3 support for nova, which has been ongoing in the previous cycles: [1][2][3]

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

[1] https://blueprints.launchpad.net/nova/+spec/nova-python3
[2] http://specs.openstack.org/openstack/nova-specs/specs/liberty/approved/adding-python34-support-to-nova.html
[3] https://blueprints.launchpad.net/nova/+spec/nova-python3-mitaka

To get your -2 removed, please use this new blueprint name in your commit, and ping the -2 voter on IRC.

Blueprint information

Status:
Complete
Approver:
John Garbutt
Priority:
Medium
Drafter:
Claudiu Belu
Direction:
Approved
Assignee:
None
Definition:
Approved
Series goal:
Accepted for newton
Implementation:
Implemented
Milestone target:
milestone icon newton-3
Started by
John Garbutt on 2016-03-22
Completed by
Matt Riedemann on 2016-09-01

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/nova-python3-newton,n,z

Addressed by: https://review.openstack.org/278835
    numa: Fixes NUMA topology related unit tests

Addressed by: https://review.openstack.org/278834
    libvirt: fixes python 3 related unit tests

Addressed by: https://review.openstack.org/278810
    Fixes python 3 unit tests

Addressed by: https://review.openstack.org/278809
    Fixes python 3 urllib quote / unquote usage

Addressed by: https://review.openstack.org/278808
    Fixes hex decoding related unit tests

Addressed by: https://review.openstack.org/300262
    compute: fixes python 3 related unit tests

Addressed by: https://review.openstack.org/302182
    Py3: fix serial console output

Addressed by: https://review.openstack.org/300509
    tests: make XMLMatches work with Python3

Addressed by: https://review.openstack.org/310976
    Enable python34 tests for nova.tests.unit.pci.test_manager and test_stats

Addressed by: https://review.openstack.org/311483
    Fixes compute API unit tests for python3.

Addressed by: https://review.openstack.org/311794
    Enable python34 tests for nova.tests.unit.virt.libvirt.test_config*

Addressed by: https://review.openstack.org/316678
    Enable py34 tests for unit.api.openstack.compute.test_console_output

Addressed by: https://review.openstack.org/317311
    Enables Py34 tests for unit.compute.test_compute

Addressed by: https://review.openstack.org/318543
    Enables Py34 tests for unit.api.openstack.compute.test_server_tags

Gerrit topic: https://review.openstack.org/#q,topic:bp/nova-python3-mitaka,n,z

Addressed by: https://review.openstack.org/313796
    Fixes py3 unit tests for nova.tests.unit.test_block_device.*

Addressed by: https://review.openstack.org/205307
    Add hacking checks for xrange()

Addressed by: https://review.openstack.org/329435
    Enables Py34 tests for unit.api.openstack.compute.test_server_actions

Gerrit topic: https://review.openstack.org/#q,topic:bug/1591996,n,z

Addressed by: https://review.openstack.org/332686
    Port cinder unit tests to Python 3

Addressed by: https://review.openstack.org/332701
    Port test_ipv6 to py3 and simplify to_global()

Addressed by: https://review.openstack.org/332791
    Port pci unit tests to Python 3

Addressed by: https://review.openstack.org/332738
    Port test_metadata to Python 3

Addressed by: https://review.openstack.org/332737
    Port test_hacking to Python 3

Addressed by: https://review.openstack.org/322040
    Port test_pipelib and test_policy to Python 3

Addressed by: https://review.openstack.org/333212
    [PY3] byte/string conversions and enable PY3 test

Addressed by: https://review.openstack.org/333247
    Port virt test_hardware to Python 3

Addressed by: https://review.openstack.org/333248
    Port test_virt_drivers to Python 3

Addressed by: https://review.openstack.org/333249
    Port libvirt test_driver to Python 3

Addressed by: https://review.openstack.org/333250
    Port ironic test_driver to Python 3

Addressed by: https://review.openstack.org/333251
    Port test_fakelibvirt to Python 3

FYI, there is a deadline of 7/28 for this work in the Newton release. Anything that's not done by that point will need to wait for Ocata. -- mriedem 20160706

Addressed by: https://review.openstack.org/342723
    Port nova test_serversV21.Base64ValidationTest to Python 3

This will most likely get picked up again in ocata under a common effort across all of openstack, see https://review.openstack.org/#/c/349069/ -- mriedem 20160810

We're at feature freeze so this is done for newton. We'll pick this up again under a "goal-python35" blueprint in ocata per https://review.openstack.org/#/c/349069/. -- mriedem 20160901

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.