cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dinesh Joshi (Jira)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-10190) Python 3 support for cqlsh
Date Fri, 04 Oct 2019 16:56:00 GMT

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

Dinesh Joshi commented on CASSANDRA-10190:
------------------------------------------

Hi [~ptbannister], the latest set of changes seem to help with the test failures. There is
just 1 test failure that seems to be relevant. [https://circleci.com/gh/dineshjoshi/cassandra/1223#tests/containers/96]
and [https://circleci.com/gh/dineshjoshi/cassandra/1222#tests/containers/4]

{{The failure is in the describe command (test_describe - cqlsh_tests.test_cqlsh.TestCqlsh}}{{cqlsh_tests/test_cqlsh.py):}}
{noformat}
E       AssertionError: assert ['CREATE KEYS...d, col)', ...] == ['CREATE KEYSP...d, col)',
...]
E         At index 21 diff: 'CREATE INDEX test_val_idx ON test.test (val);' != 'CREATE INDEX
test_col_idx ON test.test (col);'
E         Use -v to get the full diff
{noformat}

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


Mime
View raw message