Skip to content

[BE] [CI] Move remaining Python 3.10 uses - #202069

Closed
malfet wants to merge 1 commit into
gh/malfet/1104/basefrom
gh/malfet/1104/head
Closed

malfet wants to merge 1 commit into
gh/malfet/1104/basefrom
gh/malfet/1104/head

Conversation

@malfet

@malfet malfet commented Oct 26, 2026 •

Copy link
Copy Markdown
Collaborator

Stack from ghstack (oldest at bottom):

That blocks pilow bumpt to 13.0.0
The binary build matrix already starts at 3.11, so 3.10 is also dropped from the manywheel CPython installs (default and s390x), and the aarch64 manywheel image's python3 symlink for the NCCL build is pointed at cp311. Dead python_version == "3.10" markers in requirements-ci.txt and 3.10 entries in the wheel numpy/Python pin tables and the Windows smoke test are removed.

Outside docker, Windows CI was still building and testing on 3.10 via the setup-win default, which is now 3.11 (as are the Windows binary template fallbacks). The macOS libtorch-extract job, flash-attention wheel builds, operator_benchmark.yml (whose docker images were already 3.11), and the remaining actions/setup-python utility jobs move to 3.11 as well. Note this raises the minimum Python of the FA3 wheels to 3.11. The >= 3.10 check in install_cutlass_operators is left alone since it is that package's own requirement.

This PR was authored with the help of an AI assistant (Claude Code).

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 [email protected]

[ghstack-poisoned]
@malfet
malfet requested a review from a team as a code owner October 26, 2026 15:10
@pytorch-bot pytorch-bot Bot added ciflow/docker release notes: releng release notes category labels Oct 26, 2026
@pytorch-bot

pytorch-bot Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/202069

Note: Links to docs will display an error until the docs builds have been completed.

✅ You can merge normally! (2 Unrelated Failures)

As of commit 48acd40 with merge base 26650ac (image):

🟡 GREEN LIGHT - PR requires human review:

  • Release and publish plumbing
    • Edits binary-wheel templates windows_binary_build_workflow.yml.j2, macos_binary_build_workflow.yml.j2 and upload.yml.j2, plus generated generated-macos-arm64-binary-wheel-nightly.yml
    • Drops 3.10 from manywheel CPython installs in install_cpython.sh and Dockerfile_s390x, and repoints the aarch64 NCCL python3 symlink
  • User-facing expectation
    • FA3 wheel builds move to python_version: "3.11", which the PR body says raises the FA3 wheels' minimum Python
  • Breadth
    • About 30 files across docker images, Windows build/test, lint image, and merge tooling jobs (trymerge.yml, revert.yml, tryrebase.yml)
    • Removes the pytorch-linux-jammy-py3.10-clang21 image and renames the linter image used by lint.yml; a human should confirm the rollout

reason: not_trivial
Reviewed commit: 48acd40

Inference job

🐛 Report a wrong verdict

FLAKY - The following jobs failed but were likely due to flakiness present on trunk:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@github-actions github-actions Bot added bot-triaged This is a label only to be used by the auto triage bot triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module labels Oct 26, 2026
@malfet malfet added ciflow/binaries Trigger all binary build and upload jobs on the PR ciflow/trunk Trigger trunk jobs on your pull request labels Oct 26, 2026
@malfet

malfet commented Oct 26, 2026

Copy link
Copy Markdown
Collaborator Author

@pytorchbot merge -i

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Merge started

Your change will be merged while ignoring the following 2 checks: operator_benchmark / aarch64-opbenchmark-test / test (cpu_operator_benchmark_short, 1, 1, mt-l-arm64g4-16-62), operator_benchmark / x86-opbenchmark-test / test (cpu_operator_benchmark_short, 1, 1, mt-l-x86iavx512-48-384)

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

This branch was previously deployed

1 inactive deployment
bedrock — 48acd40b Deployed Oct 26, 2026 by pytorchbot via analyze #14284
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot-triaged This is a label only to be used by the auto triage bot ciflow/binaries Trigger all binary build and upload jobs on the PR ciflow/docker ciflow/trunk Trigger trunk jobs on your pull request Merged open source release notes: releng release notes category triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants