Skip to content

Require Python 3.15 in trim builds - #16

Merged
cyyever merged 1 commit into
trimfrom
build/python315
Oct 31, 2026
Merged

cyyever merged 1 commit into
trimfrom
build/python315

Conversation

@cyyever

@cyyever cyyever commented Oct 31, 2026

Copy link
Copy Markdown
Collaborator

Linked issue or supporting maintainer

Requested by @cyyever for the private BakeLab/pytorch:trim build policy.

BC-breaking?

Yes. Python 3.14 and older are no longer supported by this fork. Use Python 3.15 to build or install the resulting wheels; previously published wheels retain their original metadata.

Summary (human written only)

提高triton pytorch,vllm的python最低版本到3.15

Agent details (AI-generated)

Raise Requires-Python and the CMake interpreter check to 3.15. Update release matrices, the CUDA source CI interpreter, installation guidance and the local fork guidance together.

Generated workflows were regenerated with the repository generator. Their large deletion-only portion removes stale matrix entries and the Linux aarch64 workflow that the current reduced generator no longer emits. The release matrix remains CUDA, ROCm, XPU and macOS arm64, without adding free-threaded, Windows or Linux CPU-only releases. Publishing remains disabled.

Validation:

  • .venv/bin/python .github/scripts/generate_ci_workflows.py: regenerated the workflows.
  • .venv/bin/python .github/scripts/get_ci_variable.py --min-python-version: prints 3.15.
  • spin lint -a -- --take=PYFMT,WORKFLOWSYNC,ACTIONLINT <changed paths>: passed. This invokes lintrunner in apply-patches mode and regenerates required type stubs before checking the actual files.
  • The actual pyproject.toml requirement was checked with packaging: rejects 3.14.9 and accepts 3.15.1.
  • git diff --check: passed.
  • Full native Python 3.15 builds and GPU execution remain unverified. The PR does not claim backend compatibility based on metadata or configuration checks.

AI assistance: Codex. Human line-by-line review is not asserted. The directly requested private-fork baseline change is immediate rather than a staged upstream API deprecation.

Align package metadata, the source-build interpreter check and the reduced
release matrix. Regenerate release workflows and update the fork's build
guidance so unsupported Python jobs are not emitted.

Test Plan:
```text
.venv/bin/python .github/scripts/generate_ci_workflows.py
.venv/bin/python .github/scripts/get_ci_variable.py --min-python-version
spin lint -a -- --take=PYFMT,WORKFLOWSYNC,ACTIONLINT <changed paths>
git diff --check
```

Full Python 3.15 native and GPU builds remain unverified.
AI assistance: Codex.

Signed-off-by: cyy <[email protected]>
@cyyever
cyyever marked this pull request as ready for review October 31, 2026 02:42
@cyyever
cyyever merged commit 6830ce1 into trim Oct 31, 2026
17 checks passed
cyyever added a commit that referenced this pull request Oct 31, 2026
Align package metadata, the source-build interpreter check and the reduced
release matrix. Regenerate release workflows and update the fork's build
guidance so unsupported Python jobs are not emitted.

Test Plan:
```text
.venv/bin/python .github/scripts/generate_ci_workflows.py
.venv/bin/python .github/scripts/get_ci_variable.py --min-python-version
spin lint -a -- --take=PYFMT,WORKFLOWSYNC,ACTIONLINT <changed paths>
git diff --check
```

Full Python 3.15 native and GPU builds remain unverified.
AI assistance: Codex.

Signed-off-by: cyy <[email protected]>
cyyever added a commit that referenced this pull request Oct 31, 2026
Align package metadata, the source-build interpreter check and the reduced
release matrix. Regenerate release workflows and update the fork's build
guidance so unsupported Python jobs are not emitted.

Test Plan:
```text
.venv/bin/python .github/scripts/generate_ci_workflows.py
.venv/bin/python .github/scripts/get_ci_variable.py --min-python-version
spin lint -a -- --take=PYFMT,WORKFLOWSYNC,ACTIONLINT <changed paths>
git diff --check
```

Full Python 3.15 native and GPU builds remain unverified.
AI assistance: Codex.

Signed-off-by: cyy <[email protected]>
cyyever added a commit that referenced this pull request Oct 31, 2026
Align package metadata, the source-build interpreter check and the reduced
release matrix. Regenerate release workflows and update the fork's build
guidance so unsupported Python jobs are not emitted.

Test Plan:
```text
.venv/bin/python .github/scripts/generate_ci_workflows.py
.venv/bin/python .github/scripts/get_ci_variable.py --min-python-version
spin lint -a -- --take=PYFMT,WORKFLOWSYNC,ACTIONLINT <changed paths>
git diff --check
```

Full Python 3.15 native and GPU builds remain unverified.
AI assistance: Codex.

Signed-off-by: cyy <[email protected]>
cyyever added a commit that referenced this pull request Oct 31, 2026
Align package metadata, the source-build interpreter check and the reduced
release matrix. Regenerate release workflows and update the fork's build
guidance so unsupported Python jobs are not emitted.

Test Plan:
```text
.venv/bin/python .github/scripts/generate_ci_workflows.py
.venv/bin/python .github/scripts/get_ci_variable.py --min-python-version
spin lint -a -- --take=PYFMT,WORKFLOWSYNC,ACTIONLINT <changed paths>
git diff --check
```

Full Python 3.15 native and GPU builds remain unverified.
AI assistance: Codex.

Signed-off-by: cyy <[email protected]>
@cyyever
cyyever deleted the build/python315 branch November 2, 2026 01:00
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.

1 participant