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

Ekaterina Dimitrova edited comment on CASSANDRA-17417 at 3/28/22, 7:57 PM:
---------------------------------------------------------------------------

This breaks on Mac.

I am not able to start cqlsh after applying the patch. The moment I revert 
everything is fine.
{code:java}
bin/cqlsh
Traceback (most recent call last):
File "/cassandra/bin/cqlsh.py", line 126, in <module>
from cassandra.auth import PlainTextAuthProvider
File "<frozen zipimport>", line 259, in load_module
File 
"/cassandra/bin/../lib/cassandra-driver-internal-only-3.25.0.zip/cassandra-driver-3.25.0/cassandra/auth.py",
 line 35, in <module>
ModuleNotFoundError: No module named 'six'{code}
I suggest we revert the patch until we figure it out. I don't have immediate 
solution. I will reopen the ticket


was (Author: e.dimitrova):
This breaks on Mac.

I am not able to start cqlsh after applying the patch. The moment I revert 
everything is fine.
{{}}
{code:java}
bin/cqlsh
Traceback (most recent call last):
File "/cassandra/bin/cqlsh.py", line 126, in <module>
from cassandra.auth import PlainTextAuthProvider
File "<frozen zipimport>", line 259, in load_module
File 
"/cassandra/bin/../lib/cassandra-driver-internal-only-3.25.0.zip/cassandra-driver-3.25.0/cassandra/auth.py",
 line 35, in <module>
ModuleNotFoundError: No module named 'six'{code}
{{{}{}}}I suggest we revert the patch until we figure it out. I don't have 
immediate solution. I will reopen the ticket

> Replace use of 'six' compatibility library with python 3 equivalents
> --------------------------------------------------------------------
>
>                 Key: CASSANDRA-17417
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17417
>             Project: Cassandra
>          Issue Type: Task
>          Components: CQL/Interpreter
>            Reporter: Brad Schoening
>            Assignee: Brad Schoening
>            Priority: Normal
>             Fix For: 4.1
>
>         Attachments: six.pdf
>
>          Time Spent: 5h 50m
>  Remaining Estimate: 0h
>
> _Six_ is a _Python_ 2 and 3 compatibility library.  It provides simple 
> utilities for wrapping the differences between Python 2 and Python 3. It is 
> intended to support codebases that work on both Python 2 and 3.
> Since CQLSH requires python version >= 3.6, its use can be replaced with 
> native python 3 constructs.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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

Reply via email to