git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Planning to port cqlsh to Python 3 (CASSANDRA-10190)


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 <miburman@xxxxxxxxxx> 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 <miburman@xxxxxxxxxx> 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://wiki.ubuntu.com/XenialXerus/ReleaseNotes#Python_3
RHEL 7.5 deprecates Python 2 (
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/7.5_release_notes/chap-red_hat_enterprise_linux-7.5_release_notes-deprecated_functionality
).


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xxxxxxxxxxxxxxxxxxxx
For additional commands, e-mail: dev-help@xxxxxxxxxxxxxxxxxxxx


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xxxxxxxxxxxxxxxxxxxx
For additional commands, e-mail: dev-help@xxxxxxxxxxxxxxxxxxxx

--
Jon Haddad
http://www.rustyrazorblade.com
twitter: rustyrazorblade




( ! ) Warning: include(msgfooter.php): failed to open stream: No such file or directory in /var/www/git/apache-cassandra-development/msg02218.html on line 145
Call Stack
#TimeMemoryFunctionLocation
10.0007368792{main}( ).../msg02218.html:0

( ! ) Warning: include(): Failed opening 'msgfooter.php' for inclusion (include_path='.:/var/www/git') in /var/www/git/apache-cassandra-development/msg02218.html on line 145
Call Stack
#TimeMemoryFunctionLocation
10.0007368792{main}( ).../msg02218.html:0