Skip to content

Commit

Permalink
doc: update status of Python 3 support
Browse files Browse the repository at this point in the history
Refs: nodejs/TSC#781 (comment)
Based on the completion of the Python 3 strategic
initiative, update statements around Python 3 support.

PR-URL: #30722
Reviewed-By: Sam Roberts <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Jiawen Geng <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Joyee Cheung <[email protected]>
  • Loading branch information
mhdawson authored and targos committed Dec 9, 2019
1 parent 9bd5c72 commit 145f881
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -227,18 +227,10 @@ Consult previous versions of this document for older versions of Node.js:

### Note about Python 2 and Python 3

The Node.js project uses Python as part of its build process and has
historically only been Python 2 compatible.

Python 2 will reach its _end-of-life_ at the end of 2019 at which point the
interpreter will cease receiving updates. See https://python3statement.org/
for more information.

The Node.js project is in the process of transitioning its Python code to
Python 3 compatibility. Installing both versions of Python while building
and testing Node.js allows developers and end users to test, benchmark,
and debug Node.js running on both versions to ensure a smooth and complete
transition before the year-end deadline.
The Node.js project supports both Python 3 and Python 2 for building.
If both are installed Python 3 will be used. If only Python 2 is available
it will be used instead. When possible we recommend that you build and
test with Python 3.

### Unix and macOS

Expand All @@ -248,7 +240,7 @@ transition before the year-end deadline.
* GNU Make 3.81 or newer
* Python (see note above)
* Python 2.7
* Python 3.5, 3.6, 3.7, and 3.8 are experimental.
* Python 3.5, 3.6, 3.7, and 3.8.

Installation via Linux package manager can be achieved with:

Expand All @@ -264,7 +256,7 @@ FreeBSD and OpenBSD users may also need to install `libexecinfo`.
* Xcode Command Line Tools >= 10 for macOS
* Python (see note above)
* Python 2.7
* Python 3.5, 3.6, 3.7, and 3.8 are experimental.
* Python 3.5, 3.6, 3.7, and 3.8.

macOS users can install the `Xcode Command Line Tools` by running
`xcode-select --install`. Alternatively, if you already have the full Xcode
Expand Down

0 comments on commit 145f881

Please sign in to comment.