Skip to content

Commit bb564a3

Browse files
cclaussaddaleax
authored andcommitted
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 <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Ali Ijaz Sheikh <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
1 parent 756b0ac commit bb564a3

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

BUILDING.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,9 @@ explains how to install all prerequisites.
164164

165165
* `gcc` and `g++` 4.9.4 or newer, or
166166
* `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.
168170
* GNU Make 3.81 or newer
169171

170172
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
192194
may reduce build time. For more information, see the
193195
[GNU Make Documentation](https://www.gnu.org/software/make/manual/html_node/Parallel.html).
194196

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).
197199

198200
After building, setting up [firewall rules](tools/macos-firewall.sh) can avoid
199201
popups asking to accept incoming network connections when running tests.
@@ -400,7 +402,7 @@ $ backtrace
400402

401403
Prerequisites:
402404

403-
* [Python 2.6 or 2.7](https://www.python.org/downloads/)
405+
* [Python 2.7](https://www.python.org/downloads/)
404406
* The "Desktop development with C++" workload from
405407
[Visual Studio 2017](https://www.visualstudio.com/downloads/) or the
406408
"Visual C++ build tools" workload from the

0 commit comments

Comments
 (0)