build: update prerequisites on progress towards Python 3 · nodejs/node@bb564a3 (original) (raw)

Original file line number Diff line number Diff line change
@@ -164,7 +164,9 @@ explains how to install all prerequisites.
164 164
165 165 * `gcc` and `g++` 4.9.4 or newer, or
166 166 * `clang` and `clang++` 3.4.2 or newer (macOS: latest Xcode Command Line Tools)
167 -* Python 2.6 or 2.7
167 +* Python 2.7
168 +* Python 2.7 end of life is in 2019 so a transition to Python 3 is underway.
169 +* Python 3.5, 3.6, and 3.7 are experimental.
168 170 * GNU Make 3.81 or newer
169 171
170 172 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
192 194 may reduce build time. For more information, see the
193 195 [GNU Make Documentation](https://www.gnu.org/software/make/manual/html\_node/Parallel.html).
194 196
195 -Note that the above requires that `python` resolve to Python 2.6 or 2.7
196 -and not a newer version.
197 +Note that the above requires that `python` resolve to Python 2.7 and not a newer
198 +version. See [Prerequisites](#prerequisites).
197 199
198 200 After building, setting up [firewall rules](tools/macos-firewall.sh) can avoid
199 201 popups asking to accept incoming network connections when running tests.
@@ -400,7 +402,7 @@ $ backtrace
400 402
401 403 Prerequisites:
402 404
403 -* [Python 2.6 or 2.7](https://www.python.org/downloads/)
405 +* [Python 2.7](https://www.python.org/downloads/)
404 406 * The "Desktop development with C++" workload from
405 407 [Visual Studio 2017](https://www.visualstudio.com/downloads/) or the
406 408 "Visual C++ build tools" workload from the