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 17, 2019
1 parent 64bb407 commit c6e3b65
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 c6e3b65

Please sign in to comment.