From d2da7958145ad4efdfcca9c4e2fc481239477323 Mon Sep 17 00:00:00 2001 From: Colin Campbell Date: Mon, 16 Jan 2023 09:16:02 +0100 Subject: [PATCH] html5-webcam: chore: fix broken node-gyp build on Python 3.11 https://github.com/nodejs/node-gyp/issues/2219 --- appveyor.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/appveyor.yml b/appveyor.yml index 652a6b441..005ecfa6d 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -28,10 +28,14 @@ environment: appveyor_build_worker_image: Visual Studio 2019 nodejs_version: "14" ARCH: x64 + # https://github.com/nodejs/node-gyp/issues/2219 + PYTHON: "C:\Python39-x64" - job_name: Windows build (x86) appveyor_build_worker_image: Visual Studio 2019 nodejs_version: "14" ARCH: x86 + # https://github.com/nodejs/node-gyp/issues/2219 + PYTHON: "C:\Python39" global: GITHUB_TOKEN: secure: G9Qlv8MYhgvYlUxWWUiDdfIUTrKcia16HAdzkVydWqC+wo60XrC8nk1Q2R9WKGXx @@ -410,6 +414,8 @@ for: fast_finish: true init: + # Since we are not using the defaut python installation here. + - set PATH=%PYTHON%;%PYTHON%\Scripts;%PATH% - git --version - git config --global core.autocrlf false - git config --global user.name "AppVeyor"