From c20cc841da9c05d67bcb28d58d8a5e16f6e2771f Mon Sep 17 00:00:00 2001 From: Cornelius Roemer Date: Sat, 24 Aug 2024 18:10:29 +0200 Subject: [PATCH] dev(ci): add `--break-system-packages` to `pip install` Partially resolves #8025 --- .github/workflows/nodejs.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index d42e2995aba9..7ee2cde30be5 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -9,7 +9,7 @@ defaults: run: shell: bash env: - NODE_VERSION: 18.x + NODE_VERSION: 20.x jobs: build: runs-on: ${{matrix.os}} @@ -28,7 +28,7 @@ jobs: with: node-version: ${{ env.NODE_VERSION }} - name: Fix node-gyp and Python - run: python3 -m pip install packaging setuptools + run: pip install --break-system-packages packaging setuptools - name: Get yarn cache directory path id: yarn-cache-dir-path run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT