Commit eb2a653
committed
Support free threaded Python versions like '3.13t'
Python wheels, pyenv, and a number of other tools use 't' in the Python
version number to identify free threaded builds. For example, '3.13t',
'3.14.0a1', '3.14t-dev'.
This PR supports that syntax in `actions/setup-python`, strips the "t",
and adds "-freethreading" to the architecture to select the correct
Python version.
See #7711 parent 0b93645 commit eb2a653
2 files changed
Lines changed: 53 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91038 | 91038 | | |
91039 | 91039 | | |
91040 | 91040 | | |
91041 | | - | |
91042 | | - | |
| 91041 | + | |
| 91042 | + | |
| 91043 | + | |
91043 | 91044 | | |
| 91045 | + | |
| 91046 | + | |
| 91047 | + | |
| 91048 | + | |
| 91049 | + | |
91044 | 91050 | | |
91045 | 91051 | | |
91046 | 91052 | | |
| |||
91115 | 91121 | | |
91116 | 91122 | | |
91117 | 91123 | | |
| 91124 | + | |
| 91125 | + | |
| 91126 | + | |
| 91127 | + | |
| 91128 | + | |
| 91129 | + | |
| 91130 | + | |
| 91131 | + | |
| 91132 | + | |
| 91133 | + | |
| 91134 | + | |
| 91135 | + | |
| 91136 | + | |
| 91137 | + | |
| 91138 | + | |
| 91139 | + | |
| 91140 | + | |
91118 | 91141 | | |
91119 | 91142 | | |
91120 | 91143 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
42 | 44 | | |
43 | | - | |
| 45 | + | |
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
47 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
48 | 56 | | |
49 | 57 | | |
50 | 58 | | |
| |||
159 | 167 | | |
160 | 168 | | |
161 | 169 | | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
162 | 188 | | |
163 | 189 | | |
164 | 190 | | |
| |||
0 commit comments