From 56750cd3c217df9e1cdb534429baee08684af67b Mon Sep 17 00:00:00 2001 From: Donal Fellows Date: Wed, 5 Mar 2025 14:55:28 +0000 Subject: [PATCH 1/2] Update action.yml This adds a step to the setup-poetry action to upgrade pip because otherwise things fail annoyingly. --- setup-poetry/action.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/setup-poetry/action.yml b/setup-poetry/action.yml index 66d33a8..e6ebe54 100644 --- a/setup-poetry/action.yml +++ b/setup-poetry/action.yml @@ -16,6 +16,10 @@ outputs: runs: using: composite steps: + - name: Upgrade pip + shell: bash + run: | + python -m pip install -U pip setuptools wheel - name: Install shell: bash run: | From 0ea20f9c66ce854833ea08474bfcc81bf69f826f Mon Sep 17 00:00:00 2001 From: "Donal K. Fellows" Date: Wed, 5 Mar 2025 15:06:41 +0000 Subject: [PATCH 2/2] Also stop later calls to pip from checking its version --- setup-poetry/action.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/setup-poetry/action.yml b/setup-poetry/action.yml index e6ebe54..c34bc9c 100644 --- a/setup-poetry/action.yml +++ b/setup-poetry/action.yml @@ -20,6 +20,7 @@ runs: shell: bash run: | python -m pip install -U pip setuptools wheel + echo PIP_DISABLE_PIP_VERSION_CHECK=1 >> $GITHUB_ENV - name: Install shell: bash run: |