** PRIVATE ** Hello guys, As you know, some Linux distributions(e.g. SUSE Enterprise Linux 15) will introduce Python3 as the default, our Python scripts in ocfs2-test still use Python2, we will have to do proper modifications to migration to Python3 (Larry Chen has worked on this investigation). But, the problem is how to maintain the ocfs2-test code between Python2 and Python3? since some existing Linux distributions(include their further SP) use Python2. there are two options, 1) one code branch, in which the code is compatible with Python2 and Python3, but I feel it is difficult after I talked with Larry Chen. 2) two code branches, one branch is for Python2, the other branch is for Python3. what are your thoughts? please let us know, then we can select a way to work on this task. Thanks Gang
On 2017/9/27 14:40, Gang He wrote:> ** PRIVATE ** > > Hello guys, > > As you know, some Linux distributions(e.g. SUSE Enterprise Linux 15) will introduce Python3 as the default, > our Python scripts in ocfs2-test still use Python2, we will have to do proper modifications to migration to Python3 (Larry Chen has worked on this investigation). > But, the problem is how to maintain the ocfs2-test code between Python2 and Python3? since some existing Linux distributions(include their further SP) use Python2. > there are two options, > 1) one code branch, in which the code is compatible with Python2 and Python3, but I feel it is difficult after I talked with Larry Chen. > 2) two code branches, one branch is for Python2, the other branch is for Python3.Option 3 is better, I suppose.> what are your thoughts? please let us know, then we can select a way to work on this task. > > > Thanks > Gang > > > > > > > _______________________________________________ > Ocfs2-devel mailing list > Ocfs2-devel at oss.oracle.com > https://oss.oracle.com/mailman/listinfo/ocfs2-devel >
Hi,> As you know, some Linux distributions(e.g. SUSE Enterprise Linux 15) will introduce Python3 as the default, > our Python scripts in ocfs2-test still use Python2, we will have to do proper modifications to migration to Python3 (Larry Chen has worked on this investigation). > But, the problem is how to maintain the ocfs2-test code between Python2 and Python3? since some existing Linux distributions(include their further SP) use Python2. > there are two options, > 1) one code branch, in which the code is compatible with Python2 and Python3, but I feel it is difficult after I talked with Larry Chen. > 2) two code branches, one branch is for Python2, the other branch is for Python3. > what are your thoughts? please let us know, then we can select a way to work on this task.I think we can make a "snapshot" branch of current master, i.e. name it as "snapshot-2017.9", and don't change that branch anymore. For users who want to test ocfs2 on OS with python2, they can use it without problems, and we should document this in README.txt. For the python3 and other changes,? we can merge them into master branch, making master move on forward... Eric