Skip to content

Commit

Permalink
lib: raise the minimum Python version from 2.6 to 2.7
Browse files Browse the repository at this point in the history
As discussed in #1811

PR-URL: #1818
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: João Reis <reis@janeasystems.com>
  • Loading branch information
cclauss authored and rvagg committed Jul 15, 2019
1 parent 66ad305 commit 9db85ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/find-python.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 9db85ed

Please sign in to comment.