mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-18 07:18:27 +00:00
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:
5
tests/integration/nerdctl/gha-run.sh
Normal file → Executable file
5
tests/integration/nerdctl/gha-run.sh
Normal file → Executable 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
|
||||
|
Reference in New Issue
Block a user