From 814a808d354c331e7688361cfd60e66d521dd105 Mon Sep 17 00:00:00 2001 From: Tim Perry Date: Tue, 28 Nov 2023 15:06:13 +0100 Subject: [PATCH] WIP: Downgrade Python instead --- .github/workflows/ci.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 97bdc6f..4024fd1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,9 +22,11 @@ jobs: check-latest: true cache: 'npm' - # See https://github.com/nodejs/node-gyp/issues/2869 - # Required due to Python 3.12 in latest GH runner - - run: python3 -m pip install packaging + # Due to https://github.com/nodejs/node-gyp/issues/2869, node-gyp fails + # in latest GH runners, due to Python 3.12 incompatibility: + - uses: actions/setup-python@v4 + with: + python-version: '3.11' - run: npm ci