From ac2cfa2dfd5fd894e170e222401e8db59ae961de Mon Sep 17 00:00:00 2001 From: Matt Gibson Date: Wed, 26 Jun 2024 10:46:41 -0400 Subject: [PATCH] Add setuptools to mac pipeline (#9834) * Add setuptools to mac pipeline Mac runners have progressed above python 3.12, which removed `distutils`. We need to ensure it's installed for node-gyp compilations by installing the setuptools package. * Add missed mac build --- .github/workflows/build-desktop.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/build-desktop.yml b/.github/workflows/build-desktop.yml index bebf7b5646..71ddd8584c 100644 --- a/.github/workflows/build-desktop.yml +++ b/.github/workflows/build-desktop.yml @@ -464,6 +464,9 @@ jobs: cache-dependency-path: '**/package-lock.json' node-version: ${{ env._NODE_VERSION }} + - name: Set up Node-gyp + run: python3 -m pip install setuptools + - name: Rust shell: pwsh run: rustup target install aarch64-apple-darwin @@ -625,6 +628,9 @@ jobs: cache-dependency-path: '**/package-lock.json' node-version: ${{ env._NODE_VERSION }} + - name: Set up Node-gyp + run: python3 -m pip install setuptools + - name: Rust shell: pwsh run: rustup target install aarch64-apple-darwin @@ -831,6 +837,9 @@ jobs: cache-dependency-path: '**/package-lock.json' node-version: ${{ env._NODE_VERSION }} + - name: Set up Node-gyp + run: python3 -m pip install setuptools + - name: Rust shell: pwsh run: rustup target install aarch64-apple-darwin @@ -1028,6 +1037,9 @@ jobs: cache-dependency-path: '**/package-lock.json' node-version: ${{ env._NODE_VERSION }} + - name: Set up Node-gyp + run: python3 -m pip install setuptools + - name: Print environment run: | node --version