Commit fd9f23f
authored
[RELEASE ONLY CHANGES] Fix Python 3.14 wheel dependency setup (#21584)
Release-only change. Do not merge to main.
Python 3.14 macOS and Windows wheel builds fail during dependency setup
because the pinned torchtune revision requires `pyarrow<21`. PyArrow
releases before 21 do not provide Python 3.14 wheels, so pip attempts an
unsupported source build.
Keep the existing example dependency installation because wheel smoke
tests export MobileNetV3 through torchvision. Skip only torchtune on
Python 3.14; it is not used by wheel construction or the wheel smoke
tests. Python 3.10-3.13 and the normal Llama setup continue to install
torchtune.
Also add `requirements-examples.txt` to the wheel workflow path filters
because the pre-build script consumes it.
Failed post-merge jobs:
- macOS:
https://github.com/pytorch/executorch/actions/runs/30957868484/job/92155043950
- Windows:
https://github.com/pytorch/executorch/actions/runs/30957868415/job/92155038157
Test plan:
- `bash -n .ci/scripts/wheel/pre_build_script.sh
install_requirements.sh`
- Parsed all four modified workflow YAML files
- Verified the torchtune environment marker selects Python 3.10-3.13 and
excludes Python 3.14
- `git diff --check`
- Full Python 3.10-3.14 Linux, AArch64, macOS, and Windows wheel
matrices delegated to CI.
Authored with Codex.1 parent c0288c1 commit fd9f23f
5 files changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
0 commit comments