Skip to content

Update GitHub Actions to latest versions and Python 3.11 to 3.13#357

Closed
FindHao wants to merge 1 commit intomainfrom
export-D96172761
Closed

Update GitHub Actions to latest versions and Python 3.11 to 3.13#357
FindHao wants to merge 1 commit intomainfrom
export-D96172761

Conversation

@FindHao
Copy link
Member

@FindHao FindHao commented Mar 12, 2026

Summary:

  • Update all GitHub Actions to latest major versions to resolve Node.js 20 deprecation warnings:
    • actions/checkout: v4 → v6
    • actions/setup-python: v4/v5 → v6
    • actions/setup-node: v4 → v6
    • actions/cache: v3 → v5
    • actions/configure-pages: v4 → v5
    • actions/upload-pages-artifact: v3 → v4
  • Update Python version from 3.11 to 3.13 across all CI workflows and scripts

Affected files:

  • .github/workflows/nightly-pypi.yml
  • .github/workflows/test.yml
  • .github/workflows/deploy-pages.yml
  • .github/workflows/deploy-pages-standalone.yml
  • .github/workflows/website-build.yml
  • .ci/setup.sh

Differential Revision: D96172761

Summary:
- Update all GitHub Actions to latest major versions to resolve Node.js 20 deprecation warnings:
  - actions/checkout: v4 → v6
  - actions/setup-python: v4/v5 → v6
  - actions/setup-node: v4 → v6
  - actions/cache: v3 → v5
  - actions/configure-pages: v4 → v5
  - actions/upload-pages-artifact: v3 → v4
- Update Python version from 3.11 to 3.13 across all CI workflows and scripts

Affected files:
- .github/workflows/nightly-pypi.yml
- .github/workflows/test.yml
- .github/workflows/deploy-pages.yml
- .github/workflows/deploy-pages-standalone.yml
- .github/workflows/website-build.yml
- .ci/setup.sh

Differential Revision: D96172761
Copilot AI review requested due to automatic review settings March 12, 2026 00:00
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Mar 12, 2026
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the repository’s CI configuration to use newer major versions of core GitHub Actions (to address Node.js runtime deprecation warnings) and moves CI Python from 3.11 to 3.13.

Changes:

  • Bump GitHub Actions dependencies (checkout/setup-python/setup-node/cache/configure-pages/upload-pages-artifact) to newer major versions.
  • Update CI Python version references from 3.11 to 3.13 in workflows and .ci/setup.sh.
  • Update cache keys/environment variables to reflect the new Python version.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
.github/workflows/nightly-pypi.yml Updates checkout/setup-python and bumps Python to 3.13 for nightly publish workflow.
.github/workflows/test.yml Updates checkout/setup-python/cache and bumps Python to 3.13 across test jobs and cache keys.
.github/workflows/deploy-pages.yml Updates checkout/setup-node/configure-pages/upload-pages-artifact for Pages deployment.
.github/workflows/deploy-pages-standalone.yml Same action bumps as deploy-pages for standalone Pages deployment.
.github/workflows/website-build.yml Updates checkout/setup-node for website build test workflow.
.ci/setup.sh Changes default PYTHON_VERSION from 3.11 to 3.13 for CI environment setup.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 18 to +23
runs-on: ubuntu-slim
timeout-minutes: 10

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v6
Copy link

Copilot AI Mar 12, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

runs-on: ubuntu-slim is not a GitHub-hosted runner label (unlike ubuntu-latest/ubuntu-24.04) and will cause the workflow to fail unless your org has a self-hosted runner registered with that exact label. If this is intended, consider documenting it (and/or switching to ubuntu-latest) so CI also works for forks/external PRs.

Copilot uses AI. Check for mistakes.
Comment on lines 10 to 12
CONDA_ENV=${CONDA_ENV:-"tritonparse"}
PYTHON_VERSION=${PYTHON_VERSION:-"3.11"}
PYTHON_VERSION=${PYTHON_VERSION:-"3.13"}
CUDA_VERSION=${CUDA_VERSION:-"12.8"}
Copy link

Copilot AI Mar 12, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The default PYTHON_VERSION was updated to 3.13 here, but .ci/README.md still documents 3.11 as the default and uses 3.11 in the example commands. Please update the CI docs/examples to match the new default so local reproductions follow the same Python version as CI.

Copilot uses AI. Check for mistakes.
@meta-codesync
Copy link

meta-codesync bot commented Mar 12, 2026

This pull request has been merged in 12f7e07.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot. fb-exported Merged meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants