Skip to content

[release 3.8] Support Python 3.15 - #971

Merged
zhanglx13 merged 1 commit into
ROCm:release/internal/3.8.xfrom
ethanwee1:ethanwee1-python315-release38
Oct 5, 2026
Merged

zhanglx13 merged 1 commit into
ROCm:release/internal/3.8.xfrom
ethanwee1:ethanwee1-python315-release38

Conversation

@ethanwee1

@ethanwee1 ethanwee1 commented Sep 21, 2026 •

Copy link
Copy Markdown

Problem

Triton 3.8 builds on Python 3.15, but its wheel metadata rejects installation. Its annotated-default AST construction is also invalid on Python 3.15.

Changes

Dependencies

Validation

Tracked in AIPYTORCH-1241.

New contributor declaration

  • I am not making a trivial change, such as fixing a typo in a comment.
  • I have written a PR description following these rules.
  • I have added tests.
  • I have not added any lit tests.

@ethanwee1

Copy link
Copy Markdown
Author

Dependent pin updates are open for ROCm/pytorch release/2.12 (triton-lang#3676), release/2.13 (triton-lang#3678), and release/2.14 (triton-lang#3677).

@jithunnair-amd

Copy link
Copy Markdown

@zhanglx13 Can you help assess if these failures are legit? We need to bump 3.8 branch to support python3.15.

@ethanwee1

Copy link
Copy Markdown
Author

I confirmed with @zhanglx13 and we do not have to pass CI to merge the PR

@jithunnair-amd

Copy link
Copy Markdown

I don't seem to have merge powers here

@zhanglx13
zhanglx13 merged commit 66b3f9f into ROCm:release/internal/3.8.x Oct 5, 2026
3 of 9 checks passed
jithunnair-amd pushed a commit to ROCm/pytorch that referenced this pull request Oct 5, 2026
## Problem
PyTorch release/2.13 pins Triton metadata that rejects Python 3.15
wheels.

## Changes
- Pin ROCm/triton commit `66b3f9ff575eb8db6adec658bbf0badd9a8d2e25`,
merged through ROCm/triton#971.
- Use its Python 3.15 metadata and AST compatibility fixes.

## Validation
- Confirmed the pinned commit exists on ROCm/triton and is the merge
result of ROCm/triton#971.
- `git diff --check` passed.
- Fresh cp315 proofs passed on
[Linux](https://github.com/ROCm/TheRock/actions/runs/37349913799) and
[Windows](https://github.com/ROCm/TheRock/actions/runs/37349914243).
- Earlier cp315 proofs using the same fix passed on
[Linux](https://github.com/ROCm/TheRock/actions/runs/35757615112/job/106847430092)
and [Windows](https://github.com/ROCm/TheRock/actions/runs/35776564974).

TheRock release enablement: ROCm/TheRock#8394.
Tracked in AIPYTORCH-1241.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants