gha: Fix pip installation for nerdctl GHA

This PR fixes the pip installation for nerdctl by removing a flag
which is not longer supported and avoid the failure of
no such option: --break-system-packages.

Signed-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com>
This commit is contained in:
Gabriela Cervantes
2024-07-05 17:31:52 +00:00
parent 543c90f145
commit 724b2c612c

5
tests/integration/nerdctl/gha-run.sh Normal file → Executable file
View File

@@ -31,10 +31,7 @@ function install_dependencies() {
sudo apt -y install "${system_deps[@]}"
# Install lastversion from pip
#
# --break-system-packages is, unfortunately, needed here as it'll also
# bring in some python3 dependencies on its own
pip install lastversion --break-system-packages
pip install lastversion
# As the command above will install lastversion on $HOME/.local/bin, we
# need to add it to the PATH