Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,11 @@ else:
python_cmd_path = which(python_cmd)
if python_cmd_path and 'pyenv/shims' not in python_cmd_path:
sys.stderr.write('\t{} {}\n'.format(python_cmd_path, ' '.join(sys.argv[:1])))
if sys.version_info > (3, 10):
sys.stderr.write('Running "configure" with newer versions of Python has not been ' +
'tested and may not work.\n' +
'To bypass this check, run "python ./configure.py" and report whether it ' +
'works via an issue at https://github.com/nodejs/node\n')
else:
sys.stderr.write('"configure" will not work with a pre-3.6 version of Python.\n')
sys.exit(1)