From d753bd4559210dd046a8b2adf5a4e9fb63c9417c Mon Sep 17 00:00:00 2001 From: cameron brown <52760912+cbrxyz@users.noreply.github.com> Date: Fri, 16 Feb 2024 17:14:34 -0500 Subject: [PATCH] Fix pip3 in CI (#1135) * Re-install python3-pip before installing all deps * Re-install python3-pip before installing all deps * Update setup script * Update ci.yaml --- .github/workflows/ci.yaml | 1 + scripts/install.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index a99604c0e..de7c09a7a 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -31,6 +31,7 @@ jobs: - name: Configure catkin workspace folder structure run: | mkdir -p $GITHUB_WORKSPACE/catkin_ws/src + sudo apt reinstall python3-pip - name: Check out code from GitHub uses: actions/checkout@v3.0.2 with: diff --git a/scripts/install.sh b/scripts/install.sh index 8a95fdf55..94e07590c 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -185,6 +185,7 @@ EOF # Documentation dependencies mil_system_install python3-pip python3-setuptools +sudo apt reinstall -y python3-pip # Disable "automatic updates" Ubuntu prompt (thanks to https://askubuntu.com/a/610623!) sudo sed -i 's/Prompt=.*/Prompt=never/' /etc/update-manager/release-upgrades