Add python 3.4 support for Heat

Registered by Sirushti Murugesan

- Make the unit tests be compatible with both python2.7 and python3.4.
- Run Heat services using the Python3.4 interpreter.

Blueprint information

Status:
Complete
Approver:
Angus Salkeld
Priority:
Medium
Drafter:
Sirushti Murugesan
Direction:
Approved
Assignee:
Sirushti Murugesan
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
milestone icon ongoing
Started by
Angus Salkeld
Completed by
Rico Lin

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/heat-python34-support,n,z

Addressed by: https://review.openstack.org/175340
    Add Python 3.4 support

Addressed by: https://review.openstack.org/176293
    Use six.iterkeys(x) instead of x.keys()

Addressed by: https://review.openstack.org/176760
    Replace dict.itervalues/dict.iteritems and use len over filter function

Addressed by: https://review.openstack.org/176761
    Update urllib/httplib/cStringIO to use six.moves

Addressed by: https://review.openstack.org/176762
    Update xrange and lambda for python3

Addressed by: https://review.openstack.org/176763
    Change instances of x.next() to next(x)

Addressed by: https://review.openstack.org/176764
    Use six.moves.map/filter/zip

Addressed by: https://review.openstack.org/176765
    Use six.text_type and six.reraise

Addressed by: https://review.openstack.org/176766
    Update the rest of the code to satisfy flake8 in a py34 env

Addressed by: https://review.openstack.org/176767
    Add a py34 env

Addressed by: https://review.openstack.org/190563
    Get heat.tests.test_stack working in a py34 env

Addressed by: https://review.openstack.org/196511
    Sync (test-)requirements-py3.txt files

Addressed by: https://review.openstack.org/196512
    Override mox in sys.modules to mox3 in a py3 env

Addressed by: https://review.openstack.org/196513
    Add __hash__ functions where necessary

Addressed by: https://review.openstack.org/196514
    Add __bool__ for classes that implement __nonzero__

Addressed by: https://review.openstack.org/196515
    Fix import in keystone resources

Addressed by: https://review.openstack.org/196516
    Adopt @six.python_2_unicode_compatible decorator

Addressed by: https://review.openstack.org/196517
    Add a way to run py34 tests from file

Addressed by: https://review.openstack.org/196518
    Port short_id to return unicode

Addressed by: https://review.openstack.org/200116
    Fix tox -e py34

Addressed by: https://review.openstack.org/200125
    Fix Python 3 issues in exception and environment

Addressed by: https://review.openstack.org/201454
    py34: test_environment plus existing passing test files

Addressed by: https://review.openstack.org/208138
    py34: heat.tests.db.*

Addressed by: https://review.openstack.org/208139
    py34: heat.tests.test_resource

Addressed by: https://review.openstack.org/208140
    py34: heat.tests.neutron

Addressed by: https://review.openstack.org/208141
    py34: heat.tests.test_engine_service

Addressed by: https://review.openstack.org/208142
    py34: test_engine_*

Addressed by: https://review.openstack.org/208143
    py34: test_auth_*

Addressed by: https://review.openstack.org/208158
    py34: heat.tests.test_template

Addressed by: https://review.openstack.org/208159
    py34: test_sahara/software_deployment

Addressed by: https://review.openstack.org/208160
    py34: heat.tests.autoscaling

Addressed by: https://review.openstack.org/208161
    py34: heat.tests.nova

Addressed by: https://review.openstack.org/209340
    heat.tests.aws.*

Addressed by: https://review.openstack.org/209341
    heat.tests.test_hot.*

Addressed by: https://review.openstack.org/212413
    py34: heat.tests.client/openstack

Addressed by: https://review.openstack.org/212414
    py34: heat.tests.test_os_database

Addressed by: https://review.openstack.org/212415
    py34: heat.tests.test_common_serializers

Addressed by: https://review.openstack.org/212416
    py34: heat.tests.test_parameters

Addressed by: https://review.openstack.org/212417
    py34: heat.tests.api (1)

Addressed by: https://review.openstack.org/226466
    py34: heat.tests.test_fault_middleware

Addressed by: https://review.openstack.org/226467
    py34: heat.tests.mistral/convergence

Addressed by: https://review.openstack.org/226468
    py34: contrib resources

Addressed by: https://review.openstack.org/226469
    py34: test_loguserdata/test_ec2_token

Addressed by: https://review.openstack.org/226470
    py34: heat.tests.api.cfn

Addressed by: https://review.openstack.org/226471
    py34: heat.tests.api.*

Addressed by: https://review.openstack.org/226472
    py34: Get rid of py34-testlist

Addressed by: https://review.openstack.org/188033
    WIP py34: integration tests

Addressed by: https://review.openstack.org/228187
    py34: Fix integration tests

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

Addressed by: https://review.openstack.org/231557
    Announce Python 3.4 support

Addressed by: https://review.openstack.org/232492
    py34: cleanup

Addressed by: https://review.openstack.org/336449
    py3: Fix using map() for python2,3 compatibility

Addressed by: https://review.openstack.org/336452
    py3: Fix using filter() for python2,3 compatibility

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.