Skip to content

Commit 1bd6537

Browse files
lpincaUlisesGascon
authored andcommitted
doc: recommend supported Python versions
Refs: #50209 (comment) PR-URL: #50407 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 402e257 commit 1bd6537

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 >= 11 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
@@ -582,7 +582,8 @@ to run it again before invoking `make -j4`.
582582

583583
##### Option 1: Manual install
584584

585-
* [Python 3.11](https://apps.microsoft.com/store/detail/python-311/9NRWMJP3717K)
585+
* The current [version of Python][Python versions] from the
586+
[Microsoft Store](https://apps.microsoft.com/store/search?publisher=Python+Software+Foundation)
586587
* The "Desktop development with C++" workload from
587588
[Visual Studio 2022](https://visualstudio.microsoft.com/downloads/) or
588589
the "C++ build tools" workload from the
@@ -893,3 +894,5 @@ incompatible with the official Node.js builds (e.g. using a ABI incompatible
893894
version of a dependency), please reserve and use a custom `NODE_MODULE_VERSION`
894895
by opening a pull request against the registry available at
895896
<https://github.com/nodejs/node/blob/HEAD/doc/abi_version_registry.json>.
897+
898+
[Python versions]: https://devguide.python.org/versions/

0 commit comments

Comments
 (0)