Skip to content

Commit a5080ee

Browse files
committed
🐛 Fix "error: externally-managed-environment" CI
Signed-off-by: Vince Prignano <[email protected]>
1 parent d0c8e32 commit a5080ee

File tree

5 files changed

+9
-8
lines changed

5 files changed

+9
-8
lines changed

scripts/ci-conformance.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,9 @@ trap cleanup EXIT
3838

3939
# Ensure that python3-pip is installed.
4040
apt update
41-
apt install -y python3-pip
41+
apt install -y python3-pip python3-requests
4242
rm -rf /var/lib/apt/lists/*
4343

44-
# Install/upgrade pip and requests module explicitly for HTTP calls.
45-
python3 -m pip install --upgrade pip requests
46-
4744
# If BOSKOS_HOST is set then acquire an AWS account from Boskos.
4845
if [ -n "${BOSKOS_HOST:-}" ]; then
4946
# Check out the account from Boskos and store the produced environment

scripts/ci-e2e-eks-gc.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ cleanup() {
4747
trap cleanup EXIT
4848

4949
#Install requests module explicitly for HTTP calls
50-
python3 -m pip install requests
50+
apt update
51+
apt install -y python3-pip python3-requests
5152

5253
# If BOSKOS_HOST is set then acquire an AWS account from Boskos.
5354
if [ -n "${BOSKOS_HOST:-}" ]; then

scripts/ci-e2e-eks.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ cleanup() {
4747
trap cleanup EXIT
4848

4949
#Install requests module explicitly for HTTP calls
50-
python3 -m pip install requests
50+
apt update
51+
apt install -y python3-pip python3-requests
5152

5253
# If BOSKOS_HOST is set then acquire an AWS account from Boskos.
5354
if [ -n "${BOSKOS_HOST:-}" ]; then

scripts/ci-e2e-gc.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ cleanup() {
4747
trap cleanup EXIT
4848

4949
#Install requests module explicitly for HTTP calls
50-
python3 -m pip install requests
50+
apt update
51+
apt install -y python3-pip python3-requests
5152

5253
# If BOSKOS_HOST is set then acquire an AWS account from Boskos.
5354
if [ -n "${BOSKOS_HOST:-}" ]; then

scripts/ci-e2e.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ apt install -y python3-pip
5353
rm -rf /var/lib/apt/lists/*
5454

5555
# Install/upgrade pip and requests module explicitly for HTTP calls.
56-
python3 -m pip install --upgrade pip requests
56+
apt update
57+
apt install -y python3-pip python3-requests
5758

5859
# If BOSKOS_HOST is set then acquire an AWS account from Boskos.
5960
if [ -n "${BOSKOS_HOST:-}" ]; then

0 commit comments

Comments
 (0)