Seems pretty straightforward to me. Create a python 3 version as soon as possible and make it available, keep the python 2.7 version as default until the next major release after 4.0 (assuming around/after python 2.7 EOL), then switch default and leave continued support for 2.7 cqlsh up to the community and whoever needs it.
On Sat., 2 Jun. 2018, 04:45 J. D. Jordan, <jeremiah.jor...@gmail.com> wrote: > All for using six and supporting both. Sorry, I read your initial email as > wanting to drop support for 2 at the end of the year. > > > On Jun 1, 2018, at 1:01 PM, Jonathan Haddad <j...@jonhaddad.com> wrote: > > > > And that's why I said supporting both with six is the right path > > forward, later dropping support for 2. I'm not advocating we drop 2 > > support now, and I'm not asking for any sort of commitment. I didn't > > think adding support for 3 would be so controversial. > > On Fri, Jun 1, 2018 at 9:40 AM Jeremiah D Jordan > > <jeremiah.jor...@gmail.com> wrote: > >> > >> The community of people doing python development and the community of > people running Cassandra servers are not the same. I am not fine riding > the coat tails of libraries used in python development. As others have > stated we need to be following the lead of the OS vendors that people will > be deploying Cassandra on top of. And those will not be dropping Python 2 > at the end of the year. > >> > >> -Jeremiah > >> > >>> On Jun 1, 2018, at 12:37 PM, Jonathan Haddad <j...@jonhaddad.com> > wrote: > >>> > >>> Both can work. I did a lot of the work on the port of the Python > >>> driver's object mapper (formerly cqlengine) to Python 3. It's > >>> reasonably straightforward if you use the six library. > >>> > >>> Both pandas and numpy are dropping support for Python 2 at the end of > >>> this year. I'm fine with riding on their coattails. > >>>> On Fri, Jun 1, 2018 at 9:21 AM Russell Bateman <r...@windofkeltia.com> > wrote: > >>>> > >>>> Support for, but not the very script, right? Because, as gently > pointed > >>>> out by several realists here, Python 2 is far from dead and arguably > >>>> still the majority usage. That's only just now beginning to change. I > >>>> think it will be more than 2 years before people begin asking what > >>>> Python 2 was. > >>>> > >>>> > >>>>> On 06/01/2018 10:10 AM, Jonathan Haddad wrote: > >>>>> Supporting both as a next step is logical, removing support for 2 in > the > >>>>> next year or two seems reasonable enough. Gotta rip the band aid off > at > >>>>> some point. > >>>>> > >>>>>> On Fri, Jun 1, 2018 at 2:34 AM Michael Burman <mibur...@redhat.com> > wrote: > >>>>>> > >>>>>> Hi, > >>>>>> > >>>>>> Deprecating in this context does not mean removing it or it being > >>>>>> replaced by 3 (RHEL 7.x will remain with Python 2.x as default). It > >>>>>> refers to future versions (>7), but there are none at this point. It > >>>>>> appears Ubuntu has deviated from Debian in this sense, but Debian > has > >>>>>> not changed yet (likely Debian 10 will, but that's not out yet and > has > >>>>>> no announced release date). > >>>>>> > >>>>>> Thus, 2.x still remains the most used version for servers. And > servers > >>>>>> deployed at this point of time will use these versions for years. > >>>>>> > >>>>>> - Micke > >>>>>> > >>>>>> > >>>>>>> On 06/01/2018 10:52 AM, Murukesh Mohanan wrote: > >>>>>>>> On 2018/06/01 07:40:04, Michael Burman <mibur...@redhat.com> > wrote: > >>>>>>>> IIRC, there's no major distribution yet that defaults to Python 3 > (I > >>>>>>>> think Ubuntu & Debian are still defaulting to Python 2 also). > This will > >>>>>>>> happen eventually (maybe), but not yet. Discarding Python 2 > support > >>>>>>>> would mean more base-OS work for most people wanting to run > Cassandra > >>>>>>>> and that's not a positive thing. > >>>>>>>> > >>>>>>> Ubuntu since 16.04 defaults to Python 3: > >>>>>>> > >>>>>>>> Python2 is not installed anymore by default on the server, cloud > and > >>>>>> the touch images, long live Python3! Python3 itself has been > upgraded to > >>>>>> the 3.5 series. - > >>>>>> > https://urldefense.proofpoint.com/v2/url?u=https-3A__wiki.ubuntu.com_XenialXerus_ReleaseNotes-23Python-5F3&d=DwIBaQ&c=adz96Xi0w1RHqtPMowiL2g&r=CNZK3RiJDLqhsZDG6FQGnXn8WyPRCQhp4x_uBICNC0g&m=J5Su6wvm91QrOBcici7HyIiFiyzjrg8UnamYu8qtSRA&s=9OWAbO26grwiI2ly_-gAGBqJP9Mv6KPAKJyQu_OEDPc&e= > >>>>>>> RHEL 7.5 deprecates Python 2 ( > >>>>>> > https://urldefense.proofpoint.com/v2/url?u=https-3A__access.redhat.com_documentation_en-2Dus_red-5Fhat-5Fenterprise-5Flinux_7_html_7.5-5Frelease-5Fnotes_chap-2Dred-5Fhat-5Fenterprise-5Flinux-2D7.5-5Frelease-5Fnotes-2Ddeprecated-5Ffunctionality&d=DwIBaQ&c=adz96Xi0w1RHqtPMowiL2g&r=CNZK3RiJDLqhsZDG6FQGnXn8WyPRCQhp4x_uBICNC0g&m=J5Su6wvm91QrOBcici7HyIiFiyzjrg8UnamYu8qtSRA&s=CDFufWbcvq6VpoLJQVbCQP9rpvIv3ssNtKMQce-1vwU&e= > >>>>>> ). > >>>>>>> > >>>>>>> > >>>>>>> > --------------------------------------------------------------------- > >>>>>>> To unsubscribe, e-mail: dev-unsubscr...@cassandra.apache.org > >>>>>>> For additional commands, e-mail: dev-h...@cassandra.apache.org > >>>>>>> > >>>>>> > >>>>>> > --------------------------------------------------------------------- > >>>>>> To unsubscribe, e-mail: dev-unsubscr...@cassandra.apache.org > >>>>>> For additional commands, e-mail: dev-h...@cassandra.apache.org > >>>>>> > >>>>>> -- > >>>>> Jon Haddad > >>>>> > https://urldefense.proofpoint.com/v2/url?u=http-3A__www.rustyrazorblade.com&d=DwIBaQ&c=adz96Xi0w1RHqtPMowiL2g&r=CNZK3RiJDLqhsZDG6FQGnXn8WyPRCQhp4x_uBICNC0g&m=J5Su6wvm91QrOBcici7HyIiFiyzjrg8UnamYu8qtSRA&s=ElPVVa0MdfruNq11vJS0JQo6LYDBQVJIVMFHQIEHnT4&e= > >>>>> twitter: rustyrazorblade > >>>>> > >>>> > >>> > >>> > >>> -- > >>> Jon Haddad > >>> > https://urldefense.proofpoint.com/v2/url?u=http-3A__www.rustyrazorblade.com&d=DwIBaQ&c=adz96Xi0w1RHqtPMowiL2g&r=CNZK3RiJDLqhsZDG6FQGnXn8WyPRCQhp4x_uBICNC0g&m=J5Su6wvm91QrOBcici7HyIiFiyzjrg8UnamYu8qtSRA&s=ElPVVa0MdfruNq11vJS0JQo6LYDBQVJIVMFHQIEHnT4&e= > >>> twitter: rustyrazorblade > >>> > >>> --------------------------------------------------------------------- > >>> To unsubscribe, e-mail: dev-unsubscr...@cassandra.apache.org > >>> For additional commands, e-mail: dev-h...@cassandra.apache.org > >>> > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: dev-unsubscr...@cassandra.apache.org > >> For additional commands, e-mail: dev-h...@cassandra.apache.org > >> > > > > > > -- > > Jon Haddad > > http://www.rustyrazorblade.com > > twitter: rustyrazorblade > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: dev-unsubscr...@cassandra.apache.org > > For additional commands, e-mail: dev-h...@cassandra.apache.org > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@cassandra.apache.org > For additional commands, e-mail: dev-h...@cassandra.apache.org > >