From 9db85edbabe7ac003c6378bf2ba6089bd93938a5 Mon Sep 17 00:00:00 2001 From: cclauss Date: Thu, 11 Jul 2019 07:44:33 +0200 Subject: [PATCH] lib: raise the minimum Python version from 2.6 to 2.7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As discussed in #1811 PR-URL: https://github.com/nodejs/node-gyp/pull/1818 Reviewed-By: Richard Lau Reviewed-By: João Reis --- lib/find-python.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/find-python.js b/lib/find-python.js index 1a4390dbd2..30bb25fd36 100644 --- a/lib/find-python.js +++ b/lib/find-python.js @@ -19,7 +19,7 @@ PythonFinder.prototype = { argsExecutable: [ '-c', 'import sys; print(sys.executable);' ], argsVersion: [ '-c', 'import sys; print("%s.%s.%s" % sys.version_info[:3]);' ], semverRange: process.env.EXPERIMENTAL_NODE_GYP_PYTHON3 ? '2.7.x || >=3.5.0' - : '>=2.6.0 <3.0.0', + : '>=2.7.0 <3.0.0', // These can be overridden for testing: execFile: cp.execFile,