You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Andy Tolbert (Jira)" <ji...@apache.org> on 2019/10/07 04:59:00 UTC

[jira] [Comment Edited] (CASSANDRA-10190) Python 3 support for cqlsh

    [ https://issues.apache.org/jira/browse/CASSANDRA-10190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16945587#comment-16945587 ] 

Andy Tolbert edited comment on CASSANDRA-10190 at 10/7/19 4:58 AM:
-------------------------------------------------------------------

{quote}
I think it's worth updating the driver to a newer version
{quote}

I just read the comments earlier in the thread about the driver, mainly this one:

{quote}
Finally, extracting the checked in driver is something we'll look into. But that is a longpole and strictly not needed for Python 3 compatibility.
{quote}

Agree with that, don't think that should hold things up, it can be done out of band.  Noticed that I had already opened up a ticket for updating the python driver a while back for a different reason ([CASSANDRA-14872]), and there's probably other 4.0 specific reasons it needs to be updated, so would be good to do that separately.


was (Author: andrew.tolbert):
{quote}
I think it's worth updating the driver to a newer version
{quote}

I just read the comments earlier in the thread about the driver, mainly this one:

{quote}
Finally, extracting the checked in driver is something we'll look into. But that is a longpole and strictly not needed for Python 3 compatibility.
{quote}

Agree with that, don't think that should hold things up, it can be done out of band.  Noticed that I had already opened up a ticket of updating the python driver a while back for a different reason ([CASSANDRA-14872]), and there's probably other 4.0 specific reasons it needs to be updated, so would be good to do that separately.

> Python 3 support for cqlsh
> --------------------------
>
>                 Key: CASSANDRA-10190
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10190
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Legacy/Tools
>            Reporter: Andrew Pennebaker
>            Assignee: Patrick Bannister
>            Priority: Normal
>              Labels: cqlsh
>             Fix For: 4.0, 4.0-alpha
>
>         Attachments: 0001-Update-six-to-1.12.0.patch, 0002-Simplify-version-specific-logic-by-using-six.moves-a.patch, coverage_notes.txt
>
>
> Users who operate in a Python 3 environment may have trouble launching cqlsh. Could we please update cqlsh's syntax to run in Python 3?
> As a workaround, users can setup pyenv, and cd to a directory with a .python-version containing "2.7". But it would be nice if cqlsh supported modern Python versions out of the box.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org