<div dir="ltr"><p class="gmail-part" style="box-sizing:border-box;margin:0px 0px 16px;color:rgb(51,51,51);font-family:-apple-system,BlinkMacSystemFont,&quot;Segoe UI&quot;,Roboto,&quot;Helvetica Neue&quot;,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;,&quot;Segoe UI Symbol&quot;;font-size:16px;letter-spacing:0.35px;text-decoration-style:initial;text-decoration-color:initial">Hi all,</p><p class="gmail-part" style="box-sizing:border-box;margin:0px 0px 16px;color:rgb(51,51,51);font-family:-apple-system,BlinkMacSystemFont,&quot;Segoe UI&quot;,Roboto,&quot;Helvetica Neue&quot;,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;,&quot;Segoe UI Symbol&quot;;font-size:16px;letter-spacing:0.35px;text-decoration-style:initial;text-decoration-color:initial">GlusterFS as a project is not a core python based project, but many of its features (like geo-replication, eventsapi etc), are dependent on some of the python scripts. With many Linux distributions moving towards python3 as the default shipped python version in their environment, Gluster project too is planning to move towards python3 as the default.</p><p class="gmail-part" style="box-sizing:border-box;margin:0px 0px 16px;color:rgb(51,51,51);font-family:-apple-system,BlinkMacSystemFont,&quot;Segoe UI&quot;,Roboto,&quot;Helvetica Neue&quot;,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;,&quot;Segoe UI Symbol&quot;;font-size:16px;letter-spacing:0.35px;text-decoration-style:initial;text-decoration-color:initial">More on this activity can be tracked down to<span> </span><a href="https://github.com/gluster/glusterfs/issues/411" target="_blank" style="box-sizing:border-box;background-color:transparent;color:rgb(51,122,183);text-decoration:none">Github issue #411</a></p><p class="gmail-part" style="box-sizing:border-box;margin:0px 0px 16px;color:rgb(51,51,51);font-family:-apple-system,BlinkMacSystemFont,&quot;Segoe UI&quot;,Roboto,&quot;Helvetica Neue&quot;,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;,&quot;Segoe UI Symbol&quot;;font-size:16px;letter-spacing:0.35px;text-decoration-style:initial;text-decoration-color:initial">But for all the components which have valid regression tests to validate the scripts they have, we will continue to support functionality on CentOS7 (ie, python2).</p><p class="gmail-part" style="box-sizing:border-box;margin:0px 0px 16px;color:rgb(51,51,51);font-family:-apple-system,BlinkMacSystemFont,&quot;Segoe UI&quot;,Roboto,&quot;Helvetica Neue&quot;,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;,&quot;Segoe UI Symbol&quot;;font-size:16px;letter-spacing:0.35px;text-decoration-style:initial;text-decoration-color:initial">For making sure we have support for python3 completely, we will run regressions/smoke on fedora28 (where python3 is the default).</p><h4 class="gmail-part" id="gmail-What-it-means-to-our-users" style="box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,&quot;Segoe UI&quot;,Roboto,&quot;Helvetica Neue&quot;,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;,&quot;Segoe UI Symbol&quot;;font-weight:600;line-height:1.25;color:rgb(51,51,51);margin-top:24px;margin-bottom:16px;font-size:16px;letter-spacing:0.35px;text-decoration-style:initial;text-decoration-color:initial"><a class="gmail-anchor gmail-hidden-xs" href="https://hackmd.io/os2Kmd6iTpuG4hO6Qcvc2A?both#What-it-means-to-our-users" title="What-it-means-to-our-users" style="box-sizing:border-box;background-color:transparent;color:rgb(51,122,183);text-decoration:none;float:left;padding-right:4px;line-height:1"><span class="gmail-octicon gmail-octicon-link" style="box-sizing:border-box;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:16px;line-height:1;font-family:octicons;display:inline-block;text-decoration:none;color:rgb(0,0,0);vertical-align:middle"></span></a>What it means to our users?</h4><ul class="gmail-part" style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;padding-left:2em;color:rgb(51,51,51);font-family:-apple-system,BlinkMacSystemFont,&quot;Segoe UI&quot;,Roboto,&quot;Helvetica Neue&quot;,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;,&quot;Segoe UI Symbol&quot;;font-size:16px;letter-spacing:0.35px;text-decoration-style:initial;text-decoration-color:initial"><li class="gmail-" style="box-sizing:border-box">Till Gluster release 4.1 (which is the current latest), python2 would be supported by default.</li><li class="gmail-" style="box-sizing:border-box;margin-top:0.25em">From future releases (5.0 onwards), Gluster will default work only on python3 (if you install from source).</li><li class="gmail-" style="box-sizing:border-box;margin-top:0.25em">The package maintainers of particular distributions can choose to make minor modifications to work on python2.</li></ul><p class="gmail-part" style="box-sizing:border-box;margin:0px 0px 16px;color:rgb(51,51,51);font-family:-apple-system,BlinkMacSystemFont,&quot;Segoe UI&quot;,Roboto,&quot;Helvetica Neue&quot;,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;,&quot;Segoe UI Symbol&quot;;font-size:16px;letter-spacing:0.35px;text-decoration-style:initial;text-decoration-color:initial">As of our current analysis, all the existing python files needed minimum changes to work on both python2 and python3. Hence, for few more releases we would be happy to give assistance to make relevant changes to support python2 if some users want it that way.</p><p class="gmail-part" style="box-sizing:border-box;margin:0px 0px 16px;color:rgb(51,51,51);font-family:-apple-system,BlinkMacSystemFont,&quot;Segoe UI&quot;,Roboto,&quot;Helvetica Neue&quot;,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;,&quot;Segoe UI Symbol&quot;;font-size:16px;letter-spacing:0.35px;text-decoration-style:initial;text-decoration-color:initial">In Summary, we don’t see any issues for our users who are using python2 or python3. The experience would continue to be smooth.</p><h4 class="gmail-part" id="gmail-What-it-means-for-our-developers" style="box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,&quot;Segoe UI&quot;,Roboto,&quot;Helvetica Neue&quot;,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;,&quot;Segoe UI Symbol&quot;;font-weight:600;line-height:1.25;color:rgb(51,51,51);margin-top:24px;margin-bottom:16px;font-size:16px;letter-spacing:0.35px;text-decoration-style:initial;text-decoration-color:initial"><a class="gmail-anchor gmail-hidden-xs" href="https://hackmd.io/os2Kmd6iTpuG4hO6Qcvc2A?both#What-it-means-for-our-developers" title="What-it-means-for-our-developers" style="box-sizing:border-box;background-color:transparent;color:rgb(51,122,183);text-decoration:none;float:left;padding-right:4px;line-height:1"><span class="gmail-octicon gmail-octicon-link" style="box-sizing:border-box;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:16px;line-height:1;font-family:octicons;display:inline-block;text-decoration:none;color:rgb(0,0,0);vertical-align:middle"></span></a>What it means for our developers?</h4><ul class="gmail-part" style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;padding-left:2em;color:rgb(51,51,51);font-family:-apple-system,BlinkMacSystemFont,&quot;Segoe UI&quot;,Roboto,&quot;Helvetica Neue&quot;,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;,&quot;Segoe UI Symbol&quot;;font-size:16px;letter-spacing:0.35px;text-decoration-style:initial;text-decoration-color:initial"><li class="gmail-" style="box-sizing:border-box">If a developer wants to make changes to existing python file, he would need to be considerate of compatibility on python2 setup.<ul style="box-sizing:border-box;margin-top:0px;margin-bottom:0px;padding-left:2em"><li class="gmail-" style="box-sizing:border-box">It would fail tests on centos7 if its already automated.</li></ul></li><li class="gmail-" style="box-sizing:border-box;margin-top:0.25em">If a developer wants to write a new file, then it is expected to be python3 format, and python2 compatibility is not mandatory.<ul style="box-sizing:border-box;margin-top:0px;margin-bottom:0px;padding-left:2em"><li class="gmail-" style="box-sizing:border-box">Developer gets a chance to run a test on only python3 or only python2 (or both). He has to provide a test case with the commit.</li></ul></li><li class="gmail-" style="box-sizing:border-box;margin-top:0.25em">We would be having automated check for all the python files modified in the repository to be python3 syntax friendly. So, advised to develop and test your new scripts in python3 environment.</li></ul><p class="gmail-part" style="box-sizing:border-box;margin:0px 0px 16px;color:rgb(51,51,51);font-family:-apple-system,BlinkMacSystemFont,&quot;Segoe UI&quot;,Roboto,&quot;Helvetica Neue&quot;,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;,&quot;Segoe UI Symbol&quot;;font-size:16px;letter-spacing:0.35px;text-decoration-style:initial;text-decoration-color:initial">If you have further questions on this, happy to discuss on email, or on github issue pointed above.</p><p class="gmail-part" style="box-sizing:border-box;margin:0px 0px 16px;color:rgb(51,51,51);font-family:-apple-system,BlinkMacSystemFont,&quot;Segoe UI&quot;,Roboto,&quot;Helvetica Neue&quot;,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;,&quot;Segoe UI Symbol&quot;;font-size:16px;letter-spacing:0.35px;text-decoration-style:initial;text-decoration-color:initial">Regards,<br style="box-sizing:border-box">Amar Tumballi (amarts)</p><div><div class="m_-1488221849337499475gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><br></div></div></div></div></div>
</div></div>