Skip to content

Run the quick start workflow on Python 3.12 - #2153

Closed
ethanwee1 wants to merge 1 commit into
pytorch:sitefrom
ethanwee1:ethanwee1-quick-start-python-312
Closed

ethanwee1 wants to merge 1 commit into
pytorch:sitefrom
ethanwee1:ethanwee1-quick-start-python-312

Conversation

@ethanwee1

Copy link
Copy Markdown

Warning

This repository is NOT the source of truth for the PyTorch website.
Only a very small number of files here are still actively used. Please do not submit website changes to this repo.

See the README for details, or contact the PyTorch Foundation team at ops@pytorch.org.


If your change is to one of the few files still served from this repo, please describe it below:

Description

Run both jobs of update-quick-start-module.yml on Python 3.12 instead of 3.9.

Motivation

Problem

Both jobs have failed daily since Nov 12 (latest run). ubuntu-latest is now Ubuntu 26.04, and setup-python has no Python 3.9 build for it ("Version 3.9 with arch x64 not found"); 3.9 is end of life. Since the README says the website now reads the test-infra JSON, this only matters until the repo is archived.

Changes

python-version: 3.9 becomes "3.12" in the update-quick-start and update-additional-platform jobs. Nothing else changes.

Validation

  • setup-python's version manifest lists 3.10 through 3.15 for Ubuntu 26.04 x64.
  • In python:3.11-slim and python:3.12-slim, I generated the six matrices with test-infra main using this workflow's inputs, then ran gen_quick_start_module.py --autogenerate. The 3.11 and 3.12 output is byte-identical.
  • gen_additional_platforms.py runs cleanly on 3.12 with markdown and pygments.
  • The PR touches the workflow file, so this PR's own run of it covers the setup step.

Python 3.9 is end of life and setup-python has no build for the
Ubuntu 26.04 runners, so both jobs have failed daily since Nov 12.
@netlify

netlify Bot commented Nov 16, 2026

Copy link
Copy Markdown

👷 Deploy request for frosty-bhabha-29c509 pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit b8e7570

@netlify

netlify Bot commented Nov 16, 2026

Copy link
Copy Markdown

👷 Deploy request for pytorch-dot-org-preview pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit b8e7570

@ethanwee1 ethanwee1 closed this Nov 16, 2026
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