Skip to content

Commit ea08a83

Browse files
committed
fixup: reject outdated versions 3.0-3.4
1 parent bd531aa commit ea08a83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/find-python.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ PythonFinder.prototype = {
1818
log: logWithPrefix(log, 'find Python'),
1919
argsExecutable: [ '-c', 'import sys; print(sys.executable);' ],
2020
argsVersion: [ '-c', 'import sys; print("%s.%s.%s" % sys.version_info[:3]);' ],
21-
semverRange: process.env.EXPERIMENTAL_NODE_GYP_PYTHON3 ? '>=2.7.0' :
21+
semverRange: process.env.EXPERIMENTAL_NODE_GYP_PYTHON3 ? '2.7.x || >=3.5.0' :
2222
'>=2.6.0 <3.0.0',
2323

2424
// These can be overridden for testing:

0 commit comments

Comments
 (0)