[ 
https://issues.apache.org/jira/browse/CASSANDRA-16480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brandon Williams updated CASSANDRA-16480:
-----------------------------------------
    Test and Documentation Plan: CI
                         Status: Patch Available  (was: In Progress)

> 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: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to