From 7b88d207ace0ba111773590579aaea1fcd68bfa1 Mon Sep 17 00:00:00 2001 From: Matthew Richards Date: Tue, 1 Oct 2024 10:32:03 +0000 Subject: [PATCH] Run downgrade command inside poetry --- .github/workflows/ci-build.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index 001b8244..f6a43a5c 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -142,13 +142,13 @@ jobs: run: cp datagateway_api/search_api_mapping.json.example datagateway_api/search_api_mapping.json - - name: tmate session - uses: mxschmitt/action-tmate@v3 + #- name: tmate session + # uses: mxschmitt/action-tmate@v3 # See comment in noxfile.py for explanation regarding this step - #- name: Downgrade setuptools - # run: pip install --upgrade setuptools==70.0.0 - # if: matrix.python-version == '3.8' || matrix.python-version == '3.9' || matrix.python-version == '3.10' + - name: Downgrade setuptools + run: poetry run pip install --upgrade setuptools==70.0.0 + if: matrix.python-version == '3.8' || matrix.python-version == '3.9' || matrix.python-version == '3.10' - name: Install dependencies run: poetry install @@ -298,7 +298,7 @@ jobs: # See comment in noxfile.py for explanation regarding this step - name: Downgrade setuptools - run: pip install --upgrade setuptools==70.0.0 + run: poetry run pip install --upgrade setuptools==70.0.0 - name: Install dependencies run: poetry install @@ -357,7 +357,7 @@ jobs: # See comment in noxfile.py for explanation regarding this step - name: Downgrade setuptools - run: pip install --upgrade setuptools==70.0.0 + run: poetry run pip install --upgrade setuptools==70.0.0 - name: Install dependencies run: poetry install