From 681f349bc7bc802c026d9c535ce6e7571768e122 Mon Sep 17 00:00:00 2001 From: cclauss Date: Thu, 11 Jul 2019 07:44:33 +0200 Subject: [PATCH] build: raise the minimum Python version from 2.6 to 2.7 As discussed in #1811 --- 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,