support python3

Bug #1347899 reported by Steven Hardy
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
heat-cfntools
Fix Released
Medium
Steven Hardy

Bug Description

Test and fix any python3 incompatible code, so folks who want to use the tools on python3 only platforms can if they wish.

Steven Hardy (shardy)
Changed in heat-cfntools:
assignee: nobody → Steven Hardy (shardy)
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Miro Hrončok (churchyard) wrote :

I've started porting heat-cfntools to Python 3 in here https://github.com/hroncok/heat-cfntools

Revision history for this message
Miro Hrončok (churchyard) wrote :

I've managed to port the code so the tests pass on Python 2.6, 2.7, 3.3 and 3.4. However, i didn't run the commands themselves, I'm afraid I have no idea what that is even doing :D

Steven, could you please look at the rest? Thanks

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to heat-cfntools (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/145200

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to heat-cfntools (master)

Reviewed: https://review.openstack.org/145200
Committed: https://git.openstack.org/cgit/openstack/heat-cfntools/commit/?id=f8796122c504925989cd39fe3424d484720ff190
Submitter: Jenkins
Branch: master

commit f8796122c504925989cd39fe3424d484720ff190
Author: Miro Hrončok <email address hidden>
Date: Tue Jan 6 09:54:02 2015 +0100

    Python 3 compatibility

     * ConfigParser import from six
     * Drop iteritems()
      * To support both Python 2 and 3
     * Encode string before writing it to file
      * To support both Python 2 and 3
     * Use six.string_types
      * To support both Python 2 and 3
     * Use key on Python 3
      * Because cmp is no longer working
     * Add py33 and py34 to tox.ini

    Change-Id: I23985be55302cd4ef577919efb51975ecbd9563d
    Related-Bug: 1347899

Revision history for this message
Robert Kuska (rkuska) wrote :

Is there an ETA for the new release with python3 support?

Revision history for this message
Steve Baker (steve-stevebaker) wrote :

I'll do a release today.

Changed in heat-cfntools:
milestone: none → v1.3.0
status: Triaged → Fix Committed
Changed in heat-cfntools:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.