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

Alexander Dejanovski commented on CASSANDRA-16480:
--------------------------------------------------

Dropping support for 3.6 although it's still supported and is the default in 
Bionic (which will be supported until 2023) doesn't seem like the right move. 
It'll block folks from upgrading to 4.0 unless they upgrade their systems to 
Focal or install python 3.7 which is not that trivial for everyone, especially 
if they have a large fleet and other software that rely on 3.6.

I'd vote for option 1 or 2.

> cassandra-builds produce deb packages that require python 3.7
> -------------------------------------------------------------
>
>                 Key: CASSANDRA-16480
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16480
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Packaging
>            Reporter: Alexander Dejanovski
>            Assignee: Brandon Williams
>            Priority: Normal
>             Fix For: 4.0-beta
>
>
> Since the builds moved from depending on python 2 to  python 3, the packages 
> that are produced by the [cassandra-builds 
> project|https://github.com/apache/cassandra-builds] expect Python 3.7 to be 
> installed on the target systems:
> {noformat}
> $ sudo dpkg -i cassandra_4.0~beta5-20210303gitd29dd643df_all.deb
> (Reading database ... 117878 files and directories currently installed.)
> Preparing to unpack cassandra_4.0~beta5-20210303gitd29dd643df_all.deb ...
> Unpacking cassandra (4.0~beta5-20210303gitd29dd643df) over 
> (4.0~beta5-20210303git25f3cf84f7) ...
> dpkg: dependency problems prevent configuration of cassandra:
>  cassandra depends on python3 (>= 3.7~); however:
>   Version of python3 on system is 3.6.7-1~18.04.dpkg: error processing 
> package cassandra (--install):
>  dependency problems - leaving unconfigured
> Processing triggers for systemd (237-3ubuntu10.38) ...
> Processing triggers for ureadahead (0.100.0-21) ...
> Errors were encountered while processing:
>  cassandra{noformat}
> The [test docker 
> images|https://github.com/apache/cassandra-builds/blob/trunk/docker/testing/ubuntu1910_j11.docker#L35-L36]
>  ship with both py36 and py38, which allows the install to pass nicely, but 
> on a vanilla Ubuntu Bionic system, only Python 3.6 is installed.
> We need to use debian buster images for builds that ship with python 3.6 so 
> that the dependencies align with it. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to