Update GitHub Actions to latest versions and Python 3.11 to 3.13#357
Update GitHub Actions to latest versions and Python 3.11 to 3.13#357
Conversation
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
There was a problem hiding this comment.
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.
| runs-on: ubuntu-slim | ||
| timeout-minutes: 10 | ||
|
|
||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/checkout@v4 | ||
| uses: actions/checkout@v6 |
There was a problem hiding this comment.
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.
| CONDA_ENV=${CONDA_ENV:-"tritonparse"} | ||
| PYTHON_VERSION=${PYTHON_VERSION:-"3.11"} | ||
| PYTHON_VERSION=${PYTHON_VERSION:-"3.13"} | ||
| CUDA_VERSION=${CUDA_VERSION:-"12.8"} |
There was a problem hiding this comment.
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.
|
This pull request has been merged in 12f7e07. |
Summary:
Affected files:
Differential Revision: D96172761