Skip to content

Commit

Permalink
CI: Fix "error: externally-managed-environment"
Browse files Browse the repository at this point in the history
Seems like the CI OS changed and now it won't allow installing Python
packages in the system without explicitly requesting that. This commit
solves this by installing needed packages through `apt-get`.
  • Loading branch information
dulek authored and kayrus committed Oct 10, 2023
1 parent 9c1cf73 commit 4779767
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/ci-occm-e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ cleanup() {
}
trap cleanup EXIT

python3 -m pip install requests ansible
apt-get update
apt-get install -y python3-requests ansible

# If BOSKOS_HOST is set then acquire a resource of type ${RESOURCE_TYPE} from Boskos.
if [ -n "${BOSKOS_HOST:-}" ]; then
Expand Down

0 comments on commit 4779767

Please sign in to comment.