diff --git a/.github/workflows/distro_tests.yml b/.github/workflows/distro_tests.yml index 90302cc75..916e60007 100644 --- a/.github/workflows/distro_tests.yml +++ b/.github/workflows/distro_tests.yml @@ -27,13 +27,9 @@ jobs: apt-get install -y software-properties-common curl # Install necessary Perl modules for debconf apt-get install -y libterm-readline-gnu-perl libterm-readline-perl-perl - if [ "$VERSION_ID" = "24.04" ]; then - apt-get install -y python3.11 python3.11-venv - else - add-apt-repository ppa:deadsnakes/ppa - apt-get update - apt-get install -y python3.11 python3.11-venv python3.11-distutils - fi + add-apt-repository ppa:deadsnakes/ppa + apt-get update + apt-get install -y python3.11 python3.11-venv python3.11-distutils curl -sS https://bootstrap.pypa.io/get-pip.py | python3.11 update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 1 update-alternatives --set python3 /usr/bin/python3.11