You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Alexander Dejanovski (Jira)" <ji...@apache.org> on 2021/03/03 14:57:00 UTC

[jira] [Created] (CASSANDRA-16480) cassandra-builds produce deb packages that require python 3.7

Alexander Dejanovski created CASSANDRA-16480:
------------------------------------------------

             Summary: 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
            Reporter: Alexander Dejanovski


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