Commit ca1b53e
fbcode_builder: drop Python 2 references from getdeps.py comments
Summary:
We dropped Python 2 support a long time ago. Two comment blocks in the
GHA workflow generator still talk about Python 2:
- The "python may be version 2 or version 3 depending on the system"
block predates dropping Py2 support and the warning about `python3
may not be a thing` is no longer relevant on any supported runner.
- The Windows comment claims `python2.exe is available if needed`,
which is false and misleading — the GHA Windows runners ship Python
3 only and expose it as `python`.
Replace both with comments that describe what the code actually does
today: pick a per-OS interpreter name (`python3` on Linux/macOS,
`python` on Windows) for the generated workflows. The behavior is
unchanged.
Reviewed By: sahilsd
Differential Revision: D101585861
fbshipit-source-id: db7c9aae842efdf920c84b297f2f6148cc0e11971 parent 22354b3 commit ca1b53e
1 file changed
Lines changed: 5 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1112 | 1112 | | |
1113 | 1113 | | |
1114 | 1114 | | |
1115 | | - | |
1116 | | - | |
1117 | | - | |
1118 | | - | |
1119 | | - | |
| 1115 | + | |
| 1116 | + | |
| 1117 | + | |
1120 | 1118 | | |
1121 | 1119 | | |
1122 | 1120 | | |
| |||
1133 | 1131 | | |
1134 | 1132 | | |
1135 | 1133 | | |
1136 | | - | |
1137 | | - | |
| 1134 | + | |
| 1135 | + | |
1138 | 1136 | | |
1139 | 1137 | | |
1140 | 1138 | | |
| |||
0 commit comments