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

Dinesh Joshi edited comment on CASSANDRA-10190 at 2/6/20 9:41 PM:
------------------------------------------------------------------

[~ptbannister] and [~dcapwell] I have addressed your review comments. I also 
removed the Python 2 specific code from cassandra-dtests as dtests themselves 
are expected to be Python 3 only.

I have added the circleci changes to this patch so can get this in trunk. 
However, we would need to backport it to other branches or Python 2.7 only.

Latest test runs are 
[here|https://circleci.com/workflow-run/d49608a5-f630-478c-947a-55a96048f5a1]. 
Please ignore the flakey unit test failure.


was (Author: djoshi3):
[~ptbannister] and [~dcapwell] I have addressed your review comments. I also 
removed the Python 2 specific code from cassandra-dtests as dtests themselves 
are expected to be Python 3 only.

I have added the circleci changes to this patch so can get this in trunk. 
However, we would need to backport it to other branches or Python 2.7 only.

> 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, pull-request-available
>             Fix For: 4.0, 4.0-alpha
>
>         Attachments: 
> 0001-Fix-issues-from-version-specific-logic-commit.patch, 
> 0001-Update-six-to-1.12.0.patch, 
> 0002-Simplify-version-specific-logic-by-using-six.moves-a.patch, 
> coverage_notes.txt
>
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to