★ wanayoo — archive 1999 https://github.com/nodejs/node/commit/bb564a3688Nouvelle recherche | Portail wanayoo
Skip to content
Permalink
Browse files
build: update prerequisites on progress towards Python 3
As recommended at #25759 (comment)
* 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: #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>
  • Loading branch information
cclauss authored and addaleax committed Jan 30, 2019
1 parent 756b0ac commit bb564a36882102ba8cd46878db7ea886334cac20
Showing with 6 additions and 4 deletions.
  1. +6 −4 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

0 comments on commit bb564a3

Please sign in to comment.