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

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

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

Brandon Williams commented on CASSANDRA-16641:
----------------------------------------------

3.6 became the minimum version from CASSANDRA-16414, where we actually scrubbed mention of python2 support from anything user-facing.  That said, we left "support" for 2.7 in that we didn't intentionally break it, so in a situation like a tarball install where 2.7 is all you have, it can work, but it's still not officially supported, hence the packaging does not allow it as an option.

16.04 becomes EOL next month (in literally two days) so adding support for 2.7 in 4.0 wouldn't be a step forward.

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