| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 5a0efa0 commit cc2c764
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -237,7 +237,7 @@ The Node.js project supports Python >= 3 for building and testing. | |||
| 237 | 237 | ||
| 238 | 238 | * `gcc` and `g++` >= 8.3 or newer | |
| 239 | 239 | * GNU Make 3.81 or newer | |
| 240 | - * Python 3.6, 3.7, 3.8, 3.9, or 3.10 (see note above) | ||
| 240 | + * Python >=3.6 <=3.11 (see note above) | ||
| 241 | 241 | * For test coverage, your Python installation must include pip. | |
| 242 | 242 | ||
| 243 | 243 | Installation via Linux package manager can be achieved with: | |
@@ -253,7 +253,7 @@ FreeBSD and OpenBSD users may also need to install `libexecinfo`. | |||
| 253 | 253 | #### macOS prerequisites | |
| 254 | 254 | ||
| 255 | 255 | * Xcode Command Line Tools >= 11 for macOS | |
| 256 | - * Python 3.6, 3.7, 3.8, 3.9, or 3.10 (see note above) | ||
| 256 | + * Python >=3.6 <=3.11 (see note above) | ||
| 257 | 257 | * For test coverage, your Python installation must include pip. | |
| 258 | 258 | ||
| 259 | 259 | macOS users can install the `Xcode Command Line Tools` by running | |
@@ -577,7 +577,7 @@ to run it again before invoking `make -j4`. | |||
| 577 | 577 | ||
| 578 | 578 | ##### Option 1: Manual install | |
| 579 | 579 | ||
| 580 | - * [Python 3.10](https://www.microsoft.com/en-us/p/python-310/9pjpw5ldxlz5) | ||
| 580 | + * [Python 3.11](https://apps.microsoft.com/store/detail/python-311/9NRWMJP3717K) | ||
| 581 | 581 | * The "Desktop development with C++" workload from | |
| 582 | 582 | [Visual Studio 2019](https://visualstudio.microsoft.com/vs/older-downloads/#visual-studio-2019-and-other-products) or | |
| 583 | 583 | the "C++ build tools" workload from the | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -4,6 +4,7 @@ | |||
| 4 | 4 | # Note that the mix of single and double quotes is intentional, | |
| 5 | 5 | # as is the fact that the ] goes on a new line. | |
| 6 | 6 | _=[ 'exec' '/bin/sh' '-c' ''' | |
| 7 | + command -v python3.11 >/dev/null && exec python3.11 "$0" "$@" | ||
| 7 | 8 | command -v python3.10 >/dev/null && exec python3.10 "$0" "$@" | |
| 8 | 9 | command -v python3.9 >/dev/null && exec python3.9 "$0" "$@" | |
| 9 | 10 | command -v python3.8 >/dev/null && exec python3.8 "$0" "$@" | |
@@ -22,7 +23,7 @@ except ImportError: | |||
| 22 | 23 | from distutils.spawn import find_executable as which | |
| 23 | 24 | ||
| 24 | 25 | print('Node.js configure: Found Python {}.{}.{}...'.format(*sys.version_info)) | |
| 25 | - acceptable_pythons = ((3, 10), (3, 9), (3, 8), (3, 7), (3, 6)) | ||
| 26 | + acceptable_pythons = ((3, 11), (3, 10), (3, 9), (3, 8), (3, 7), (3, 6)) | ||
| 26 | 27 | if sys.version_info[:2] in acceptable_pythons: | |
| 27 | 28 | import configure | |
| 28 | 29 | else: | |
| Back | FazBrowse Home | New Git URL |
0 commit comments