This repository was archived by the owner on Mar 25, 2025. It is now read-only.
Commit ffbe519
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 actions#7711 parent 4237552 commit ffbe519
2 files changed
Lines changed: 53 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99546 | 99546 | | |
99547 | 99547 | | |
99548 | 99548 | | |
99549 | | - | |
99550 | | - | |
| 99549 | + | |
| 99550 | + | |
| 99551 | + | |
99551 | 99552 | | |
| 99553 | + | |
| 99554 | + | |
| 99555 | + | |
| 99556 | + | |
| 99557 | + | |
99552 | 99558 | | |
99553 | 99559 | | |
99554 | 99560 | | |
| |||
99623 | 99629 | | |
99624 | 99630 | | |
99625 | 99631 | | |
| 99632 | + | |
| 99633 | + | |
| 99634 | + | |
| 99635 | + | |
| 99636 | + | |
| 99637 | + | |
| 99638 | + | |
| 99639 | + | |
| 99640 | + | |
| 99641 | + | |
| 99642 | + | |
| 99643 | + | |
| 99644 | + | |
| 99645 | + | |
| 99646 | + | |
| 99647 | + | |
| 99648 | + | |
99626 | 99649 | | |
99627 | 99650 | | |
99628 | 99651 | | |
| |||
| 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