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
pull/6734/head
Gürkan İndibay 2023-02-27 15:28:36 +03:00 committed by GitHub
parent 24ad8574b5
commit 7b8e614039
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -157,7 +157,6 @@ jobs:
apt-get update -y apt-get update -y
## Install required packages to execute packaging tools for deb based distros ## Install required packages to execute packaging tools for deb based distros
apt install python3-dev python3-pip -y apt-get install python3-dev python3-pip -y
sudo apt-get purge -y python3-yaml apt-get purge -y python3-yaml
python3 -m pip install --upgrade pip setuptools==57.5.0
./.github/packaging/validate_build_output.sh "deb" ./.github/packaging/validate_build_output.sh "deb"