From 4a0f1061319098081dbaefeb248e2ca3a600856d Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sat, 4 May 2024 16:35:48 +0200 Subject: [PATCH 1/5] AppVeyor: Test on modern versions of Node.js --- appveyor.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 8bf753f..c1496ec 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,13 +1,17 @@ # http://www.appveyor.com/docs/appveyor-yml +image: + - Visual Studio 2022 + # Test against these versions of Node.js. environment: # Test against these versions of Node.js and io.js matrix: # node.js - - nodejs_version: "10" - - nodejs_version: "12" - - nodejs_version: "14" + - nodejs_version: "16" + - nodejs_version: "18" + - nodejs_version: "20" + - nodejs_version: "22" platform: - x86 From 19634f907440753d37d1efee04cee3536ee0f9a4 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sat, 4 May 2024 16:44:11 +0200 Subject: [PATCH 2/5] pythom -m pip install distutils # For node-gyp on Python >= 3.12 --- appveyor.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/appveyor.yml b/appveyor.yml index c1496ec..138c2c2 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -24,6 +24,7 @@ install: - ps: Install-Product node $env:nodejs_version $env:platform - node -p process.arch - node -p process.version + - pythom -m pip install distutils # For node-gyp on Python >= 3.12 - npm install --build-from-source # Post-install test scripts. From 39fc4243af0576a2156493035d1de101bcc46c34 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sat, 4 May 2024 16:44:32 +0200 Subject: [PATCH 3/5] Update appveyor.yml --- appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 138c2c2..97e3246 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -24,7 +24,7 @@ install: - ps: Install-Product node $env:nodejs_version $env:platform - node -p process.arch - node -p process.version - - pythom -m pip install distutils # For node-gyp on Python >= 3.12 + - python -m pip install distutils # For node-gyp on Python >= 3.12 - npm install --build-from-source # Post-install test scripts. From e11e057d0fef87d425038a3e895b4c09898c7ed7 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sat, 4 May 2024 18:09:51 +0200 Subject: [PATCH 4/5] python -m pip install setuptools # For node-gyp on Python >= 3.12 --- appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 97e3246..139dd72 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -24,7 +24,7 @@ install: - ps: Install-Product node $env:nodejs_version $env:platform - node -p process.arch - node -p process.version - - python -m pip install distutils # For node-gyp on Python >= 3.12 + - python -m pip install setuptools # For node-gyp on Python >= 3.12 - npm install --build-from-source # Post-install test scripts. From f143e2338b204299c9d65a8702e6ff832faab22c Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sat, 4 May 2024 19:13:34 +0200 Subject: [PATCH 5/5] Update appveyor.yml --- appveyor.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/appveyor.yml b/appveyor.yml index 139dd72..4847f9d 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -17,6 +17,10 @@ platform: - x86 - x64 +matrix: # Node.js v22 is not yet installed on AppVeyor's Windows image for Visual Studio 2022 + allow_failures: + - nodejs_version: 22 + # Install scripts. (runs after repo cloning) install: - python -V