[ https://issues.apache.org/jira/browse/CASSANDRA-10190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16777291#comment-16777291 ]
Patrick Bannister commented on CASSANDRA-10190: ----------------------------------------------- Please check out my branches for this on Github: * [https://github.com/ptbannister/cassandra.git] * [https://github.com/ptbannister/cassandra-dtest.git] * [https://github.com/ptbannister/ccm.git] On one line of work I was working in straight Python 3, no Python 2.7 compatibility. For that one, check out the cassandra and cassandra-dtest branches called "cqlshlib3". But I built on that to make it compatible with both Python 3 and Python 2.7. I was working on that branch later, so I have a bit more confidence in it. For that one, check out the branches called "cqlshlib6." This also requires a small change to ccm, which is available in the cqlshlib6 branch of my ccm fork. Caveat that I haven't looked at this since October, so there may be some problems running it now unless you use a Cassandra Python driver from around that time. I've been planning to pick this back up and finish it after CASSANDRA-14298 gets merged. > 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 > 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