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

Patrick Bannister commented on CASSANDRA-10190:
-----------------------------------------------

Quick update on this ticket.

The porting work is mostly done - I had basically all the tests passing under 
Python 2.7 and Python 3.5 on CentOS and Ubuntu environments.

Making the dtests Python 2/3 cross compatible was trivial, mostly I just had to 
add explicit inheritance from the object class to a few of the basic classes 
like dtest.py.

There will be a small patch to ccm related to Unicode encoding when calling 
cqlsh.

I've learned a bit about our test infrastructure, so I have a better idea of 
what will be involved for the testing environment subtask (CASSANDRA-14491).

I'll continue work on this ticket after we complete CASSANDRA-14298 - that task 
is building momentum again so I think it will be soon.

 

> Python 3 support for cqlsh
> --------------------------
>
>                 Key: CASSANDRA-10190
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10190
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Andrew Pennebaker
>            Priority: Major
>              Labels: cqlsh
>         Attachments: 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
(v7.6.3#76005)

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

Reply via email to