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

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

Update on the tests: I have everything passing, except for some problems that 
appear rooted in the driver:
 * cassandra-dtest cqlsh_tests/test_cqlsh_copy.py TestCqlshCopy 
test_unusual_dates: the driver is choking when it tries to read dates after the 
year 10000.
 * cqlshlib tests pylib/cqlshlib/test/test_cqlsh_output.py TestCqlshOutput 
test_user_types_output: the driver is choking when it tries to read a user 
defined type for a frozen set with nulls. Python does not support ordering a 
collection with null values (NoneType).

I don't believe either of these problems can be solved with cqlshlib alone. 
Probably we would need to contribute to the driver to resolve them.

My feeling is that both of these problems are blockers. Any input from our 
watchers?

> 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
>         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