Commit 624f084
committed
Add Python 3.15 and 3.15t to Linux nightly wheel builds
Add 3.15 and 3.15t (free-threaded) to the binary build matrix for Linux
wheels on the nightly channel. 3.15 is brand new and only the Linux
manywheel builders are ready for it, so:
- The versions are added to the "nightly" entry of PYTHON_ARCHES_DICT
only; "test" and "release" stay at 3.10-3.14t until 3.15 is releasable.
- generate_wheels_matrix skips any 3.15* version when the OS is not
linux or linux-aarch64, mirroring the per-OS exclusion previously used
for 3.14 on Windows. macOS, Windows, and Windows arm64 are unaffected.
The conda environment setup in setup-binary-builds installs 3.15/3.15t
from the conda-forge python_dev label (where the 3.15 alphas and the
python-freethreading metapackage are published), since 3.15 is not yet on
the default Anaconda channel. This mirrors how 3.14 was first brought up
via conda-forge/label/python_rc before being switched to the default
channel once it shipped. The pinned alpha (3.15.0a8) should be bumped as
newer pre-releases are published.
The reference matrices under tools/tests/assets were regenerated for the
four Linux wheel configurations; macOS/Windows references are unchanged.
Test Plan:
```
cd tools/tests
python3 -m tools.tests.test_generate_binary_build_matrix
```
All 7 tests pass. Also verified per-OS/per-channel scoping:
```
python3 -c "from tools.scripts.generate_binary_build_matrix import generate_build_matrix; ..."
# linux/linux-aarch64 nightly include 3.15/3.15t; macos/windows do not;
# linux test/release do not.
```
This PR was authored with the assistance of an AI assistant.1 parent b9b7ab8 commit 624f084
6 files changed
Lines changed: 19 additions & 5 deletions
File tree
- .github/actions/setup-binary-builds
- tools
- scripts
- tests/assets
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
136 | 146 | | |
137 | 147 | | |
138 | 148 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
463 | 463 | | |
464 | 464 | | |
465 | 465 | | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
466 | 470 | | |
467 | 471 | | |
468 | 472 | | |
| |||
Large diffs are not rendered by default.
Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
0 commit comments