From 7b8e614039b2e88d94e4952b1106545390fbdeb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCrkan=20=C4=B0ndibay?= Date: Mon, 27 Feb 2023 15:28:36 +0300 Subject: [PATCH] Fixes bookworm packaging pipeline problem (#6737) Recently, I changed Python execution structure into virtual. Therefore, now there is no need change built in python for the images. Since Github is provisioning images with specific permissions, this issue caused error. With this PR, I removed unnecessary installation of pip and setuptools in container docker image Additionally, removed some unnecessary sudos and used ap-get instead of apt in one place --- .github/workflows/packaging-test-pipelines.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/packaging-test-pipelines.yml b/.github/workflows/packaging-test-pipelines.yml index ae8d9d725..aecf8876c 100644 --- a/.github/workflows/packaging-test-pipelines.yml +++ b/.github/workflows/packaging-test-pipelines.yml @@ -157,7 +157,6 @@ jobs: apt-get update -y ## Install required packages to execute packaging tools for deb based distros - apt install python3-dev python3-pip -y - sudo apt-get purge -y python3-yaml - python3 -m pip install --upgrade pip setuptools==57.5.0 + apt-get install python3-dev python3-pip -y + apt-get purge -y python3-yaml ./.github/packaging/validate_build_output.sh "deb"