From 8f3ba6108fb6d912f2aa3ddb32b2c7fe38934f8e Mon Sep 17 00:00:00 2001 From: github-actions Date: Mon, 21 Oct 2024 15:09:38 -0400 Subject: [PATCH] ubuntu why? --- .github/workflows/distro_tests.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) 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