diff options
author | cclauss <cclauss@me.com> | 2019-01-28 15:15:31 +0100 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2019-01-31 00:13:58 +0100 |
commit | bb564a36882102ba8cd46878db7ea886334cac20 (patch) | |
tree | 65f1cebf95c64383496658d87d48b8a0c01444e8 /BUILDING.md | |
parent | 756b0acce0be643a11872be1b5e36b98e739113b (diff) | |
download | node-new-bb564a36882102ba8cd46878db7ea886334cac20.tar.gz |
build: update prerequisites on progress towards Python 3
As recommended at https://github.com/nodejs/node/pull/25759#issuecomment-458139766
* Python 2.6 end of life statement in 2013: https://www.python.org/dev/peps/pep-0361/#release-lifespan
* Python 2.7 end of life statement in 2019: https://www.python.org/dev/peps/pep-0373/#update
* Python 3.4 reaches it end of life in < 50 days so it should not be a target: https://devguide.python.org/#branchstatus
PR-URL: https://github.com/nodejs/node/pull/25766
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to 'BUILDING.md')
-rw-r--r-- | BUILDING.md | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/BUILDING.md b/BUILDING.md index fbd435172a..7f5605e9f4 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -164,7 +164,9 @@ explains how to install all prerequisites. * `gcc` and `g++` 4.9.4 or newer, or * `clang` and `clang++` 3.4.2 or newer (macOS: latest Xcode Command Line Tools) -* Python 2.6 or 2.7 +* Python 2.7 + * Python 2.7 end of life is in 2019 so a transition to Python 3 is underway. + * Python 3.5, 3.6, and 3.7 are experimental. * GNU Make 3.81 or newer On macOS, install the `Xcode Command Line Tools` by running @@ -192,8 +194,8 @@ The `-j4` option will cause `make` to run 4 simultaneous compilation jobs which may reduce build time. For more information, see the [GNU Make Documentation](https://www.gnu.org/software/make/manual/html_node/Parallel.html). -Note that the above requires that `python` resolve to Python 2.6 or 2.7 -and not a newer version. +Note that the above requires that `python` resolve to Python 2.7 and not a newer +version. See [Prerequisites](#prerequisites). After building, setting up [firewall rules](tools/macos-firewall.sh) can avoid popups asking to accept incoming network connections when running tests. @@ -400,7 +402,7 @@ $ backtrace Prerequisites: -* [Python 2.6 or 2.7](https://www.python.org/downloads/) +* [Python 2.7](https://www.python.org/downloads/) * The "Desktop development with C++" workload from [Visual Studio 2017](https://www.visualstudio.com/downloads/) or the "Visual C++ build tools" workload from the |