Skip to content

Commit 1533d30

Browse files
lpincaanonrig
authored andcommitted
doc: recommend supported Python versions
Refs: nodejs#50209 (comment) PR-URL: nodejs#50407 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 03a2d40 commit 1533d30

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

BUILDING.md

+6-3
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ The Node.js project supports Python >= 3 for building and testing.
230230

231231
* `gcc` and `g++` >= 10.1 or newer
232232
* GNU Make 3.81 or newer
233-
* Python >=3.6 <=3.11 (see note above)
233+
* [A supported version of Python][Python versions]
234234
* For test coverage, your Python installation must include pip.
235235

236236
Installation via Linux package manager can be achieved with:
@@ -246,7 +246,7 @@ FreeBSD and OpenBSD users may also need to install `libexecinfo`.
246246
#### macOS prerequisites
247247

248248
* Xcode Command Line Tools >= 13 for macOS
249-
* Python >=3.6 <=3.11 (see note above)
249+
* [A supported version of Python][Python versions]
250250
* For test coverage, your Python installation must include pip.
251251

252252
macOS users can install the `Xcode Command Line Tools` by running
@@ -576,7 +576,8 @@ to run it again before invoking `make -j4`.
576576

577577
##### Option 1: Manual install
578578

579-
* [Python 3.11](https://apps.microsoft.com/store/detail/python-311/9NRWMJP3717K)
579+
* The current [version of Python][Python versions] from the
580+
[Microsoft Store](https://apps.microsoft.com/store/search?publisher=Python+Software+Foundation)
580581
* The "Desktop development with C++" workload from
581582
[Visual Studio 2022](https://visualstudio.microsoft.com/downloads/) or
582583
the "C++ build tools" workload from the
@@ -887,3 +888,5 @@ incompatible with the official Node.js builds (e.g. using a ABI incompatible
887888
version of a dependency), please reserve and use a custom `NODE_MODULE_VERSION`
888889
by opening a pull request against the registry available at
889890
<https://github.com/nodejs/node/blob/HEAD/doc/abi_version_registry.json>.
891+
892+
[Python versions]: https://devguide.python.org/versions/

0 commit comments

Comments
 (0)