Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-16480

cassandra-builds produce deb packages that require python 3.7

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 4.0-rc1, 4.0
    • Component/s: Packaging
    • Labels:
      None

      Description

      Since the builds moved from depending on python 2 to  python 3, the packages that are produced by the cassandra-builds project expect Python 3.7 to be installed on the target systems:

      $ 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

      The test docker images 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. 

        Attachments

          Activity

            People

            • Assignee:
              brandon.williams Brandon Williams
              Reporter:
              adejanovski Alexander Dejanovski
              Authors:
              Brandon Williams
              Reviewers:
              Alexander Dejanovski
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: