Skip to content

Commit ead38ea

Browse files
committed
lib: restore python 2.6 compatibilty
Dropped accidentally in backport @ #1910 The change to >=2.7 was declared semver-major in #1813
1 parent a06be9c commit ead38ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/find-python.js

Lines changed: 1 addition & 1 deletion
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: '2.7.x || >=3.5.0',
21+
semverRange: '>=2.6.x || >=3.5.0',
2222

2323
// These can be overridden for testing:
2424
execFile: cp.execFile,

0 commit comments

Comments
 (0)