Skip to content

Commit c7f348f

Browse files
authored
utils: Python 3 is required, avoid using old Python (#61525)
On both macOS and Linux `python` is not symlinked to `python3` by default. To avoid confusion, we should update our documentation that instructs users to run scripts with `python` to use `python3` instead.
1 parent 1cb0764 commit c7f348f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

utils/build_swift/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ the Swift build-script.
88
You may run the unit test suite using the command:
99

1010
```sh
11-
$ python utils/build_swift/run_tests.py
11+
$ python3 utils/build_swift/run_tests.py
1212
```

utils/pygments/README.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Copy the `swift.py` file to this directory.
3030

3131
Execute the Pygments config script:
3232

33-
$ python _mapping.py
33+
$ python3 _mapping.py
3434

3535
Usage
3636
=====

utils/swift_build_support/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ structures used by the Swift build script.
66
You may run unit tests for `swift_build_support` from the command line:
77

88
```sh
9-
$ python utils/swift_build_support/run_tests.py
9+
$ python3 utils/swift_build_support/run_tests.py
1010
```

0 commit comments

Comments
 (0)