You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Paul Chandler (Jira)" <ji...@apache.org> on 2021/04/29 09:43:00 UTC

[jira] [Created] (CASSANDRA-16641) Cassandra 4.0 with python 2.7 on Ubuntu

Paul Chandler created CASSANDRA-16641:
-----------------------------------------

             Summary: Cassandra 4.0 with python 2.7 on Ubuntu  
                 Key: CASSANDRA-16641
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16641
             Project: Cassandra
          Issue Type: Bug
            Reporter: Paul Chandler


We have been testing with 4.0~beta2 in our setup for a few weeks and all has gone very smoothly, however when tried to install 4.0~rc1 we ran into problems with python versions.
 
We are on Ubuntu 16.04.7 LTS so use apt to install Cassandra, and this now gives the following error:
 
{{The following packages have unmet dependencies:}}{{ cassandra : Depends: python3 (>= 3.6) but 3.5.1-3 is to be installed}}{{E: Unable to correct problems, you have held broken packages.}}
 
Looking at the apt packaging the requirement for python has changed from 2.7 to 3.6 between beta4 and rc1. 
 
I have found https://issues.apache.org/jira/browse/CASSANDRA-16396 which says it needed to be python 3.6, however reading this ticket this seems to imply 2.7 is still supported https://issues.apache.org/jira/browse/CASSANDRA-15659
 
Also the code for for cqlsh says it supports 2.7 as well:  [https://github.com/apache/cassandra/blob/b0c50c10dbc443a05662b111a971a65cafa258d5/bin/cqlsh#L65]
 
All our clusters are currently on Ubuntu 16.04 which does not come with python 3.6, so this is going to be a major pain to upgrade them to 4.0, as I don't want to install it via a third party PPA if I can help it.



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