support python3

Bug #1347899 reported by Steven Hardy on 2014-07-23
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fix Released
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) on 2014-07-23
Changed in heat-cfntools:
assignee: nobody → Steven Hardy (shardy)
status: New → Triaged
importance: Undecided → Medium
Miro Hrončok (churchyard) wrote :

I've started porting heat-cfntools to Python 3 in here

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

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

Robert Kuska (rkuska) wrote :

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

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  Edit
Everyone can see this information.

Other bug subscribers