simonzhang created AMBARI-5463: ---------------------------------- Summary: Upgradings for Python3 and Ubuntu supporting Key: AMBARI-5463 URL: https://issues.apache.org/jira/browse/AMBARI-5463 Project: Ambari Issue Type: Improvement Components: agent, Ambari-SCOM, build, client, controller, site Affects Versions: 1.6.1 Environment: ubuntu Reporter: simonzhang Fix For: 1.6.1
1. Apply 2to3 -w files to transfer python 2 into python 3 automatically 2. Manually update some files into python 3, such as unicode encoding from binary to unicode, str.object and bytes.object use .encode() (str -> bytes) or .decode() (bytes -> str) 3. SyntaxError updates, such as .xml errors. 4. Updates for ubuntu supportings -- This message was sent by Atlassian JIRA (v6.2#6252)