Remove the libpython2.7 dependency

The libpython2.7 pkg isn't available anymore in current series, remove
the dependency

Change-Id: Ia9a128f705bf9f468e2fec4e8071f66623111444
This commit is contained in:
Peter Sabaini 2023-05-11 15:01:28 +02:00 committed by Peter Sabaini
parent 6bb328b52d
commit cd5176e761

View File

@ -241,11 +241,7 @@ class MySQLInnoDBClusterCharm(
"""Charm class for the MySQLInnoDBCluster charm."""
name = "mysql-innodb-cluster"
release = "train"
# TODO: Current versions of the mysql-shell snap require libpython2.7
# This will not be available in 20.04
# Fix the mysql-shell snap and remove the package here
packages = ["mysql-router", "mysql-server-8.0", "python3-dnspython",
"libpython2.7"]
packages = ["mysql-router", "mysql-server-8.0", "python3-dnspython"]
python_version = 3
default_service = "mysql"
services = ["mysql"]